Class HTChoppingBoardBlockEntity
-
- All Implemented Interfaces:
-
hiiragi283.lib.block.entity.HTAbstractBlockEntity,hiiragi283.lib.block.entity.HTOwnedBlockEntity,hiiragi283.lib.block.entity.HTSoundPlayerBlockEntity,hiiragi283.lib.transfer.HTHandlerProvider,net.minecraft.core.TypedInstance,net.minecraft.util.debug.DebugValueSource,net.minecraft.world.Nameable,net.neoforged.neoforge.attachment.IAttachmentHolder,net.neoforged.neoforge.common.extensions.IBlockEntityExtension,net.neoforged.neoforge.common.extensions.TypedInstanceExtension,net.neoforged.neoforge.registries.datamaps.IWithData
public final class HTChoppingBoardBlockEntity extends HTBlockEntity
-
-
Field Summary
Fields Modifier and Type Field Description private final HTBasicItemSlotslotprivate final Integerticksprivate UUIDownerIdprivate final Set<AttachmentType<?>>andClearAttachmentTypesToSyncprivate final BlockEntityType<?>typeprivate final ModelDatamodelDataprivate final BlockPosblockPosprivate final CompoundTagpersistentDataprivate final StringnameForReportingprivate BlockStateblockStateprivate final BooleanisRemovedprivate final ClientboundBlockEntityDataPacketupdatePacketprivate final StringplainTextNameprivate final Levellevelprivate final Componentnameprivate final ComponentcustomNameprivate final ComponentdisplayName
-
Constructor Summary
Constructors Constructor Description HTChoppingBoardBlockEntity(BlockPos worldPosition, BlockState blockState)
-
Method Summary
Modifier and Type Method Description final HTBasicItemSlotgetSlot()final IntegergetTicks()final UUIDgetOwnerId()final UnitsetOwnerId(UUID value)final BooleanchopItem(Player player, InteractionHand hand)UnitwriteReducedUpdateTag(ValueOutput output)UnitreadUpdateTag(ValueInput input)-
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getAndClearAttachmentTypesToSync, getBlockPos, getBlockState, getLevel, getNameForReporting, getPersistentData, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadWithComponents, problemPath, removeComponentsFromTag, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setComponents, setLevel, setRemoved, triggerEvent -
Methods inherited from class net.neoforged.neoforge.common.extensions.IBlockEntityExtension
applyStructureRotation, getModelData, hasCustomOutlineRendering, invalidateCapabilities, onChunkUnloaded, onLoad, requestModelDataUpdate -
Methods inherited from class hiiragi283.lib.block.entity.HTBlockEntity
addMenuTrackers, getBlockPos, getCustomName, getCustomName, getFluidHandler, getFluidTank, getFluidTanks, getItemHandler, getItemSlot, getItemSlots, getLevel, getName, getName, getOwner, hasFluidHandler, hasItemHandler, onBlockRemoved, preRemoveSideEffects -
Methods inherited from class hiiragi283.lib.block.entity.HTExtendedBlockEntity
createReducedUpdateTag, createReporter, getComparatorOutput, getUpdatePacket, getUpdatePacket, getUpdateTag, handleUpdateTag, neighborChanged, onDataPacket, sendUpdatePacket, setChanged -
Methods inherited from class net.minecraft.world.Nameable
getDisplayName, getPlainTextName, hasCustomName -
Methods inherited from class net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getData, getExistingData, getExistingData, getExistingDataOrNull, getExistingDataOrNull, hasAttachments, hasData, hasData, removeData, removeData, setData, setData, syncData, syncData -
Methods inherited from class net.minecraft.core.TypedInstance
is, is, is, is, is, tags, typeHolder -
Methods inherited from class net.minecraft.util.debug.DebugValueSource
registerDebugValues -
Methods inherited from class net.neoforged.neoforge.registries.datamaps.IWithData
getData -
Methods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
serializeAttachments -
Methods inherited from class hiiragi283.lib.block.entity.HTAbstractBlockEntity
getRegistryAccess, getServerLevel -
Methods inherited from class hiiragi283.lib.block.entity.HTOwnedBlockEntity
getFakePlayer, getOwnerName, getOwnerOrFake, getOwnerPlayer, getOwnerPlayer -
Methods inherited from class hiiragi283.lib.block.entity.HTSoundPlayerBlockEntity
getSoundPos, getSoundSource, playSound -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSlot
final HTBasicItemSlot getSlot()
-
getOwnerId
final UUID getOwnerId()
-
setOwnerId
final Unit setOwnerId(UUID value)
-
writeReducedUpdateTag
Unit writeReducedUpdateTag(ValueOutput output)
-
readUpdateTag
Unit readUpdateTag(ValueInput input)
-
-
-
-