Class StructureProcessorRule
java.lang.Object
net.minecraft.structure.processor.StructureProcessorRule
public class StructureProcessorRule extends Object
- Mappings:
Namespace Name official cyd
intermediary net/minecraft/class_3821
named net/minecraft/structure/processor/StructureProcessorRule
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<StructureProcessorRule>
CODEC
private RuleTest
inputPredicate
private RuleTest
locationPredicate
private BlockState
outputState
private PosRuleTest
positionPredicate
private CompoundTag
tag
-
Constructor Summary
Constructors Constructor Description StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, BlockState state)
StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState state)
StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState outputState, Optional<CompoundTag> tag)
-
Method Summary
Modifier and Type Method Description BlockState
getOutputState()
CompoundTag
getTag()
boolean
test(BlockState input, BlockState location, BlockPos blockPos, BlockPos blockPos2, BlockPos blockPos3, Random random)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcyd;a:Lcom/mojang/serialization/Codec;
intermediary field_25008
Lnet/minecraft/class_3821;field_25008:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/structure/processor/StructureProcessorRule;CODEC:Lcom/mojang/serialization/Codec;
-
inputPredicate
- Mappings:
Namespace Name Mixin selector official b
Lcyd;b:Lcyh;
intermediary field_16872
Lnet/minecraft/class_3821;field_16872:Lnet/minecraft/class_3825;
named inputPredicate
Lnet/minecraft/structure/processor/StructureProcessorRule;inputPredicate:Lnet/minecraft/structure/rule/RuleTest;
-
locationPredicate
- Mappings:
Namespace Name Mixin selector official c
Lcyd;c:Lcyh;
intermediary field_16873
Lnet/minecraft/class_3821;field_16873:Lnet/minecraft/class_3825;
named locationPredicate
Lnet/minecraft/structure/processor/StructureProcessorRule;locationPredicate:Lnet/minecraft/structure/rule/RuleTest;
-
positionPredicate
- Mappings:
Namespace Name Mixin selector official d
Lcyd;d:Lcyb;
intermediary field_23347
Lnet/minecraft/class_3821;field_23347:Lnet/minecraft/class_4995;
named positionPredicate
Lnet/minecraft/structure/processor/StructureProcessorRule;positionPredicate:Lnet/minecraft/structure/rule/PosRuleTest;
-
outputState
- Mappings:
Namespace Name Mixin selector official e
Lcyd;e:Lcht;
intermediary field_16874
Lnet/minecraft/class_3821;field_16874:Lnet/minecraft/class_2680;
named outputState
Lnet/minecraft/structure/processor/StructureProcessorRule;outputState:Lnet/minecraft/block/BlockState;
-
tag
- Mappings:
Namespace Name Mixin selector official f
Lcyd;f:Lmq;
intermediary field_16875
Lnet/minecraft/class_3821;field_16875:Lnet/minecraft/class_2487;
named tag
Lnet/minecraft/structure/processor/StructureProcessorRule;tag:Lnet/minecraft/nbt/CompoundTag;
-
-
Constructor Details
-
StructureProcessorRule
public StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, BlockState state)- Mappings:
Namespace Name Mixin selector official <init>
Lcyd;<init>(Lcyh;Lcyh;Lcht;)V
intermediary <init>
Lnet/minecraft/class_3821;<init>(Lnet/minecraft/class_3825;Lnet/minecraft/class_3825;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/structure/processor/StructureProcessorRule;<init>(Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/block/BlockState;)V
-
StructureProcessorRule
public StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState state)- Mappings:
Namespace Name Mixin selector official <init>
Lcyd;<init>(Lcyh;Lcyh;Lcyb;Lcht;)V
intermediary <init>
Lnet/minecraft/class_3821;<init>(Lnet/minecraft/class_3825;Lnet/minecraft/class_3825;Lnet/minecraft/class_4995;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/structure/processor/StructureProcessorRule;<init>(Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/structure/rule/PosRuleTest;Lnet/minecraft/block/BlockState;)V
-
StructureProcessorRule
public StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState outputState, Optional<CompoundTag> tag)- Mappings:
Namespace Name Mixin selector official <init>
Lcyd;<init>(Lcyh;Lcyh;Lcyb;Lcht;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_3821;<init>(Lnet/minecraft/class_3825;Lnet/minecraft/class_3825;Lnet/minecraft/class_4995;Lnet/minecraft/class_2680;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/structure/processor/StructureProcessorRule;<init>(Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/structure/rule/PosRuleTest;Lnet/minecraft/block/BlockState;Ljava/util/Optional;)V
-
-
Method Details
-
test
public boolean test(BlockState input, BlockState location, BlockPos blockPos, BlockPos blockPos2, BlockPos blockPos3, Random random)- Mappings:
Namespace Name Mixin selector official a
Lcyd;a(Lcht;Lcht;Lfx;Lfx;Lfx;Ljava/util/Random;)Z
intermediary method_16762
Lnet/minecraft/class_3821;method_16762(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
named test
Lnet/minecraft/structure/processor/StructureProcessorRule;test(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
-
getOutputState
- Mappings:
Namespace Name Mixin selector official a
Lcyd;a()Lcht;
intermediary method_16763
Lnet/minecraft/class_3821;method_16763()Lnet/minecraft/class_2680;
named getOutputState
Lnet/minecraft/structure/processor/StructureProcessorRule;getOutputState()Lnet/minecraft/block/BlockState;
-
getTag
- Mappings:
Namespace Name Mixin selector official b
Lcyd;b()Lmq;
intermediary method_16760
Lnet/minecraft/class_3821;method_16760()Lnet/minecraft/class_2487;
named getTag
Lnet/minecraft/structure/processor/StructureProcessorRule;getTag()Lnet/minecraft/nbt/CompoundTag;
-