net.minecraft.world.gen.structure

public abstract class StructurePiece

aqt
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
protected Direction
m
field_10226
facing
coordBaseMode
protected int
n
field_66
generationDepth
componentType

Constructor summary

ModifierConstructor
public ()
protected (int generationDepth)

Method summary

Modifier and TypeMethod
public NbtCompound
b()
method_5529()
toNbt()
createStructureBaseNBT()
protected abstract void
a(dn arg0)
method_5528(class_322 arg0)
writeNbt(NbtCompound nbt)
writeStructureToNBT(NBTTagCompound tagCompound)
public void
a(adm arg0, dn arg1)
method_5527(class_1150 arg0, class_322 arg1)
readNbt(World world, NbtCompound nbt)
readStructureBaseNBT(World worldIn, NBTTagCompound tagCompound)
protected abstract void
b(dn arg0)
method_5530(class_322 arg0)
readNbt(NbtCompound nbt)
readStructureFromNBT(NBTTagCompound tagCompound)
public void
a(aqt arg0, List<aqt> 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(adm arg0, Random arg1, aqe 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<aqt> arg0, aqe 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(adm arg0, aqe 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 int
a(afh arg0, int arg1)
method_6570(class_197 arg0, int arg1)
postProcessBlockMetadata(Block block, int facing)
getMetadataWithOffset(Block blockIn, int meta)
protected void
a(adm arg0, alz arg1, int arg2, int arg3, int arg4, aqe 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(adm arg0, int arg1, int arg2, int arg3, aqe 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(adm arg0, aqe 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(adm arg0, aqe arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, alz arg8, alz 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(adm arg0, aqe arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, aqt$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(adm arg0, aqe arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, alz arg10, alz 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)
func_175805_a(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(adm arg0, aqe arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, alz 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(adm arg0, aqe arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, alz 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(adm arg0, int arg1, int arg2, int arg3, aqe 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(adm arg0, alz arg1, int arg2, int arg3, int arg4, aqe 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(adm arg0, aqe arg1, Random arg2, int arg3, int arg4, int arg5, List<ob> arg6, int arg7)
method_9275(class_1150 arg0, class_1251 arg1, Random arg2, int arg3, int arg4, int arg5, List<class_847> arg6, int arg7)
placeChestWithLoot(World world, StructureBox bounds, Random random, int x, int y, int z, List<LootEntry> entries, int amount)
generateChestContents(World worldIn, StructureBoundingBox boundingBoxIn, Random rand, int x, int y, int z, List<WeightedRandomChestContent> listIn, int max)
protected boolean
a(adm arg0, aqe arg1, Random arg2, int arg3, int arg4, int arg5, int arg6, List<ob> arg7, int arg8)
method_9274(class_1150 arg0, class_1251 arg1, Random arg2, int arg3, int arg4, int arg5, int arg6, List<class_847> arg7, int arg8)
placeDispenserWithLoot(World world, StructureBox bounds, Random random, int x, int y, int z, int facing, List<LootEntry> entries, int amount)
generateDispenserContents(World worldIn, StructureBoundingBox boundingBoxIn, Random rand, int x, int y, int z, int meta, List<WeightedRandomChestContent> listIn, int max)
protected void
a(adm arg0, aqe arg1, Random arg2, int arg3, int arg4, int arg5, cq 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)
func_181138_a(int arg0, int arg1, int arg2)