Class ItemedFireballEntity

All Implemented Interfaces:
Tickable
Direct Known Subclasses:
WitherSkullEntity

public class ItemedFireballEntity extends ThrowableEntity
  • Field Details

    • futureTicks

      protected int futureTicks
      The number of ticks to advance movement before sending to Bedrock
  • Constructor Details

    • ItemedFireballEntity

      public ItemedFireballEntity(long entityId, long geyserId, EntityType entityType, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f motion, com.nukkitx.math.vector.Vector3f rotation)
  • Method Details

    • moveAbsoluteImmediate

      protected void moveAbsoluteImmediate(GeyserSession session, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f rotation, boolean isOnGround, boolean teleported)
      Overrides:
      moveAbsoluteImmediate in class ThrowableEntity
    • tick

      public void tick(GeyserSession session)
      Description copied from class: ThrowableEntity
      Updates the position for the Bedrock client. Java clients assume the next positions of moving items. Bedrock needs to be explicitly told positions
      Specified by:
      tick in interface Tickable
      Overrides:
      tick in class ThrowableEntity