Class CreeperEntity


public class CreeperEntity extends MonsterEntity
  • Constructor Details

    • CreeperEntity

      public CreeperEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, com.nukkitx.math.vector.Vector3f position, com.nukkitx.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
  • Method Details

    • setSwelling

      public void setSwelling(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.IntEntityMetadata entityMetadata)
    • setIgnited

      public void setIgnited(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)
    • testMobInteraction

      @Nonnull protected InteractiveTag testMobInteraction(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, @Nonnull GeyserItemStack itemInHand)
      Overrides:
      testMobInteraction in class MobEntity
    • mobInteract

      @Nonnull protected InteractionResult mobInteract(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand, @Nonnull GeyserItemStack itemInHand)
      Overrides:
      mobInteract in class MobEntity