Class FireworkEntity

All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity, Tickable

public class FireworkEntity extends ProjectileEntity
  • Constructor Details

  • Method Details

    • setShotAtAngle

      public void setShotAtAngle(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • tick

      public void tick()
      Description copied from class: ProjectileEntity
      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 ProjectileEntity
    • setFireworkItem

      public void setFireworkItem(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<org.geysermc.mcprotocollib.protocol.data.game.item.ItemStack,?> entityMetadata)
    • setPlayerGliding

      public void setPlayerGliding(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.EntityMetadata<OptionalInt,?> entityMetadata)
    • despawnEntity

      public void despawnEntity()
      Description copied from class: Entity
      Despawns the entity
      Overrides:
      despawnEntity in class ProjectileEntity