Class HTCopperBasinBlockEntity
-
- All Implemented Interfaces:
-
hiiragi283.core.api.block.entity.HTAbstractBlockEntity,hiiragi283.core.api.block.entity.HTOwnedBlockEntity,hiiragi283.core.api.block.entity.HTSoundPlayerBlockEntity,hiiragi283.core.api.storage.HTHandlerProvider,hiiragi283.core.api.storage.energy.HTEnergyHandler,hiiragi283.core.api.storage.energy.HTSidedEnergyStorage,hiiragi283.core.api.storage.fluid.HTFluidHandler,hiiragi283.core.api.storage.fluid.HTSidedFluidHandler,hiiragi283.core.api.storage.item.HTItemHandler,hiiragi283.core.api.storage.item.HTSidedItemHandler,net.minecraft.world.Nameable,net.neoforged.neoforge.attachment.IAttachmentHolder,net.neoforged.neoforge.common.extensions.IBlockEntityExtension,net.neoforged.neoforge.energy.IEnergyStorage,net.neoforged.neoforge.fluids.capability.IFluidHandler,net.neoforged.neoforge.items.IItemHandler
public final class HTCopperBasinBlockEntity extends HTBlockEntity
-
-
Field Summary
Fields Modifier and Type Field Description private final HTBasicFluidTanktankprivate final Integerticksprivate final List<HTBlockEntityComponent>componentsprivate UUIDownerIdprivate final Integerslotsprivate final BlockEntityType<?>typeprivate final ModelDatamodelDataprivate final BlockPosblockPosprivate final CompoundTagpersistentDataprivate final Integertanksprivate final IntegermaxEnergyStoredprivate final IntegerenergyStoredprivate BlockStateblockStateprivate final BooleanisRemovedprivate final ClientboundBlockEntityDataPacketupdatePacketprivate final Levellevelprivate final Componentnameprivate final ComponentcustomNameprivate final ComponentdisplayName
-
Constructor Summary
Constructors Constructor Description HTCopperBasinBlockEntity(BlockPos pos, BlockState state)
-
Method Summary
Modifier and Type Method Description final HTBasicFluidTankgetTank()final IntegergetTicks()final List<HTBlockEntityComponent>getComponents()final UUIDgetOwnerId()final UnitsetOwnerId(UUID value)final BooleandrainContainer(Player player, InteractionHand hand)final BooleanfillContainer(Player player, InteractionHand hand)IntegergetComparatorOutput(BlockState state, Level level, BlockPos pos)ブロックのコンパレータ出力を返します。 UnitinitReducedUpdateTag(HTValueOutput output)UnithandleUpdateTag(HTValueInput input)-
Methods inherited from class hiiragi283.core.api.storage.item.HTSidedItemHandler
extractItem, getItemSideFor, getSlotLimit, getSlots, getSlots, getStackInSlot, insertItem, isItemValid -
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadWithComponents, onlyOpCanSetNbt, removeComponentsFromTag, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setComponents, triggerEvent -
Methods inherited from class net.neoforged.neoforge.common.extensions.IBlockEntityExtension
getModelData, hasCustomOutlineRendering, invalidateCapabilities, onChunkUnloaded, onLoad, requestModelDataUpdate -
Methods inherited from class hiiragi283.core.common.block.entity.HTBlockEntity
addComponent, applyEnergyBattery, applyFluidTanks, applyItemSlots, collectEnergyBattery, collectFluidTanks, collectItemSlots, getBlockPos, getCustomName, getCustomName, getEnergyBattery, getEnergyStorage, getFluidHandler, getFluidTanks, getItemHandler, getItemSlots, getLevel, getName, getName, getOwner, hasEnergyStorage, hasFluidHandler, hasItemHandler, onBlockRemoved, openMenu -
Methods inherited from class hiiragi283.core.api.storage.fluid.HTSidedFluidHandler
drain, drain, fill, getFluidInTank, getFluidSideFor, getTankCapacity, getTanks, getTanks, isFluidValid -
Methods inherited from class hiiragi283.core.api.storage.energy.HTSidedEnergyStorage
canExtract, canReceive, extractEnergy, getEnergySideFor, getEnergyStored, getEnergyStored, getMaxEnergyStored, getMaxEnergyStored, receiveEnergy -
Methods inherited from class hiiragi283.core.common.block.entity.HTExtendedBlockEntity
getDeferredType, getReducedUpdateTag, getUpdatePacket, getUpdatePacket, getUpdateTag, handleUpdateTag, neighborChanged, onDataPacket, onRemove, onUpdateLevel, onUpdatedState, sendUpdatePacket, setBlockState, setBlockState, setChanged, setLevel, setRemoved -
Methods inherited from class net.minecraft.world.Nameable
getDisplayName, 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.neoforged.neoforge.attachment.AttachmentHolder
serializeAttachments -
Methods inherited from class hiiragi283.core.api.block.entity.HTAbstractBlockEntity
getRegistryAccess, getServerLevel -
Methods inherited from class hiiragi283.core.api.storage.energy.HTEnergyHandler
extractEnergy, getEnergyStored, getMaxEnergyStored, receiveEnergy -
Methods inherited from class hiiragi283.core.api.storage.fluid.HTFluidHandler
drain, drain, fill, getFluidInTank, getFluidTank, getTankCapacity, getTanks, isFluidValid -
Methods inherited from class hiiragi283.core.api.storage.item.HTItemHandler
extractItem, getItemSlot, getSlotLimit, getSlots, getStackInSlot, insertItem, isItemValid -
Methods inherited from class hiiragi283.core.api.block.entity.HTOwnedBlockEntity
getFakePlayer, getOwnerName, getOwnerOrFake, getOwnerPlayer, getOwnerPlayer -
Methods inherited from class hiiragi283.core.api.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
-
getTank
final HTBasicFluidTank getTank()
-
getComponents
final List<HTBlockEntityComponent> getComponents()
-
getOwnerId
final UUID getOwnerId()
-
setOwnerId
final Unit setOwnerId(UUID value)
-
drainContainer
final Boolean drainContainer(Player player, InteractionHand hand)
-
fillContainer
final Boolean fillContainer(Player player, InteractionHand hand)
-
getComparatorOutput
Integer getComparatorOutput(BlockState state, Level level, BlockPos pos)
ブロックのコンパレータ出力を返します。
-
initReducedUpdateTag
Unit initReducedUpdateTag(HTValueOutput output)
-
handleUpdateTag
Unit handleUpdateTag(HTValueInput input)
-
-
-
-