Class HitboxElement
java.lang.Object
dev.engine_room.vanillin.elements.HitboxElement
- All Implemented Interfaces:
dev.engine_room.flywheel.api.visual.DynamicVisual,dev.engine_room.flywheel.api.visual.Visual,dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
public final class HitboxElement
extends Object
implements dev.engine_room.flywheel.api.visual.Visual, dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.engine_room.flywheel.api.visual.DynamicVisual
dev.engine_room.flywheel.api.visual.DynamicVisual.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final dev.engine_room.flywheel.api.model.Modelstatic final dev.engine_room.flywheel.api.model.Model -
Constructor Summary
ConstructorsConstructorDescriptionHitboxElement(dev.engine_room.flywheel.api.visualization.VisualizationContext context, net.minecraft.world.entity.Entity entity, float partialTick) HitboxElement(dev.engine_room.flywheel.api.visualization.VisualizationContext context, net.minecraft.world.entity.Entity entity, float partialTick, boolean showEyeBox) -
Method Summary
Modifier and TypeMethodDescriptionvoidanimate(float partialTick) voidbeginFrame(dev.engine_room.flywheel.api.visual.DynamicVisual.Context context) voiddelete()booleanshowEyeBox(boolean showEyeBox) voidupdate(float partialTick) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
planFrame
-
Field Details
-
BOX_MODEL
public static final dev.engine_room.flywheel.api.model.Model BOX_MODEL -
LINE_MODEL
public static final dev.engine_room.flywheel.api.model.Model LINE_MODEL
-
-
Constructor Details
-
HitboxElement
public HitboxElement(dev.engine_room.flywheel.api.visualization.VisualizationContext context, net.minecraft.world.entity.Entity entity, float partialTick) -
HitboxElement
public HitboxElement(dev.engine_room.flywheel.api.visualization.VisualizationContext context, net.minecraft.world.entity.Entity entity, float partialTick, boolean showEyeBox)
-
-
Method Details
-
doesShowEyeBox
public boolean doesShowEyeBox() -
showEyeBox
-
beginFrame
public void beginFrame(dev.engine_room.flywheel.api.visual.DynamicVisual.Context context) - Specified by:
beginFramein interfacedev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
-
update
public void update(float partialTick) - Specified by:
updatein interfacedev.engine_room.flywheel.api.visual.Visual
-
delete
public void delete()- Specified by:
deletein interfacedev.engine_room.flywheel.api.visual.Visual
-
animate
public void animate(float partialTick)
-