net.minecraft.world.level.levelgen.structure

public abstract class StructurePiece

clu
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_15_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(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_14943(class_2487 arg0)
toNbt(CompoundTag tag)
func_143011_b(CompoundNBT arg0)
public void
a(clu arg0, List<clu> 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(bjx arg0, caa<?> arg1, Random arg2, clb arg3, bjh arg4)
postProcess(LevelAccessor arg0, ChunkGenerator<?> arg1, Random arg2, BoundingBox arg3, ChunkPos arg4)
method_14931(class_1936 arg0, class_2794<?> arg1, Random arg2, class_3341 arg3, class_1923 arg4)
generate(IWorld world, ChunkGenerator<?> generator, Random random, BlockBox box, ChunkPos pos)
func_225577_a_(IWorld arg0, ChunkGenerator<?> arg1, Random arg2, MutableBoundingBox arg3, ChunkPos arg4)
public BoundingBox
g()
getBoundingBox()
method_14935()
getBoundingBox()
func_74874_b()
public int
h()
getGenDepth()
method_14923()
func_74877_c()
public boolean
a(bjh 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<clu> arg0, clb 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(bjg arg0, clb 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(bjx arg0, byj arg1, int arg2, int arg3, int arg4, clb 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(bjg arg0, int arg1, int arg2, int arg3, clb 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(bjz arg0, int arg1, int arg2, int arg3, clb arg4)
isInterior(LevelReader arg0, int arg1, int arg2, int arg3, BoundingBox arg4)
method_14939(class_4538 arg0, int arg1, int arg2, int arg3, class_3341 arg4)
isUnderSeaLevel(WorldView 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(bjx arg0, clb 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(bjx arg0, clb arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, byj arg8, byj 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(bjx arg0, clb arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, clu$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(bjx arg0, clb arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, byj arg10, byj 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(bjx arg0, clb arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, byj 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(bjx arg0, clb arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, byj 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(bjx arg0, byj arg1, int arg2, int arg3, int arg4, clb 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(bjx arg0, clb arg1, Random arg2, int arg3, int arg4, int arg5, sm 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(bjg arg0, fk arg1, byj 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(bjx arg0, clb arg1, Random arg2, fk arg3, sm arg4, byj 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(bjx arg0, clb arg1, Random arg2, int arg3, int arg4, int arg5, fp arg6, sm 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(fp arg0)
setOrientation(Direction arg0)
method_14926(class_2350 arg0)
setOrientation(Direction orientation)
func_186164_a(Direction arg0)
public Rotation
ad_()
getRotation()
method_16888()
getRotation()
func_214809_Y_()
public StructurePieceType
k()
getType()
method_16653()
getType()
func_214807_k()