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

    Fields
    Modifier and Type
    Field
    Description
    static final dev.engine_room.flywheel.api.model.Model
     
    static final dev.engine_room.flywheel.api.model.Model
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    HitboxElement(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 Type
    Method
    Description
    void
    animate(float partialTick)
     
    void
    beginFrame(dev.engine_room.flywheel.api.visual.DynamicVisual.Context context)
     
    void
     
    boolean
     
    showEyeBox(boolean showEyeBox)
     
    void
    update(float partialTick)
     

    Methods inherited from class java.lang.Object

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

    Methods 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

      public HitboxElement showEyeBox(boolean showEyeBox)
    • beginFrame

      public void beginFrame(dev.engine_room.flywheel.api.visual.DynamicVisual.Context context)
      Specified by:
      beginFrame in interface dev.engine_room.flywheel.lib.visual.SimpleDynamicVisual
    • update

      public void update(float partialTick)
      Specified by:
      update in interface dev.engine_room.flywheel.api.visual.Visual
    • delete

      public void delete()
      Specified by:
      delete in interface dev.engine_room.flywheel.api.visual.Visual
    • animate

      public void animate(float partialTick)