Klasse WorldGizmo
java.lang.Object
de.luckymcdev.foundryengine.client.gizmo.WorldGizmo
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungstatic booleanisHovered(net.minecraft.world.phys.Vec3 target, net.minecraft.world.phys.Vec3 eye, net.minecraft.world.phys.Vec3 look) static booleanisHovered(net.minecraft.world.phys.Vec3 target, net.minecraft.world.phys.Vec3 eye, net.minecraft.world.phys.Vec3 look, double thresholdDegrees) static booleanisHoveringBox(net.minecraft.world.phys.Vec3 eye, net.minecraft.world.phys.Vec3 look, net.minecraft.world.phys.AABB box, double maxDistance) static voidrenderArrow(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, Color color, float width) static voidstatic voidrenderFlatTile(net.minecraft.world.phys.Vec3 center, double radius, net.minecraft.core.Direction face, Color color) static voidrenderLine(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, Color color) static voidrenderLine(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, Color color, float width) static voidrenderOutline(net.minecraft.world.phys.AABB bounds, Color color) static voidrenderOutline(net.minecraft.world.phys.AABB bounds, Color color, float strokeWidth) static voidrenderText(String text, net.minecraft.world.phys.Vec3 position, Color color, float scale)
-
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
-
renderOutline
-
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
-