Class FurnaceMinecartEntity

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

public class FurnaceMinecartEntity extends DefaultBlockMinecartEntity
  • Constructor Details

    • FurnaceMinecartEntity

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

    • setHasFuel

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

      public void updateDefaultBlockMetadata()
      Overrides:
      updateDefaultBlockMetadata in class DefaultBlockMinecartEntity
    • interact

      public InteractionResult interact(com.github.steveice10.mc.protocol.data.game.entity.player.Hand hand)
      Description copied from class: Entity
      Simulates interacting with an entity. The code here should mirror Java Edition code to the best of its ability, to ensure packet parity as well as functionality parity (such as sound effect responses).
      Overrides:
      interact in class MinecartEntity