Klasse WorldGizmo

java.lang.Object
de.luckymcdev.foundryengine.client.gizmo.WorldGizmo

public final class WorldGizmo extends Object
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    static boolean
    isHovered(net.minecraft.world.phys.Vec3 target, net.minecraft.world.phys.Vec3 eye, net.minecraft.world.phys.Vec3 look)
     
    static boolean
    isHovered(net.minecraft.world.phys.Vec3 target, net.minecraft.world.phys.Vec3 eye, net.minecraft.world.phys.Vec3 look, double thresholdDegrees)
     
    static boolean
    isHoveringBox(net.minecraft.world.phys.Vec3 eye, net.minecraft.world.phys.Vec3 look, net.minecraft.world.phys.AABB box, double maxDistance)
     
    static void
    renderArrow(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, Color color, float width)
     
    static void
    renderBox(net.minecraft.world.phys.Vec3 center, double halfExtent, Color color)
     
    static void
    renderFlatTile(net.minecraft.world.phys.Vec3 center, double radius, net.minecraft.core.Direction face, Color color)
     
    static void
    renderLine(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, Color color)
     
    static void
    renderLine(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, Color color, float width)
     
    static void
    renderOutline(net.minecraft.world.phys.AABB bounds, Color color)
     
    static void
    renderOutline(net.minecraft.world.phys.AABB bounds, Color color, float strokeWidth)
     
    static void
    renderText(String text, net.minecraft.world.phys.Vec3 position, Color color, float scale)
     

    Von Klasse geerbte Methoden Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • WorldGizmo

      public WorldGizmo()
  • Methodendetails

    • isHovered

      public static boolean isHovered(net.minecraft.world.phys.Vec3 target, net.minecraft.world.phys.Vec3 eye, net.minecraft.world.phys.Vec3 look)
    • isHovered

      public static boolean isHovered(net.minecraft.world.phys.Vec3 target, net.minecraft.world.phys.Vec3 eye, net.minecraft.world.phys.Vec3 look, double thresholdDegrees)
    • isHoveringBox

      public static boolean isHoveringBox(net.minecraft.world.phys.Vec3 eye, net.minecraft.world.phys.Vec3 look, net.minecraft.world.phys.AABB box, double maxDistance)
    • renderLine

      public static void renderLine(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, Color color)
    • renderLine

      public static void renderLine(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, Color color, float width)
    • renderArrow

      public static void renderArrow(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, Color color, float width)
    • renderBox

      public static void renderBox(net.minecraft.world.phys.Vec3 center, double halfExtent, Color color)
    • renderOutline

      public static void renderOutline(net.minecraft.world.phys.AABB bounds, Color color)
    • renderOutline

      public static void renderOutline(net.minecraft.world.phys.AABB bounds, Color color, float strokeWidth)
    • renderFlatTile

      public static void renderFlatTile(net.minecraft.world.phys.Vec3 center, double radius, net.minecraft.core.Direction face, Color color)
    • renderText

      public static void renderText(String text, net.minecraft.world.phys.Vec3 position, Color color, float scale)