Class BlockEntityRedstoneImpetus
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.BlockEntityRedstoneImpetus
- 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
ConstructorsConstructorDescriptionBlockEntityRedstoneImpetus(net.minecraft.core.BlockPos pWorldPosition, net.minecraft.world.level.block.state.BlockState pBlockState) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyScryingLensOverlay(List<com.mojang.datafixers.util.Pair<net.minecraft.world.item.ItemStack, net.minecraft.network.chat.Component>> lines, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player observer, net.minecraft.world.level.Level world, net.minecraft.core.Direction hitFace) voidprotected @Nullable com.mojang.authlib.GameProfile@Nullable net.minecraft.server.level.ServerPlayerprotected voidloadModData(net.minecraft.nbt.CompoundTag tag) protected voidsaveModData(net.minecraft.nbt.CompoundTag tag) voidvoidMethods inherited from class at.petrak.hexcasting.api.casting.circles.BlockEntityAbstractImpetus
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
-
TAG_STORED_PLAYER
- See Also:
-
TAG_STORED_PLAYER_PROFILE
- See Also:
-
-
Constructor Details
-
BlockEntityRedstoneImpetus
public BlockEntityRedstoneImpetus(net.minecraft.core.BlockPos pWorldPosition, net.minecraft.world.level.block.state.BlockState pBlockState)
-
-
Method Details
-
getPlayerName
@Nullable protected @Nullable com.mojang.authlib.GameProfile getPlayerName() -
setPlayer
-
clearPlayer
public void clearPlayer() -
updatePlayerProfile
public void updatePlayerProfile() -
getStoredPlayer
@Nullable public @Nullable net.minecraft.server.level.ServerPlayer getStoredPlayer() -
applyScryingLensOverlay
public void applyScryingLensOverlay(List<com.mojang.datafixers.util.Pair<net.minecraft.world.item.ItemStack, net.minecraft.network.chat.Component>> lines, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player observer, net.minecraft.world.level.Level world, net.minecraft.core.Direction hitFace) - Overrides:
applyScryingLensOverlayin classBlockEntityAbstractImpetus
-
saveModData
protected void saveModData(net.minecraft.nbt.CompoundTag tag) - Overrides:
saveModDatain classBlockEntityAbstractImpetus
-
loadModData
protected void loadModData(net.minecraft.nbt.CompoundTag tag) - Overrides:
loadModDatain classBlockEntityAbstractImpetus
-