Package net.minecraft.tileentity
Class JigsawTileEntity
- java.lang.Object
-
- net.minecraftforge.common.capabilities.CapabilityProvider<TileEntity>
-
- net.minecraft.tileentity.TileEntity
-
- net.minecraft.tileentity.JigsawTileEntity
-
- All Implemented Interfaces:
ICapabilityProvider
,ICapabilitySerializable<CompoundNBT>
,IForgeTileEntity
,INBTSerializable<CompoundNBT>
public class JigsawTileEntity extends TileEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JigsawTileEntity.OrientationType
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
finalState
private JigsawTileEntity.OrientationType
joint
private ResourceLocation
name
private ResourceLocation
pool
private ResourceLocation
target
-
Fields inherited from class net.minecraft.tileentity.TileEntity
level, remove, worldPosition
-
Fields inherited from interface net.minecraftforge.common.extensions.IForgeTileEntity
INFINITE_EXTENT_AABB
-
-
Constructor Summary
Constructors Constructor Description JigsawTileEntity()
JigsawTileEntity(TileEntityType<?> p_i49960_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generate(ServerWorld p_235665_1_, int p_235665_2_, boolean p_235665_3_)
java.lang.String
getFinalState()
JigsawTileEntity.OrientationType
getJoint()
ResourceLocation
getName()
ResourceLocation
getPool()
ResourceLocation
getTarget()
SUpdateTileEntityPacket
getUpdatePacket()
CompoundNBT
getUpdateTag()
void
load(BlockState p_230337_1_, CompoundNBT p_230337_2_)
CompoundNBT
save(CompoundNBT p_189515_1_)
void
setFinalState(java.lang.String p_214055_1_)
void
setJoint(JigsawTileEntity.OrientationType p_235662_1_)
void
setName(ResourceLocation p_235664_1_)
void
setPool(ResourceLocation p_235667_1_)
void
setTarget(ResourceLocation p_235666_1_)
-
Methods inherited from class net.minecraft.tileentity.TileEntity
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEvent
-
Methods inherited from class net.minecraftforge.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.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
-
Methods inherited from interface net.minecraftforge.common.extensions.IForgeTileEntity
deserializeNBT, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
-
-
-
-
Field Detail
-
name
private ResourceLocation name
-
target
private ResourceLocation target
-
pool
private ResourceLocation pool
-
joint
private JigsawTileEntity.OrientationType joint
-
finalState
private java.lang.String finalState
-
-
Constructor Detail
-
JigsawTileEntity
public JigsawTileEntity(TileEntityType<?> p_i49960_1_)
-
JigsawTileEntity
public JigsawTileEntity()
-
-
Method Detail
-
getName
public ResourceLocation getName()
-
getTarget
public ResourceLocation getTarget()
-
getPool
public ResourceLocation getPool()
-
getFinalState
public java.lang.String getFinalState()
-
getJoint
public JigsawTileEntity.OrientationType getJoint()
-
setName
public void setName(ResourceLocation p_235664_1_)
-
setTarget
public void setTarget(ResourceLocation p_235666_1_)
-
setPool
public void setPool(ResourceLocation p_235667_1_)
-
setFinalState
public void setFinalState(java.lang.String p_214055_1_)
-
setJoint
public void setJoint(JigsawTileEntity.OrientationType p_235662_1_)
-
save
public CompoundNBT save(CompoundNBT p_189515_1_)
- Overrides:
save
in classTileEntity
-
load
public void load(BlockState p_230337_1_, CompoundNBT p_230337_2_)
- Overrides:
load
in classTileEntity
-
getUpdatePacket
@Nullable public SUpdateTileEntityPacket getUpdatePacket()
- Overrides:
getUpdatePacket
in classTileEntity
-
getUpdateTag
public CompoundNBT getUpdateTag()
- Overrides:
getUpdateTag
in classTileEntity
-
generate
public void generate(ServerWorld p_235665_1_, int p_235665_2_, boolean p_235665_3_)
-
-