Class GravityStructureProcessor
java.lang.Object
net.minecraft.structure.processor.StructureProcessor
net.minecraft.structure.processor.GravityStructureProcessor
public class GravityStructureProcessor extends StructureProcessor
- Mappings:
Namespace Name official cxv
intermediary net/minecraft/class_3795
named net/minecraft/structure/processor/GravityStructureProcessor
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<GravityStructureProcessor>
CODEC
private Heightmap.Type
heightmap
private int
offset
-
Constructor Summary
Constructors Constructor Description GravityStructureProcessor(Heightmap.Type heightmap, int offset)
-
Method Summary
Modifier and Type Method Description protected StructureProcessorType<?>
getType()
Structure.StructureBlockInfo
process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcxv;a:Lcom/mojang/serialization/Codec;
intermediary field_25002
Lnet/minecraft/class_3795;field_25002:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/structure/processor/GravityStructureProcessor;CODEC:Lcom/mojang/serialization/Codec;
-
heightmap
- Mappings:
Namespace Name Mixin selector official b
Lcxv;b:Lcmm$a;
intermediary field_16723
Lnet/minecraft/class_3795;field_16723:Lnet/minecraft/class_2902$class_2903;
named heightmap
Lnet/minecraft/structure/processor/GravityStructureProcessor;heightmap:Lnet/minecraft/world/Heightmap$Type;
-
offset
private final int offset- Mappings:
Namespace Name Mixin selector official c
Lcxv;c:I
intermediary field_16725
Lnet/minecraft/class_3795;field_16725:I
named offset
Lnet/minecraft/structure/processor/GravityStructureProcessor;offset:I
-
-
Constructor Details
-
GravityStructureProcessor
- Mappings:
Namespace Name Mixin selector official <init>
Lcxv;<init>(Lcmm$a;I)V
intermediary <init>
Lnet/minecraft/class_3795;<init>(Lnet/minecraft/class_2902$class_2903;I)V
named <init>
Lnet/minecraft/structure/processor/GravityStructureProcessor;<init>(Lnet/minecraft/world/Heightmap$Type;I)V
-
-
Method Details
-
process
@Nullable public Structure.StructureBlockInfo process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)- Specified by:
process
in classStructureProcessor
- Mappings:
Namespace Name Mixin selector official a
Lcyl;a(Lbty;Lfx;Lfx;Lcyo$c;Lcyo$c;Lcyk;)Lcyo$c;
intermediary method_15110
Lnet/minecraft/class_3491;method_15110(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_3499$class_3501;Lnet/minecraft/class_3499$class_3501;Lnet/minecraft/class_3492;)Lnet/minecraft/class_3499$class_3501;
named process
Lnet/minecraft/structure/processor/StructureProcessor;process(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/Structure$StructureBlockInfo;Lnet/minecraft/structure/Structure$StructureBlockInfo;Lnet/minecraft/structure/StructurePlacementData;)Lnet/minecraft/structure/Structure$StructureBlockInfo;
-
getType
- Specified by:
getType
in classStructureProcessor
- Mappings:
Namespace Name Mixin selector official a
Lcyl;a()Lcyn;
intermediary method_16772
Lnet/minecraft/class_3491;method_16772()Lnet/minecraft/class_3828;
named getType
Lnet/minecraft/structure/processor/StructureProcessor;getType()Lnet/minecraft/structure/processor/StructureProcessorType;
-