Package net.minecraft.structure.pool
Class EmptyPoolElement
java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
net.minecraft.structure.pool.EmptyPoolElement
public class EmptyPoolElement extends StructurePoolElement
- Mappings:
Namespace Name official ctp
intermediary net/minecraft/class_3777
named net/minecraft/structure/pool/EmptyPoolElement
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<EmptyPoolElement>
CODEC
static EmptyPoolElement
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
EmptyPoolElement()
-
Method Summary
Modifier and Type Method Description boolean
generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
BlockBox
getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
List<Structure.StructureBlockInfo>
getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
StructurePoolElementType<?>
getType()
String
toString()
Methods inherited from class net.minecraft.structure.pool.StructurePoolElement
getGroundLevelDelta, getProjection, method_16756, method_28883, method_30421, method_30425, method_30426, method_30429, method_30434, method_30435, method_30438, setProjection
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lctp;a:Lcom/mojang/serialization/Codec;
intermediary field_24947
Lnet/minecraft/class_3777;field_24947:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/structure/pool/EmptyPoolElement;CODEC:Lcom/mojang/serialization/Codec;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official b
Lctp;b:Lctp;
intermediary field_16663
Lnet/minecraft/class_3777;field_16663:Lnet/minecraft/class_3777;
named INSTANCE
Lnet/minecraft/structure/pool/EmptyPoolElement;INSTANCE:Lnet/minecraft/structure/pool/EmptyPoolElement;
-
-
Constructor Details
-
EmptyPoolElement
private EmptyPoolElement()
-
-
Method Details
-
getStructureBlockInfos
public List<Structure.StructureBlockInfo> getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)- Specified by:
getStructureBlockInfos
in classStructurePoolElement
- Mappings:
Namespace Name Mixin selector official a
Lctw;a(Lcyj;Lfx;Lccm;Ljava/util/Random;)Ljava/util/List;
intermediary method_16627
Lnet/minecraft/class_3784;method_16627(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Ljava/util/Random;)Ljava/util/List;
named getStructureBlockInfos
Lnet/minecraft/structure/pool/StructurePoolElement;getStructureBlockInfos(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Ljava/util/Random;)Ljava/util/List;
-
getBoundingBox
public BlockBox getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)- Specified by:
getBoundingBox
in classStructurePoolElement
- Mappings:
Namespace Name Mixin selector official a
Lctw;a(Lcyj;Lfx;Lccm;)Lcwn;
intermediary method_16628
Lnet/minecraft/class_3784;method_16628(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;)Lnet/minecraft/class_3341;
named getBoundingBox
Lnet/minecraft/structure/pool/StructurePoolElement;getBoundingBox(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/BlockBox;
-
generate
public boolean generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)- Specified by:
generate
in classStructurePoolElement
- Mappings:
Namespace Name Mixin selector official a
Lctw;a(Lcyj;Lbuq;Lbum;Lcjn;Lfx;Lfx;Lccm;Lcwn;Ljava/util/Random;Z)Z
intermediary method_16626
Lnet/minecraft/class_3784;method_16626(Lnet/minecraft/class_3485;Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_3341;Ljava/util/Random;Z)Z
named generate
Lnet/minecraft/structure/pool/StructurePoolElement;generate(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;Ljava/util/Random;Z)Z
-
getType
- Specified by:
getType
in classStructurePoolElement
- Mappings:
Namespace Name Mixin selector official a
Lctw;a()Lctx;
intermediary method_16757
Lnet/minecraft/class_3784;method_16757()Lnet/minecraft/class_3816;
named getType
Lnet/minecraft/structure/pool/StructurePoolElement;getType()Lnet/minecraft/structure/pool/StructurePoolElementType;
-
toString
-