类 DecoratedPotBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.DecoratedPotBlockEntity
- 所有已实现的接口:
Iterable<ItemStack>
,Clearable
,Container
,RandomizableContainer
,ContainerSingleItem
,ContainerSingleItem.BlockContainerSingleItem
,IAttachmentHolder
,IBlockEntityExtension
public class DecoratedPotBlockEntity
extends BlockEntity
implements RandomizableContainer, ContainerSingleItem.BlockContainerSingleItem
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.BlockEntityPathElement
从类继承的嵌套类/接口 net.neoforged.neoforge.attachment.AttachmentHolder
AttachmentHolder.AsField
从接口继承的嵌套类/接口 net.minecraft.world.Container
Container.ContainerIterator
从接口继承的嵌套类/接口 net.minecraft.world.ticks.ContainerSingleItem
ContainerSingleItem.BlockContainerSingleItem
-
字段概要
字段修饰符和类型字段说明private PotDecorations
static final int
private ItemStack
protected ResourceKey
<LootTable> protected long
static final String
static final String
long
从类继承的字段 net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
从类继承的字段 net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY
从接口继承的字段 net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER
从接口继承的字段 net.minecraft.world.RandomizableContainer
LOOT_TABLE_SEED_TAG, LOOT_TABLE_TAG
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
applyImplicitComponents
(DataComponentGetter p_397357_) protected void
static ItemStack
createDecoratedPotItem
(PotDecorations p_330827_) long
getUpdateTag
(HolderLookup.Provider p_324359_) protected void
loadAdditional
(ValueInput p_421562_) void
removeComponentsFromTag
(ValueOutput p_421737_) protected void
saveAdditional
(ValueOutput p_421506_) void
setLootTable
(ResourceKey<LootTable> p_336080_) void
setLootTableSeed
(long p_309580_) void
setTheItem
(ItemStack p_305817_) splitTheItem
(int p_305991_) boolean
triggerEvent
(int p_306146_, int p_305858_) void
wobble
(DecoratedPotBlockEntity.WobbleStyle p_305984_) 从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, preRemoveSideEffects, problemPath, removeData, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, setLevel, setRemoved
从类继承的方法 net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachments
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getMaxStackSize, getMaxStackSize, hasAnyMatching, hasAnyOf, iterator, setChanged, startOpen, stopOpen
从接口继承的方法 net.minecraft.world.ticks.ContainerSingleItem
clearContent, getContainerSize, getItem, isEmpty, removeItem, removeItemNoUpdate, removeTheItem, setItem
从接口继承的方法 net.minecraft.world.ticks.ContainerSingleItem.BlockContainerSingleItem
stillValid
从接口继承的方法 net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBlockEntityExtension
getModelData, handleUpdateTag, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate
从接口继承的方法 java.lang.Iterable
forEach, spliterator
从接口继承的方法 net.minecraft.world.RandomizableContainer
getBlockPos, getLevel, setLootTable, tryLoadLootTable, trySaveLootTable, unpackLootTable
-
字段详细资料
-
TAG_SHERDS
- 另请参阅:
-
TAG_ITEM
- 另请参阅:
-
EVENT_POT_WOBBLES
public static final int EVENT_POT_WOBBLES- 另请参阅:
-
wobbleStartedAtTick
public long wobbleStartedAtTick -
lastWobbleStyle
-
decorations
-
item
-
lootTable
-
lootTableSeed
protected long lootTableSeed
-
-
构造器详细资料
-
DecoratedPotBlockEntity
-
-
方法详细资料
-
saveAdditional
- 覆盖:
saveAdditional
在类中BlockEntity
-
loadAdditional
- 覆盖:
loadAdditional
在类中BlockEntity
-
getUpdatePacket
- 覆盖:
getUpdatePacket
在类中BlockEntity
-
getUpdateTag
- 覆盖:
getUpdateTag
在类中BlockEntity
-
getDirection
-
getDecorations
-
createDecoratedPotItem
-
getLootTable
- 指定者:
getLootTable
在接口中RandomizableContainer
-
setLootTable
- 指定者:
setLootTable
在接口中RandomizableContainer
-
getLootTableSeed
public long getLootTableSeed()- 指定者:
getLootTableSeed
在接口中RandomizableContainer
-
setLootTableSeed
public void setLootTableSeed(long p_309580_) - 指定者:
setLootTableSeed
在接口中RandomizableContainer
-
collectImplicitComponents
- 覆盖:
collectImplicitComponents
在类中BlockEntity
-
applyImplicitComponents
- 覆盖:
applyImplicitComponents
在类中BlockEntity
-
removeComponentsFromTag
- 覆盖:
removeComponentsFromTag
在类中BlockEntity
-
getTheItem
- 指定者:
getTheItem
在接口中ContainerSingleItem
-
splitTheItem
- 指定者:
splitTheItem
在接口中ContainerSingleItem
-
setTheItem
- 指定者:
setTheItem
在接口中ContainerSingleItem
-
getContainerBlockEntity
-
wobble
-
triggerEvent
public boolean triggerEvent(int p_306146_, int p_305858_) - 覆盖:
triggerEvent
在类中BlockEntity
-