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 named net/minecraft/structure/pool/LegacySinglePoolElement
intermediary net/minecraft/class_5188
official epo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<LegacySinglePoolElement> Fields inherited from class net.minecraft.structure.pool.SinglePoolElement
location, overrideLiquidSettings, processors
-
Constructor Summary
ModifierConstructorDescriptionprotected
LegacySinglePoolElement
(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection, Optional<StructureLiquidSettings> overrideLiquidSettings) -
Method Summary
Modifier and TypeMethodDescriptionprotected StructurePlacementData
createPlacementData
(BlockRotation rotation, BlockBox box, StructureLiquidSettings liquidSettings, boolean keepJigsaws) getType()
toString()
Methods inherited from class net.minecraft.structure.pool.SinglePoolElement
generate, getBoundingBox, getDataStructureBlocks, getStart, getStructureBlockInfos, locationGetter, overrideLiquidSettingsGetter, processorsGetter, sort
Methods inherited from class net.minecraft.structure.pool.StructurePoolElement
getGroundLevelDelta, getProjection, method_16756, ofEmpty, ofFeature, ofLegacySingle, ofList, ofProcessedLegacySingle, ofProcessedSingle, ofProcessedSingle, ofSingle, ofSingle, projectionGetter, setProjection
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/structure/pool/LegacySinglePoolElement;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_24949
Lnet/minecraft/class_5188;field_24949:Lcom/mojang/serialization/MapCodec;
official a
Lepo;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
LegacySinglePoolElement
protected LegacySinglePoolElement(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection, Optional<StructureLiquidSettings> overrideLiquidSettings) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/structure/pool/SinglePoolElement;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/structure/pool/StructurePool$Projection;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_3781;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/class_6880;Lnet/minecraft/class_3785$class_3786;Ljava/util/Optional;)V
official <init>
Lepq;<init>(Lcom/mojang/datafixers/util/Either;Ljq;Lept$a;Ljava/util/Optional;)V
-
-
Method Details
-
createPlacementData
protected StructurePlacementData createPlacementData(BlockRotation rotation, BlockBox box, StructureLiquidSettings liquidSettings, boolean keepJigsaws) - Overrides:
createPlacementData
in classSinglePoolElement
- Mappings:
Namespace Name Mixin selector named createPlacementData
Lnet/minecraft/structure/pool/SinglePoolElement;createPlacementData(Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/structure/StructureLiquidSettings;Z)Lnet/minecraft/structure/StructurePlacementData;
intermediary method_16616
Lnet/minecraft/class_3781;method_16616(Lnet/minecraft/class_2470;Lnet/minecraft/class_3341;Lnet/minecraft/class_9822;Z)Lnet/minecraft/class_3492;
official a
Lepq;a(Ldrb;Leob;Lerv;Z)Lesh;
-
getType
- Overrides:
getType
in classSinglePoolElement
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/structure/pool/StructurePoolElement;getType()Lnet/minecraft/structure/pool/StructurePoolElementType;
intermediary method_16757
Lnet/minecraft/class_3784;method_16757()Lnet/minecraft/class_3816;
official a
Lepr;a()Leps;
-
toString
- Overrides:
toString
in classSinglePoolElement
-