Class BlockEntitySlate

java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
at.petrak.hexcasting.api.block.HexBlockEntity
at.petrak.hexcasting.common.blocks.circles.BlockEntitySlate

public class BlockEntitySlate extends HexBlockEntity
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    @Nullable at.petrak.hexcasting.api.casting.math.HexPattern
     
    static final String
     

    Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity

    level, remove, worldPosition
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockEntitySlate(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    loadModData(net.minecraft.nbt.CompoundTag tag)
     
    protected void
    saveModData(net.minecraft.nbt.CompoundTag tag)
     

    Methods inherited from class at.petrak.hexcasting.api.block.HexBlockEntity

    getUpdatePacket, getUpdateTag, load, saveAdditional, sync

    Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity

    addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, hasLevel, isRemoved, loadStatic, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEvent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TAG_PATTERN

      public static final String TAG_PATTERN
      See Also:
    • pattern

      @Nullable public @Nullable at.petrak.hexcasting.api.casting.math.HexPattern pattern
  • Constructor Details

    • BlockEntitySlate

      public BlockEntitySlate(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • saveModData

      protected void saveModData(net.minecraft.nbt.CompoundTag tag)
      Specified by:
      saveModData in class HexBlockEntity
    • loadModData

      protected void loadModData(net.minecraft.nbt.CompoundTag tag)
      Specified by:
      loadModData in class HexBlockEntity