Class BlockEntityAkashicBookshelf

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

public class BlockEntityAkashicBookshelf extends HexBlockEntity
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    static final String
     
    static final String
     
    static final String
     

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

    level, remove, worldPosition
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockEntityAkashicBookshelf(net.minecraft.core.BlockPos pWorldPosition, net.minecraft.world.level.block.state.BlockState pBlockState)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    @Nullable net.minecraft.nbt.CompoundTag
     
    @Nullable at.petrak.hexcasting.api.casting.math.HexPattern
     
    protected void
    loadModData(net.minecraft.nbt.CompoundTag tag)
     
    protected void
    saveModData(net.minecraft.nbt.CompoundTag compoundTag)
     
    void
    setNewMapping(at.petrak.hexcasting.api.casting.math.HexPattern pattern, Iota iota)
     

    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

  • Constructor Details

    • BlockEntityAkashicBookshelf

      public BlockEntityAkashicBookshelf(net.minecraft.core.BlockPos pWorldPosition, net.minecraft.world.level.block.state.BlockState pBlockState)
  • Method Details

    • getPattern

      @Nullable public @Nullable at.petrak.hexcasting.api.casting.math.HexPattern getPattern()
    • getIotaTag

      @Nullable public @Nullable net.minecraft.nbt.CompoundTag getIotaTag()
    • setNewMapping

      public void setNewMapping(at.petrak.hexcasting.api.casting.math.HexPattern pattern, Iota iota)
    • clearIota

      public void clearIota()
    • saveModData

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

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