public final class GelStructurePiece extends AbstractGelStructurePiece
AbstractGelStructurePiece
.Constructor and Description |
---|
GelStructurePiece(net.minecraft.world.gen.feature.template.TemplateManager templateManager,
net.minecraft.nbt.CompoundNBT nbt) |
GelStructurePiece(net.minecraft.world.gen.feature.template.TemplateManager templateManager,
net.minecraft.world.gen.feature.jigsaw.JigsawPiece jigsawPiece,
net.minecraft.util.math.BlockPos pos,
int groundLevelDelta,
net.minecraft.util.Rotation rotation,
net.minecraft.util.math.MutableBoundingBox bounds) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.world.gen.feature.structure.IStructurePieceType |
getStructurePieceType()
Returns the
IStructurePieceType for this piece. |
void |
handleDataMarker(java.lang.String key,
net.minecraft.util.math.BlockPos pos,
net.minecraft.world.IServerWorld world,
java.util.Random rand,
net.minecraft.util.math.MutableBoundingBox bounds)
Runs on every data structure block the same as you would in
TemplateStructurePiece |
createEntity, extendDown, extendDown, func_237001_a_, getLocation, getSize, getTemplateManager, setAir, setStructurePieceType
addJunction, func_230383_a_, getGroundLevelDelta, getJigsawPiece, getJunctions, getPos, getRotation, offset, toString
public GelStructurePiece(net.minecraft.world.gen.feature.template.TemplateManager templateManager, net.minecraft.world.gen.feature.jigsaw.JigsawPiece jigsawPiece, net.minecraft.util.math.BlockPos pos, int groundLevelDelta, net.minecraft.util.Rotation rotation, net.minecraft.util.math.MutableBoundingBox bounds)
public GelStructurePiece(net.minecraft.world.gen.feature.template.TemplateManager templateManager, net.minecraft.nbt.CompoundNBT nbt)
public net.minecraft.world.gen.feature.structure.IStructurePieceType getStructurePieceType()
AbstractGelStructurePiece
IStructurePieceType
for this piece.getStructurePieceType
in class AbstractGelStructurePiece
IStructurePieceType
public void handleDataMarker(java.lang.String key, net.minecraft.util.math.BlockPos pos, net.minecraft.world.IServerWorld world, java.util.Random rand, net.minecraft.util.math.MutableBoundingBox bounds)
TemplateStructurePiece
handleDataMarker
in class AbstractGelStructurePiece
key
- pos
- world
- bounds
-