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
- Mappings:
Namespace Name official dtbintermediary net/minecraft/class_5188named net/minecraft/structure/pool/LegacySinglePoolElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LegacySinglePoolElement>Fields inherited from class net.minecraft.structure.pool.SinglePoolElement
location, processors -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLegacySinglePoolElement(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection) -
Method Summary
Modifier and TypeMethodDescriptionprotected StructurePlacementDatacreatePlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws) getType()toString()Methods inherited from class net.minecraft.structure.pool.SinglePoolElement
generate, getBoundingBox, getDataStructureBlocks, getStart, getStructureBlockInfos, locationGetter, processorsGetterMethods inherited from class net.minecraft.structure.pool.StructurePoolElement
getGroundLevelDelta, getProjection, method_16756, ofEmpty, ofFeature, ofLegacySingle, ofList, ofProcessedLegacySingle, ofProcessedSingle, ofSingle, projectionGetter, setProjection
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLdtb;a:Lcom/mojang/serialization/Codec;intermediary field_24949Lnet/minecraft/class_5188;field_24949:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/pool/LegacySinglePoolElement;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
LegacySinglePoolElement
protected LegacySinglePoolElement(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection) - Mappings:
Namespace Name Mixin selector official <init>Ldtd;<init>(Lcom/mojang/datafixers/util/Either;Lhe;Ldtg$a;)Vintermediary <init>Lnet/minecraft/class_3781;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/class_6880;Lnet/minecraft/class_3785$class_3786;)Vnamed <init>Lnet/minecraft/structure/pool/SinglePoolElement;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
-
-
Method Details
-
createPlacementData
protected StructurePlacementData createPlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws) - Overrides:
createPlacementDatain classSinglePoolElement- Mappings:
Namespace Name Mixin selector official aLdtd;a(Lcvw;Ldrp;Z)Ldvm;intermediary method_16616Lnet/minecraft/class_3781;method_16616(Lnet/minecraft/class_2470;Lnet/minecraft/class_3341;Z)Lnet/minecraft/class_3492;named createPlacementDataLnet/minecraft/structure/pool/SinglePoolElement;createPlacementData(Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;Z)Lnet/minecraft/structure/StructurePlacementData;
-
getType
- Overrides:
getTypein classSinglePoolElement- Mappings:
Namespace Name Mixin selector official aLdte;a()Ldtf;intermediary method_16757Lnet/minecraft/class_3784;method_16757()Lnet/minecraft/class_3816;named getTypeLnet/minecraft/structure/pool/StructurePoolElement;getType()Lnet/minecraft/structure/pool/StructurePoolElementType;
-
toString
- Overrides:
toStringin classSinglePoolElement
-