net.minecraft.world.level.levelgen.structure

public abstract class StructurePiece

cty
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_16_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
length
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 length)
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(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_14943(class_2487 arg0)
toNbt(CompoundTag tag)
func_143011_b(CompoundNBT arg0)
public void
a(cty arg0, List<cty> arg1, Random arg2)
addChildren(StructurePiece arg0, List<StructurePiece> arg1, Random arg2)
method_14918(class_3443 arg0, List<class_3443> arg1, Random arg2)
placeJigsaw(StructurePiece arg0, List<StructurePiece> arg1, Random arg2)
func_74861_a(StructurePiece arg0, List<StructurePiece> arg1, Random arg2)
public abstract boolean
a(bqu arg0, bqq arg1, cha arg2, Random arg3, ctd arg4, bph arg5, fu arg6)
postProcess(WorldGenLevel arg0, StructureFeatureManager arg1, ChunkGenerator arg2, Random arg3, BoundingBox arg4, ChunkPos arg5, BlockPos arg6)
method_14931(class_5281 arg0, class_5138 arg1, class_2794 arg2, Random arg3, class_3341 arg4, class_1923 arg5, class_2338 arg6)
generate(ServerWorldAccess arg0, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos arg5, BlockPos arg6)
func_230383_a_(ISeedReader arg0, StructureManager arg1, ChunkGenerator arg2, Random arg3, MutableBoundingBox arg4, ChunkPos arg5, BlockPos arg6)
public BoundingBox
g()
getBoundingBox()
method_14935()
getBoundingBox()
func_74874_b()
public int
h()
getGenDepth()
method_14923()
getLength()
func_74877_c()
public boolean
a(bph arg0, int arg1)
isCloseToChunk(ChunkPos arg0, int arg1)
method_16654(class_1923 arg0, int arg1)
intersectsChunk(ChunkPos arg0, int offset)
func_214810_a(ChunkPos arg0, int arg1)
public static StructurePiece
a(List<cty> arg0, ctd arg1)
findCollisionPiece(List<StructurePiece> arg0, BoundingBox arg1)
method_14932(List<class_3443> arg0, class_3341 arg1)
getOverlappingPiece(List<StructurePiece> arg0, BlockBox arg1)
func_74883_a(List<StructurePiece> arg0, MutableBoundingBox arg1)
protected boolean
a(bpg arg0, ctd arg1)
edgesLiquid(BlockGetter arg0, BoundingBox arg1)
method_14937(class_1922 arg0, class_3341 arg1)
method_14937(BlockView arg0, BlockBox 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(bqc arg0, cfj arg1, int arg2, int arg3, int arg4, ctd 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(WorldAccess 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(bpg arg0, int arg1, int arg2, int arg3, ctd 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(bqd arg0, int arg1, int arg2, int arg3, ctd 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(bqc arg0, ctd 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(WorldAccess 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(bqc arg0, ctd arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, cfj arg8, cfj 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(WorldAccess 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(bqc arg0, ctd arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, cty$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(WorldAccess 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(bqc arg0, ctd arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, cfj arg10, cfj 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(WorldAccess 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(bqc arg0, ctd arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, cfj 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(WorldAccess 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(bqc arg0, ctd arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, cfj 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(WorldAccess 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(bqc arg0, cfj arg1, int arg2, int arg3, int arg4, ctd 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(WorldAccess 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(bqc arg0, ctd arg1, Random arg2, int arg3, int arg4, int arg5, uh 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(WorldAccess 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(bpg arg0, fu arg1, cfj arg2)
reorient(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_14916(class_1922 arg0, class_2338 arg1, class_2680 arg2)
method_14916(BlockView arg0, BlockPos arg1, BlockState arg2)
func_197528_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)
protected boolean
a(bqc arg0, ctd arg1, Random arg2, fu arg3, uh arg4, cfj 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(WorldAccess 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(bqc arg0, ctd arg1, Random arg2, int arg3, int arg4, int arg5, fz arg6, uh 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(WorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Direction facing, Identifier lootTableId)
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(fz arg0)
setOrientation(Direction arg0)
method_14926(class_2350 arg0)
setOrientation(Direction orientation)
func_186164_a(Direction arg0)
public Rotation
ap_()
getRotation()
method_16888()
getRotation()
func_214809_Y_()
public StructurePieceType
k()
getType()
method_16653()
getType()
func_214807_k()