Class RuleStructureProcessor
java.lang.Object
net.minecraft.structure.processor.StructureProcessor
net.minecraft.structure.processor.RuleStructureProcessor
public class RuleStructureProcessor extends StructureProcessor
- Mappings:
Namespace Name official cyg
intermediary net/minecraft/class_3826
named net/minecraft/structure/processor/RuleStructureProcessor
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<RuleStructureProcessor>
CODEC
private ImmutableList<StructureProcessorRule>
rules
-
Constructor Summary
Constructors Constructor Description RuleStructureProcessor(List<? extends StructureProcessorRule> rules)
-
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
Lcyg;a:Lcom/mojang/serialization/Codec;
intermediary field_25011
Lnet/minecraft/class_3826;field_25011:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/structure/processor/RuleStructureProcessor;CODEC:Lcom/mojang/serialization/Codec;
-
rules
- Mappings:
Namespace Name Mixin selector official b
Lcyg;b:Lcom/google/common/collect/ImmutableList;
intermediary field_16881
Lnet/minecraft/class_3826;field_16881:Lcom/google/common/collect/ImmutableList;
named rules
Lnet/minecraft/structure/processor/RuleStructureProcessor;rules:Lcom/google/common/collect/ImmutableList;
-
-
Constructor Details
-
RuleStructureProcessor
- Mappings:
Namespace Name Mixin selector official <init>
Lcyg;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_3826;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/structure/processor/RuleStructureProcessor;<init>(Ljava/util/List;)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;
-