Class FallingBlockMeta

java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.other.FallingBlockMeta
All Implemented Interfaces:
ObjectDataProvider

public class FallingBlockMeta extends EntityMeta implements ObjectDataProvider
  • Constructor Details

  • Method Details

    • getSpawnPosition

      public Point getSpawnPosition()
    • setSpawnPosition

      public void setSpawnPosition(Point value)
    • getBlock

      public Block getBlock()
    • setBlock

      public void setBlock(Block block)
      Sets which block to display. This is possible only before spawn packet is sent.
      Parameters:
      block - which block to display.
    • getObjectData

      public int getObjectData()
      Specified by:
      getObjectData in interface ObjectDataProvider
    • requiresVelocityPacketAtSpawn

      public boolean requiresVelocityPacketAtSpawn()
      Specified by:
      requiresVelocityPacketAtSpawn in interface ObjectDataProvider