Class StructureProcessorRule
java.lang.Object
net.minecraft.structure.processor.StructureProcessorRule
public class StructureProcessorRule extends Object
- Mappings:
Namespace Name official czfintermediary net/minecraft/class_3821named net/minecraft/structure/processor/StructureProcessorRule
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<StructureProcessorRule>CODECprivate RuleTestinputPredicateprivate RuleTestlocationPredicateprivate BlockStateoutputStateprivate PosRuleTestpositionPredicateprivate @Nullable CompoundTagtag -
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 BlockStategetOutputState()@Nullable CompoundTaggetTag()booleantest(BlockState input, BlockState location, BlockPos blockPos, BlockPos blockPos2, BlockPos blockPos3, Random random)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLczf;a:Lcom/mojang/serialization/Codec;intermediary field_25008Lnet/minecraft/class_3821;field_25008:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/processor/StructureProcessorRule;CODEC:Lcom/mojang/serialization/Codec;
-
inputPredicate
- Mappings:
Namespace Name Mixin selector official bLczf;b:Lczj;intermediary field_16872Lnet/minecraft/class_3821;field_16872:Lnet/minecraft/class_3825;named inputPredicateLnet/minecraft/structure/processor/StructureProcessorRule;inputPredicate:Lnet/minecraft/structure/rule/RuleTest;
-
locationPredicate
- Mappings:
Namespace Name Mixin selector official cLczf;c:Lczj;intermediary field_16873Lnet/minecraft/class_3821;field_16873:Lnet/minecraft/class_3825;named locationPredicateLnet/minecraft/structure/processor/StructureProcessorRule;locationPredicate:Lnet/minecraft/structure/rule/RuleTest;
-
positionPredicate
- Mappings:
Namespace Name Mixin selector official dLczf;d:Lczd;intermediary field_23347Lnet/minecraft/class_3821;field_23347:Lnet/minecraft/class_4995;named positionPredicateLnet/minecraft/structure/processor/StructureProcessorRule;positionPredicate:Lnet/minecraft/structure/rule/PosRuleTest;
-
outputState
- Mappings:
Namespace Name Mixin selector official eLczf;e:Lcim;intermediary field_16874Lnet/minecraft/class_3821;field_16874:Lnet/minecraft/class_2680;named outputStateLnet/minecraft/structure/processor/StructureProcessorRule;outputState:Lnet/minecraft/block/BlockState;
-
tag
- Mappings:
Namespace Name Mixin selector official fLczf;f:Lmr;intermediary field_16875Lnet/minecraft/class_3821;field_16875:Lnet/minecraft/class_2487;named tagLnet/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>Lczf;<init>(Lczj;Lczj;Lcim;)Vintermediary <init>Lnet/minecraft/class_3821;<init>(Lnet/minecraft/class_3825;Lnet/minecraft/class_3825;Lnet/minecraft/class_2680;)Vnamed <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>Lczf;<init>(Lczj;Lczj;Lczd;Lcim;)Vintermediary <init>Lnet/minecraft/class_3821;<init>(Lnet/minecraft/class_3825;Lnet/minecraft/class_3825;Lnet/minecraft/class_4995;Lnet/minecraft/class_2680;)Vnamed <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>Lczf;<init>(Lczj;Lczj;Lczd;Lcim;Ljava/util/Optional;)Vintermediary <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;)Vnamed <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 aLczf;a(Lcim;Lcim;Lfx;Lfx;Lfx;Ljava/util/Random;)Zintermediary method_16762Lnet/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;)Znamed testLnet/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 aLczf;a()Lcim;intermediary method_16763Lnet/minecraft/class_3821;method_16763()Lnet/minecraft/class_2680;named getOutputStateLnet/minecraft/structure/processor/StructureProcessorRule;getOutputState()Lnet/minecraft/block/BlockState;
-
getTag
- Mappings:
Namespace Name Mixin selector official bLczf;b()Lmr;intermediary method_16760Lnet/minecraft/class_3821;method_16760()Lnet/minecraft/class_2487;named getTagLnet/minecraft/structure/processor/StructureProcessorRule;getTag()Lnet/minecraft/nbt/CompoundTag;
-