All Known Implementing Classes:
BlockEntityImpl

public interface BlockEntity
  • Method Summary

    Modifier and Type
    Method
    Description
    static byte
    pack(int sectionX, int sectionZ)
     
    byte
     
    default byte
     
    default byte
     
    @Nullable com.viaversion.nbt.tag.CompoundTag
    tag()
     
    int
     
    withTypeId(int typeId)
     
    short
    y()
     
  • Method Details

    • pack

      static byte pack(int sectionX, int sectionZ)
    • sectionX

      default byte sectionX()
    • sectionZ

      default byte sectionZ()
    • packedXZ

      byte packedXZ()
    • y

      short y()
    • typeId

      int typeId()
    • tag

      @Nullable com.viaversion.nbt.tag.CompoundTag tag()
    • withTypeId

      BlockEntity withTypeId(int typeId)