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
-
Field Summary
FieldsFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition -
Constructor Summary
ConstructorsConstructorDescriptionBlockEntityAkashicBookshelf(net.minecraft.core.BlockPos pWorldPosition, net.minecraft.world.level.block.state.BlockState pBlockState) -
Method Summary
Modifier and TypeMethodDescriptionvoid@Nullable net.minecraft.nbt.CompoundTag@Nullable at.petrak.hexcasting.api.casting.math.HexPatternprotected voidloadModData(net.minecraft.nbt.CompoundTag tag) protected voidsaveModData(net.minecraft.nbt.CompoundTag compoundTag) voidsetNewMapping(at.petrak.hexcasting.api.casting.math.HexPattern pattern, Iota iota) Methods inherited from class at.petrak.hexcasting.api.block.HexBlockEntity
getUpdatePacket, getUpdateTag, load, saveAdditional, syncMethods 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
-
Field Details
-
TAG_PATTERN
- See Also:
-
TAG_IOTA
- See Also:
-
TAG_DUMMY
- See Also:
-
points
-
-
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
-
clearIota
public void clearIota() -
saveModData
protected void saveModData(net.minecraft.nbt.CompoundTag compoundTag) - Specified by:
saveModDatain classHexBlockEntity
-
loadModData
protected void loadModData(net.minecraft.nbt.CompoundTag tag) - Specified by:
loadModDatain classHexBlockEntity
-