Class BlockEntityLookingImpetus
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
at.petrak.hexcasting.api.block.HexBlockEntity
at.petrak.hexcasting.api.casting.circles.BlockEntityAbstractImpetus
at.petrak.hexcasting.common.blocks.circles.impetuses.BlockEntityLookingImpetus
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,net.minecraft.world.WorldlyContainer
-
Field Summary
FieldsFields inherited from class at.petrak.hexcasting.api.casting.circles.BlockEntityAbstractImpetus
displayItem, displayMsg, executionState, media, pigment, TAG_ERROR_DISPLAY, TAG_ERROR_MSG, TAG_EXECUTION_STATE, TAG_MEDIA, TAG_PIGMENTFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBlockEntityLookingImpetus(net.minecraft.core.BlockPos pWorldPosition, net.minecraft.world.level.block.state.BlockState pBlockState) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidloadModData(net.minecraft.nbt.CompoundTag tag) protected voidsaveModData(net.minecraft.nbt.CompoundTag tag) static voidserverTick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState bs, BlockEntityLookingImpetus self) Methods inherited from class at.petrak.hexcasting.api.casting.circles.BlockEntityAbstractImpetus
applyScryingLensOverlay, canPlaceItem, canPlaceItemThroughFace, canTakeItemThroughFace, clearContent, clearDisplay, endExecution, extractMediaFromInsertedItem, getBounds, getContainerSize, getDisplayMsg, getExecutionState, getItem, getMedia, getPigment, getSlotsForFace, getStartDirection, insertMedia, isEmpty, postDisplay, postMishap, postNoExits, postPrint, remainingMediaCapacity, removeItem, removeItemNoUpdate, semitoneFromScale, setInfiniteMedia, setItem, setMedia, setPigment, startExecution, stillValid, tickExecutionMethods 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, triggerEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.Container
canTakeItem, countItem, getMaxStackSize, hasAnyMatching, hasAnyOf, setChanged, startOpen, stopOpen
-
Field Details
-
MAX_LOOK_AMOUNT
public static final int MAX_LOOK_AMOUNT- See Also:
-
TAG_LOOK_AMOUNT
- See Also:
-
-
Constructor Details
-
BlockEntityLookingImpetus
public BlockEntityLookingImpetus(net.minecraft.core.BlockPos pWorldPosition, net.minecraft.world.level.block.state.BlockState pBlockState)
-
-
Method Details
-
serverTick
public static void serverTick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState bs, BlockEntityLookingImpetus self) -
saveModData
protected void saveModData(net.minecraft.nbt.CompoundTag tag) - Overrides:
saveModDatain classBlockEntityAbstractImpetus
-
loadModData
protected void loadModData(net.minecraft.nbt.CompoundTag tag) - Overrides:
loadModDatain classBlockEntityAbstractImpetus
-