net.minecraft.world.level.levelgen.structure

public abstract class StructurePiece

civ
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.class_3443
net.minecraft.structure.StructurePiece
net.minecraft.world.gen.feature.structure.StructurePiece
net.minecraft.server.v1_14_R1.StructurePiece

Field summary

Modifier and TypeField
protected static final BlockState
m
CAVE_AIR
field_15314
AIR
field_202556_l
protected BoundingBox
n
boundingBox
field_15315
boundingBox
field_74887_e
private Direction
a
orientation
field_15312
facing
field_74885_f
private Mirror
b
mirror
field_15310
mirror
field_186168_b
private Rotation
c
rotation
field_15313
rotation
field_186169_c
protected int
o
genDepth
field_15316
field_74886_g
private final StructurePieceType
d
type
field_16712
type
field_214811_d
private static final Set<Block>
e
SHAPE_CHECK_BLOCKS
field_15311
BLOCKS_NEEDING_POST_PROCESSING
field_211413_d

Constructor summary

ModifierConstructor
protected (StructurePieceType type, int arg1)
public (StructurePieceType type, CompoundTag tag)

Method summary

Modifier and TypeMethod
public final CompoundTag
f()
createTag()
method_14946()
getTag()
func_143010_b()
protected abstract void
a(id arg0)
addAdditionalSaveData(CompoundTag arg0)
method_14943(class_2487 arg0)
toNbt(CompoundTag tag)
func_143011_b(CompoundNBT arg0)
public void
a(civ arg0, List<civ> arg1, Random arg2)
addChildren(StructurePiece arg0, List<StructurePiece> arg1, Random arg2)
method_14918(class_3443 arg0, List<class_3443> arg1, Random arg2)
func_74861_a(StructurePiece arg0, List<StructurePiece> arg1, Random arg2)
public abstract boolean
a(bhs arg0, Random arg1, cic arg2, bhd arg3)
postProcess(LevelAccessor arg0, Random arg1, BoundingBox arg2, ChunkPos arg3)
method_14931(class_1936 arg0, Random arg1, class_3341 arg2, class_1923 arg3)
generate(IWorld world, Random random, BlockBox boundingBox, ChunkPos pos)
func_74875_a(IWorld arg0, Random arg1, MutableBoundingBox arg2, ChunkPos arg3)
public BoundingBox
g()
getBoundingBox()
method_14935()
getBoundingBox()
func_74874_b()
public int
h()
getGenDepth()
method_14923()
func_74877_c()
public boolean
a(bhd arg0, int arg1)
isCloseToChunk(ChunkPos arg0, int arg1)
method_16654(class_1923 arg0, int arg1)
func_214810_a(ChunkPos arg0, int arg1)
public static StructurePiece
a(List<civ> arg0, cic arg1)
findCollisionPiece(List<StructurePiece> arg0, BoundingBox arg1)
method_14932(List<class_3443> arg0, class_3341 arg1)
func_74883_a(List<StructurePiece> arg0, MutableBoundingBox arg1)
protected boolean
a(bhb arg0, cic arg1)
edgesLiquid(BlockGetter arg0, BoundingBox arg1)
method_14937(class_1922 arg0, class_3341 arg1)
func_74860_a(IBlockReader arg0, MutableBoundingBox arg1)
protected int
a(int arg0, int arg1)
getWorldX(int arg0, int arg1)
method_14928(int arg0, int arg1)
applyXTransform(int arg0, int arg1)
func_74865_a(int arg0, int arg1)
protected int
d(int arg0)
getWorldY(int arg0)
method_14924(int arg0)
applyYTransform(int arg0)
func_74862_a(int arg0)
protected int
b(int arg0, int arg1)
getWorldZ(int arg0, int arg1)
method_14941(int arg0, int arg1)
applyZTransform(int arg0, int arg1)
func_74873_b(int arg0, int arg1)
protected void
a(bhs arg0, bvt arg1, int arg2, int arg3, int arg4, cic arg5)
placeBlock(LevelAccessor arg0, BlockState arg1, int arg2, int arg3, int arg4, BoundingBox arg5)
method_14917(class_1936 arg0, class_2680 arg1, int arg2, int arg3, int arg4, class_3341 arg5)
addBlock(IWorld world, BlockState block, int x, int y, int z, BlockBox arg5)
func_175811_a(IWorld arg0, BlockState arg1, int arg2, int arg3, int arg4, MutableBoundingBox arg5)
protected BlockState
a(bhb arg0, int arg1, int arg2, int arg3, cic arg4)
getBlock(BlockGetter arg0, int arg1, int arg2, int arg3, BoundingBox arg4)
method_14929(class_1922 arg0, int arg1, int arg2, int arg3, class_3341 arg4)
getBlockAt(BlockView arg0, int x, int y, int z, BlockBox arg4)
func_175807_a(IBlockReader arg0, int arg1, int arg2, int arg3, MutableBoundingBox arg4)
protected boolean
a(bhu arg0, int arg1, int arg2, int arg3, cic arg4)
isInterior(LevelReader arg0, int arg1, int arg2, int arg3, BoundingBox arg4)
method_14939(class_1941 arg0, int arg1, int arg2, int arg3, class_3341 arg4)
isUnderSeaLevel(CollisionView arg0, int x, int z, int y, BlockBox arg4)
func_189916_b(IWorldReader arg0, int arg1, int arg2, int arg3, MutableBoundingBox arg4)
protected void
b(bhs arg0, cic arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
generateAirBox(LevelAccessor arg0, BoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
method_14942(class_1936 arg0, class_3341 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
fill(IWorld world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int arg7)
func_74878_a(IWorld arg0, MutableBoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
protected void
a(bhs arg0, cic arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, bvt arg8, bvt arg9, boolean arg10)
generateBox(LevelAccessor arg0, BoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BlockState arg8, BlockState arg9, boolean arg10)
method_14940(class_1936 arg0, class_3341 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, class_2680 arg8, class_2680 arg9, boolean arg10)
fillWithOutline(IWorld world, BlockBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BlockState arg8, BlockState inside, boolean arg10)
func_175804_a(IWorld arg0, MutableBoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BlockState arg8, BlockState arg9, boolean arg10)
protected void
a(bhs arg0, cic arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, civ$a arg10)
generateBox(LevelAccessor arg0, BoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, StructurePiece$BlockSelector arg10)
method_14938(class_1936 arg0, class_3341 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, class_3443$class_3444 arg10)
fillWithOutline(IWorld arg0, BlockBox arg1, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean replaceBlocks, Random random, StructurePiece$BlockRandomizer arg10)
func_74882_a(IWorld arg0, MutableBoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, StructurePiece$BlockSelector arg10)
protected void
a(bhs arg0, cic arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, bvt arg10, bvt arg11, boolean arg12, boolean arg13)
generateMaybeBox(LevelAccessor arg0, BoundingBox arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, BlockState arg10, BlockState arg11, boolean arg12, boolean arg13)
method_14933(class_1936 arg0, class_3341 arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, class_2680 arg10, class_2680 arg11, boolean arg12, boolean arg13)
fillWithOutlineUnderSealevel(IWorld arg0, BlockBox arg1, Random random, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, BlockState arg10, BlockState arg11, boolean arg12, boolean arg13)
func_189914_a(IWorld arg0, MutableBoundingBox arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, BlockState arg10, BlockState arg11, boolean arg12, boolean arg13)
protected void
a(bhs arg0, cic arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, bvt arg7)
maybeGenerateBlock(LevelAccessor arg0, BoundingBox arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, BlockState arg7)
method_14945(class_1936 arg0, class_3341 arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, class_2680 arg7)
addBlockWithRandomThreshold(IWorld world, BlockBox bounds, Random random, float threshold, int x, int y, int z, BlockState arg7)
func_175809_a(IWorld arg0, MutableBoundingBox arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, BlockState arg7)
protected void
a(bhs arg0, cic arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, bvt arg8, boolean arg9)
generateUpperHalfSphere(LevelAccessor arg0, BoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BlockState arg8, boolean arg9)
method_14919(class_1936 arg0, class_3341 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, class_2680 arg8, boolean arg9)
method_14919(IWorld world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState block, boolean arg9)
func_180777_a(IWorld arg0, MutableBoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BlockState arg8, boolean arg9)
protected void
b(bhs arg0, bvt arg1, int arg2, int arg3, int arg4, cic arg5)
fillColumnDown(LevelAccessor arg0, BlockState arg1, int arg2, int arg3, int arg4, BoundingBox arg5)
method_14936(class_1936 arg0, class_2680 arg1, int arg2, int arg3, int arg4, class_3341 arg5)
method_14936(IWorld world, BlockState arg1, int x, int y, int z, BlockBox arg5)
func_175808_b(IWorld arg0, BlockState arg1, int arg2, int arg3, int arg4, MutableBoundingBox arg5)
protected boolean
a(bhs arg0, cic arg1, Random arg2, int arg3, int arg4, int arg5, qv arg6)
createChest(LevelAccessor arg0, BoundingBox arg1, Random arg2, int arg3, int arg4, int arg5, ResourceLocation arg6)
method_14915(class_1936 arg0, class_3341 arg1, Random arg2, int arg3, int arg4, int arg5, class_2960 arg6)
addChest(IWorld world, BlockBox boundingBox, Random random, int x, int y, int z, Identifier lootTableId)
func_186167_a(IWorld arg0, MutableBoundingBox arg1, Random arg2, int arg3, int arg4, int arg5, ResourceLocation arg6)
public static BlockState
a(bhb arg0, ew arg1, bvt arg2)
reorient(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_14916(class_1922 arg0, class_2338 arg1, class_2680 arg2)
func_197528_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)
protected boolean
a(bhs arg0, cic arg1, Random arg2, ew arg3, qv arg4, bvt arg5)
createChest(LevelAccessor arg0, BoundingBox arg1, Random arg2, BlockPos arg3, ResourceLocation arg4, BlockState arg5)
method_14921(class_1936 arg0, class_3341 arg1, Random arg2, class_2338 arg3, class_2960 arg4, class_2680 arg5)
addChest(IWorld world, BlockBox boundingBox, Random random, BlockPos pos, Identifier lootTableId, BlockState block)
func_191080_a(IWorld arg0, MutableBoundingBox arg1, Random arg2, BlockPos arg3, ResourceLocation arg4, BlockState arg5)
protected boolean
a(bhs arg0, cic arg1, Random arg2, int arg3, int arg4, int arg5, fb arg6, qv arg7)
createDispenser(LevelAccessor arg0, BoundingBox arg1, Random arg2, int arg3, int arg4, int arg5, Direction arg6, ResourceLocation arg7)
method_14930(class_1936 arg0, class_3341 arg1, Random arg2, int arg3, int arg4, int arg5, class_2350 arg6, class_2960 arg7)
addDispenser(IWorld world, BlockBox boundingBox, Random random, int x, int y, int z, Direction facing, Identifier lootTbaleId)
func_189419_a(IWorld arg0, MutableBoundingBox arg1, Random arg2, int arg3, int arg4, int arg5, Direction arg6, ResourceLocation arg7)
public void
a(int arg0, int arg1, int arg2)
move(int arg0, int arg1, int arg2)
method_14922(int arg0, int arg1, int arg2)
translate(int x, int y, int z)
func_181138_a(int arg0, int arg1, int arg2)
public Direction
i()
getOrientation()
method_14934()
getFacing()
func_186165_e()
public void
a(fb arg0)
setOrientation(Direction arg0)
method_14926(class_2350 arg0)
setOrientation(Direction orientation)
func_186164_a(Direction arg0)
public Rotation
X_()
getRotation()
method_16888()
getRotation()
func_214809_Y_()
public StructurePieceType
k()
getType()
method_16653()
getType()
func_214807_k()