net.minecraft.world.gen.structure

public abstract class StructurePiece

awg
net.minecraft.class_34
net.minecraft.world.gen.structure.StructurePiece
net.minecraft.world.gen.structure.StructureComponent

Field summary

Modifier and TypeField
protected StructureBox
l
field_64
bounds
boundingBox
private Direction
a
field_10226
facing
coordBaseMode
private BlockMirror
b
field_13013
mirror
mirror
private BlockRotation
c
field_13014
rotation
rotation
protected int
m
field_66
generationDepth
componentType

Constructor summary

ModifierConstructor
public ()
protected (int generationDepth)

Method summary

Modifier and TypeMethod
public final NbtCompound
b()
method_5529()
toNbt()
createStructureBaseNBT()
protected abstract void
a(dq arg0)
method_5528(class_322 arg0)
writeNbt(NbtCompound nbt)
writeStructureToNBT(NBTTagCompound tagCompound)
public void
a(aht arg0, dq arg1)
method_5527(class_1150 arg0, class_322 arg1)
readNbt(World world, NbtCompound nbt)
readStructureBaseNBT(World worldIn, NBTTagCompound tagCompound)
protected abstract void
b(dq arg0)
method_5530(class_322 arg0)
readNbt(NbtCompound nbt)
readStructureFromNBT(NBTTagCompound tagCompound)
public void
a(awg arg0, List<awg> arg1, Random arg2)
method_54(class_34 arg0, List<class_34> arg1, Random arg2)
addChildren(StructurePiece start, List<StructurePiece> pieces, Random random)
buildComponent(StructureComponent componentIn, List<StructureComponent> listIn, Random rand)
public abstract boolean
a(aht arg0, Random arg1, avp arg2)
method_58(class_1150 arg0, Random arg1, class_1251 arg2)
postProcess(World world, Random random, StructureBox bounds)
addComponentParts(World worldIn, Random randomIn, StructureBoundingBox structureBoundingBoxIn)
public StructureBox
c()
method_70()
getBounds()
getBoundingBox()
public int
d()
method_74()
getGenerationDepth()
getComponentType()
public static StructurePiece
a(List<awg> arg0, avp arg1)
method_55(List<class_34> arg0, class_1251 arg1)
getIntersectingPiece(List<StructurePiece> pieces, StructureBox bounds)
findIntersecting(List<StructureComponent> listIn, StructureBoundingBox boundingboxIn)
public BlockPos
a()
method_51()
getCenterPos()
getBoundingBoxCenter()
protected boolean
a(aht arg0, avp arg1)
method_59(class_1150 arg0, class_1251 arg1)
bordersOnLiquids(World world, StructureBox bounds)
isLiquidInStructureBoundingBox(World worldIn, StructureBoundingBox boundingboxIn)
protected int
a(int arg0, int arg1)
method_53(int arg0, int arg1)
transformX(int x, int z)
getXWithOffset(int x, int z)
protected int
d(int arg0)
method_52(int arg0)
transformY(int y)
getYWithOffset(int y)
protected int
b(int arg0, int arg1)
method_71(int arg0, int arg1)
transformZ(int x, int z)
getZWithOffset(int x, int z)
protected void
a(aht arg0, ard arg1, int arg2, int arg3, int arg4, avp arg5)
method_56(class_1150 arg0, class_2232 arg1, int arg2, int arg3, int arg4, class_1251 arg5)
setBlockState(World world, BlockState state, int x, int y, int z, StructureBox bounds)
setBlockState(World worldIn, IBlockState blockstateIn, int x, int y, int z, StructureBoundingBox boundingboxIn)
protected BlockState
a(aht arg0, int arg1, int arg2, int arg3, avp arg4)
method_9273(class_1150 arg0, int arg1, int arg2, int arg3, class_1251 arg4)
getBlockState(World world, int x, int y, int z, StructureBox bounds)
getBlockStateFromPos(World worldIn, int x, int y, int z, StructureBoundingBox boundingboxIn)
protected void
a(aht arg0, avp arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
method_60(class_1150 arg0, class_1251 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
fillAir(World world, StructureBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
fillWithAir(World worldIn, StructureBoundingBox structurebb, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
protected void
a(aht arg0, avp arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, ard arg8, ard arg9, boolean arg10)
method_62(class_1150 arg0, class_1251 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, class_2232 arg8, class_2232 arg9, boolean arg10)
fillWithOutline(World world, StructureBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState edge, BlockState filler, boolean avoidAir)
fillWithBlocks(World existingOnly, StructureBoundingBox boundingboxIn, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, IBlockState boundaryBlockState, IBlockState arg9, boolean arg10)
protected void
a(aht arg0, avp arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, awg$a arg10)
method_64(class_1150 arg0, class_1251 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, class_34$class_35 arg10)
fill(World world, StructureBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean avoidAir, Random random, StructurePiece$BlockPicker blocks)
fillWithRandomizedBlocks(World blockselector, StructureBoundingBox boundingboxIn, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean alwaysReplace, Random arg9, StructureComponent$BlockSelector arg10)
protected void
a(aht arg0, avp arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, ard arg10, ard arg11, boolean arg12)
method_6569(class_1150 arg0, class_1251 arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, class_2232 arg10, class_2232 arg11, boolean arg12)
fillRandomlyWithOutline(World world, StructureBox bounds, Random random, float threshold, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState edge, BlockState filler, boolean avoidAir)
fillWithBlocksRandomly(World blockstate1, StructureBoundingBox boundingboxIn, Random rand, float chance, int minX, int minY, int minZ, int maxX, int maxY, int arg9, IBlockState arg10, IBlockState arg11, boolean arg12)
protected void
a(aht arg0, avp arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, ard arg7)
method_65(class_1150 arg0, class_1251 arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, class_2232 arg7)
setBlockStateWithThreshold(World world, StructureBox bounds, Random random, float threshold, int x, int y, int z, BlockState state)
randomlyPlaceBlock(World worldIn, StructureBoundingBox boundingboxIn, Random rand, float chance, int x, int y, int z, IBlockState blockstateIn)
protected void
a(aht arg0, avp arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, ard arg8, boolean arg9)
method_63(class_1150 arg0, class_1251 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, class_2232 arg8, boolean arg9)
placeUpperHemisphere(World world, StructureBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState state, boolean avoidAir)
randomlyRareFillWithBlocks(World worldIn, StructureBoundingBox boundingboxIn, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, IBlockState blockstateIn, boolean arg9)
protected void
b(aht arg0, int arg1, int arg2, int arg3, avp arg4)
method_73(class_1150 arg0, int arg1, int arg2, int arg3, class_1251 arg4)
fillAirColumnUp(World world, int x, int y, int z, StructureBox bounds)
clearCurrentPositionBlocksUpwards(World worldIn, int x, int y, int z, StructureBoundingBox structurebb)
protected void
b(aht arg0, ard arg1, int arg2, int arg3, int arg4, avp arg5)
method_72(class_1150 arg0, class_2232 arg1, int arg2, int arg3, int arg4, class_1251 arg5)
fillColumnDown(World world, BlockState state, int x, int y, int z, StructureBox bounds)
replaceAirAndLiquidDownwards(World worldIn, IBlockState blockstateIn, int x, int y, int z, StructureBoundingBox boundingboxIn)
protected boolean
a(aht arg0, avp arg1, Random arg2, int arg3, int arg4, int arg5, kl arg6)
method_11852(class_1150 arg0, class_1251 arg1, Random arg2, int arg3, int arg4, int arg5, class_1653 arg6)
placeChestWithLoot(World world, StructureBox box, Random random, int x, int y, int z, Identifier lootTable)
generateChest(World worldIn, StructureBoundingBox structurebb, Random randomIn, int x, int y, int z, ResourceLocation loot)
protected boolean
a(aht arg0, avp arg1, Random arg2, int arg3, int arg4, int arg5, cs arg6, kl arg7)
method_11851(class_1150 arg0, class_1251 arg1, Random arg2, int arg3, int arg4, int arg5, class_1354 arg6, class_1653 arg7)
placeDispenserWithLoot(World world, StructureBox box, Random random, int x, int y, int z, Direction facing, Identifier lootTable)
createDispenser(World arg0, StructureBoundingBox arg1, Random arg2, int arg3, int arg4, int arg5, EnumFacing arg6, ResourceLocation arg7)
protected void
a(aht arg0, avp arg1, Random arg2, int arg3, int arg4, int arg5, cs arg6)
method_67(class_1150 arg0, class_1251 arg1, Random arg2, int arg3, int arg4, int arg5, class_1354 arg6)
placeWoodenDoor(World world, StructureBox bounds, Random random, int x, int y, int z, Direction facing)
placeDoorCurrentPosition(World worldIn, StructureBoundingBox boundingBoxIn, Random rand, int x, int y, int z, EnumFacing facing)
public void
a(int arg0, int arg1, int arg2)
method_9272(int arg0, int arg1, int arg2)
move(int dx, int dy, int dz)
offset(int x, int y, int z)
public Direction
e()
method_11854()
getFacing()
getCoordBaseMode()
public void
a(cs arg0)
method_11853(class_1354 arg0)
setFacing(Direction facing)
setCoordBaseMode(EnumFacing facing)