Class StructureProcessorRule
java.lang.Object
net.minecraft.structure.processor.StructureProcessorRule
- Mappings:
Namespace Name official dvfintermediary net/minecraft/class_3821named net/minecraft/structure/processor/StructureProcessorRule
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RuleBlockEntityModifierstatic final com.mojang.serialization.Codec<StructureProcessorRule>static final PassthroughRuleBlockEntityModifierprivate final RuleTestprivate final RuleTestprivate final BlockStateprivate final PosRuleTest -
Constructor Summary
ConstructorsConstructorDescriptionStructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, BlockState state) StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState state) StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState outputState, RuleBlockEntityModifier blockEntityModifier) -
Method Summary
Modifier and TypeMethodDescriptiongetOutputNbt(Random random, @Nullable NbtCompound nbt) booleantest(BlockState input, BlockState currentState, BlockPos originalPos, BlockPos currentPos, BlockPos pivot, Random random)
-
Field Details
-
DEFAULT_BLOCK_ENTITY_MODIFIER
- Mappings:
Namespace Name Mixin selector official aLdvf;a:Ldvx;intermediary field_43333Lnet/minecraft/class_3821;field_43333:Lnet/minecraft/class_8247;named DEFAULT_BLOCK_ENTITY_MODIFIERLnet/minecraft/structure/processor/StructureProcessorRule;DEFAULT_BLOCK_ENTITY_MODIFIER:Lnet/minecraft/structure/rule/blockentity/PassthroughRuleBlockEntityModifier;
-
CODEC
- Mappings:
Namespace Name Mixin selector official bLdvf;b: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 cLdvf;c:Ldvk;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 dLdvf;d:Ldvk;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 eLdvf;e:Ldvd;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 fLdvf;f:Ldby;intermediary field_16874Lnet/minecraft/class_3821;field_16874:Lnet/minecraft/class_2680;named outputStateLnet/minecraft/structure/processor/StructureProcessorRule;outputState:Lnet/minecraft/block/BlockState;
-
blockEntityModifier
- Mappings:
Namespace Name Mixin selector official gLdvf;g:Ldvy;intermediary field_43334Lnet/minecraft/class_3821;field_43334:Lnet/minecraft/class_8248;named blockEntityModifierLnet/minecraft/structure/processor/StructureProcessorRule;blockEntityModifier:Lnet/minecraft/structure/rule/blockentity/RuleBlockEntityModifier;
-
-
Constructor Details
-
StructureProcessorRule
public StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, BlockState state) - Mappings:
Namespace Name Mixin selector official <init>Ldvf;<init>(Ldvk;Ldvk;Ldby;)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>Ldvf;<init>(Ldvk;Ldvk;Ldvd;Ldby;)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, RuleBlockEntityModifier blockEntityModifier) - Mappings:
Namespace Name Mixin selector official <init>Ldvf;<init>(Ldvk;Ldvk;Ldvd;Ldby;Ldvy;)Vintermediary <init>Lnet/minecraft/class_3821;<init>(Lnet/minecraft/class_3825;Lnet/minecraft/class_3825;Lnet/minecraft/class_4995;Lnet/minecraft/class_2680;Lnet/minecraft/class_8248;)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;Lnet/minecraft/structure/rule/blockentity/RuleBlockEntityModifier;)V
-
-
Method Details
-
test
public boolean test(BlockState input, BlockState currentState, BlockPos originalPos, BlockPos currentPos, BlockPos pivot, Random random) - Mappings:
Namespace Name Mixin selector official aLdvf;a(Ldby;Ldby;Lgu;Lgu;Lgu;Lapf;)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;Lnet/minecraft/class_5819;)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;Lnet/minecraft/util/math/random/Random;)Z
-
getOutputState
- Mappings:
Namespace Name Mixin selector official aLdvf;a()Ldby;intermediary method_16763Lnet/minecraft/class_3821;method_16763()Lnet/minecraft/class_2680;named getOutputStateLnet/minecraft/structure/processor/StructureProcessorRule;getOutputState()Lnet/minecraft/block/BlockState;
-
getOutputNbt
@Nullable public @Nullable NbtCompound getOutputNbt(Random random, @Nullable @Nullable NbtCompound nbt) - Mappings:
Namespace Name Mixin selector official aLdvf;a(Lapf;Lqr;)Lqr;intermediary method_16760Lnet/minecraft/class_3821;method_16760(Lnet/minecraft/class_5819;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named getOutputNbtLnet/minecraft/structure/processor/StructureProcessorRule;getOutputNbt(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-