类 JigsawBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.JigsawBlockEntity
- 所有已实现的接口:
IAttachmentHolder
,IBlockEntityExtension
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.BlockEntityPathElement
从类继承的嵌套类/接口 net.neoforged.neoforge.attachment.AttachmentHolder
AttachmentHolder.AsField
-
字段概要
字段修饰符和类型字段说明static final String
private static final int
private static final int
static final ResourceLocation
static final String
private String
private JigsawBlockEntity.JointType
static final String
private ResourceLocation
static final String
static final String
private int
private ResourceKey
<StructureTemplatePool> static final String
static final com.mojang.serialization.Codec
<ResourceKey<StructureTemplatePool>> static final String
private int
private ResourceLocation
static final String
从类继承的字段 net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
从类继承的字段 net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
generate
(ServerLevel p_59421_, int p_59422_, boolean p_59423_) getJoint()
getName()
int
getPool()
int
getUpdateTag
(HolderLookup.Provider p_323882_) protected void
loadAdditional
(ValueInput p_421503_) protected void
saveAdditional
(ValueOutput p_421767_) void
setFinalState
(String p_59432_) void
setJoint
(JigsawBlockEntity.JointType p_59425_) void
setName
(ResourceLocation p_59436_) void
setPlacementPriority
(int p_309107_) void
setPool
(ResourceKey<StructureTemplatePool> p_222764_) void
setSelectionPriority
(int p_309018_) void
setTarget
(ResourceLocation p_59439_) 从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, preRemoveSideEffects, problemPath, removeComponentsFromTag, removeData, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, setLevel, setRemoved, triggerEvent
从类继承的方法 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.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBlockEntityExtension
getModelData, handleUpdateTag, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate
-
字段详细资料
-
POOL_CODEC
-
EMPTY_ID
-
DEFAULT_PLACEMENT_PRIORITY
private static final int DEFAULT_PLACEMENT_PRIORITY- 另请参阅:
-
DEFAULT_SELECTION_PRIORITY
private static final int DEFAULT_SELECTION_PRIORITY- 另请参阅:
-
TARGET
- 另请参阅:
-
POOL
- 另请参阅:
-
JOINT
- 另请参阅:
-
PLACEMENT_PRIORITY
- 另请参阅:
-
SELECTION_PRIORITY
- 另请参阅:
-
NAME
- 另请参阅:
-
FINAL_STATE
- 另请参阅:
-
DEFAULT_FINAL_STATE
- 另请参阅:
-
name
-
target
-
pool
-
joint
-
finalState
-
placementPriority
private int placementPriority -
selectionPriority
private int selectionPriority
-
-
构造器详细资料
-
JigsawBlockEntity
-
-
方法详细资料
-
getName
-
getTarget
-
getPool
-
getFinalState
-
getJoint
-
getPlacementPriority
public int getPlacementPriority() -
getSelectionPriority
public int getSelectionPriority() -
setName
-
setTarget
-
setPool
-
setFinalState
-
setJoint
-
setPlacementPriority
public void setPlacementPriority(int p_309107_) -
setSelectionPriority
public void setSelectionPriority(int p_309018_) -
saveAdditional
- 覆盖:
saveAdditional
在类中BlockEntity
-
loadAdditional
- 覆盖:
loadAdditional
在类中BlockEntity
-
getUpdatePacket
- 覆盖:
getUpdatePacket
在类中BlockEntity
-
getUpdateTag
- 覆盖:
getUpdateTag
在类中BlockEntity
-
generate
-