public static class JsonStructure.JsonPieces.Piece extends GelStructurePiece
Constructor and Description |
---|
Piece(net.minecraft.world.gen.feature.template.TemplateManager template,
net.minecraft.nbt.CompoundNBT nbt) |
Piece(net.minecraft.world.gen.feature.template.TemplateManager template,
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 boundingBox) |
Modifier and Type | Method and Description |
---|---|
void |
handleDataMarker(java.lang.String key,
net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand,
net.minecraft.util.math.MutableBoundingBox bounds)
Runs on every data structure block the same as you would in
TemplateStructurePiece |
create, createEntity, extendDown, extendDown, getLocation, getSize, getTemplateManager, setAir
addJunction, getGroundLevelDelta, getJigsawPiece, getJunctions, getPos, getRotation, offset, toString
public Piece(net.minecraft.world.gen.feature.template.TemplateManager template, 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 boundingBox)
public Piece(net.minecraft.world.gen.feature.template.TemplateManager template, net.minecraft.nbt.CompoundNBT nbt)
public void handleDataMarker(java.lang.String key, net.minecraft.world.IWorld world, net.minecraft.util.math.BlockPos pos, java.util.Random rand, net.minecraft.util.math.MutableBoundingBox bounds)
GelStructurePiece
TemplateStructurePiece
handleDataMarker
in class GelStructurePiece