Class JigsawBlockEntity
java.lang.Object
net.neoforged.neoforge.common.capabilities.CapabilityProvider<BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.JigsawBlockEntity
- All Implemented Interfaces:
ICapabilityProvider
,ICapabilityProviderImpl<BlockEntity>
,ICapabilitySerializable<CompoundTag>
,IBlockEntityExtension
,INBTSerializable<CompoundTag>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
private String
private JigsawBlockEntity.JointType
static final String
private ResourceLocation
static final String
private ResourceKey<StructureTemplatePool>
static final String
private ResourceLocation
static final String
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(ServerLevel p_59421_, int p_59422_, boolean p_59423_) getJoint()
getName()
getPool()
void
load
(CompoundTag p_155608_) protected void
saveAdditional
(CompoundTag p_187504_) void
setFinalState
(String p_59432_) void
setJoint
(JigsawBlockEntity.JointType p_59425_) void
setName
(ResourceLocation p_59436_) void
setPool
(ResourceKey<StructureTemplatePool> p_222764_) void
setTarget
(ResourceLocation p_59439_) Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, loadStatic, onChunkUnloaded, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEvent
Methods inherited from class net.neoforged.neoforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
deserializeNBT, getModelData, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
Methods inherited from interface net.neoforged.neoforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
-
Field Details
-
TARGET
- See Also:
-
POOL
- See Also:
-
JOINT
- See Also:
-
NAME
- See Also:
-
FINAL_STATE
- See Also:
-
name
-
target
-
pool
-
joint
-
finalState
-
-
Constructor Details
-
JigsawBlockEntity
-
-
Method Details
-
getName
-
getTarget
-
getPool
-
getFinalState
-
getJoint
-
setName
-
setTarget
-
setPool
-
setFinalState
-
setJoint
-
saveAdditional
- Overrides:
saveAdditional
in classBlockEntity
-
load
- Overrides:
load
in classBlockEntity
-
getUpdatePacket
- Overrides:
getUpdatePacket
in classBlockEntity
-
getUpdateTag
- Overrides:
getUpdateTag
in classBlockEntity
-
generate
-