Package net.minecraft.structure.pool
Class LegacySinglePoolElement
java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
net.minecraft.structure.pool.SinglePoolElement
net.minecraft.structure.pool.LegacySinglePoolElement
public class LegacySinglePoolElement extends SinglePoolElement
- Mappings:
Namespace Name official ctt
intermediary net/minecraft/class_5188
named net/minecraft/structure/pool/LegacySinglePoolElement
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<LegacySinglePoolElement>
CODEC
Fields inherited from class net.minecraft.structure.pool.SinglePoolElement
field_24015, field_24952, processors
-
Constructor Summary
Constructors Modifier Constructor Description protected
LegacySinglePoolElement(com.mojang.datafixers.util.Either<Identifier,Structure> either, Supplier<StructureProcessorList> processors, StructurePool.Projection projection)
-
Method Summary
Modifier and Type Method Description protected StructurePlacementData
createPlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws)
StructurePoolElementType<?>
getType()
String
toString()
Methods inherited from class net.minecraft.structure.pool.SinglePoolElement
generate, getBoundingBox, getDataStructureBlocks, getStructureBlockInfos, method_28880, method_28882
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
Lctt;a:Lcom/mojang/serialization/Codec;
intermediary field_24949
Lnet/minecraft/class_5188;field_24949:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/structure/pool/LegacySinglePoolElement;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
LegacySinglePoolElement
protected LegacySinglePoolElement(com.mojang.datafixers.util.Either<Identifier,Structure> either, Supplier<StructureProcessorList> processors, StructurePool.Projection projection)- Mappings:
Namespace Name Mixin selector official <init>
Lctv;<init>(Lcom/mojang/datafixers/util/Either;Ljava/util/function/Supplier;Lcty$a;)V
intermediary <init>
Lnet/minecraft/class_3781;<init>(Lcom/mojang/datafixers/util/Either;Ljava/util/function/Supplier;Lnet/minecraft/class_3785$class_3786;)V
named <init>
Lnet/minecraft/structure/pool/SinglePoolElement;<init>(Lcom/mojang/datafixers/util/Either;Ljava/util/function/Supplier;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
-
-
Method Details
-
createPlacementData
protected StructurePlacementData createPlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws)- Overrides:
createPlacementData
in classSinglePoolElement
- Mappings:
Namespace Name Mixin selector official a
Lctv;a(Lccm;Lcwn;Z)Lcyk;
intermediary method_16616
Lnet/minecraft/class_3781;method_16616(Lnet/minecraft/class_2470;Lnet/minecraft/class_3341;Z)Lnet/minecraft/class_3492;
named createPlacementData
Lnet/minecraft/structure/pool/SinglePoolElement;createPlacementData(Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;Z)Lnet/minecraft/structure/StructurePlacementData;
-
getType
- Overrides:
getType
in classSinglePoolElement
- 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
- Overrides:
toString
in classSinglePoolElement
- Mappings:
Namespace Name Mixin selector official toString
Lctv;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_3781;toString()Ljava/lang/String;
named toString
Lnet/minecraft/structure/pool/SinglePoolElement;toString()Ljava/lang/String;
-