Class StructureProcessorRule
java.lang.Object
net.minecraft.structure.processor.StructureProcessorRule
- Mappings:
Namespace Name named net/minecraft/structure/processor/StructureProcessorRule
intermediary net/minecraft/class_3821
official ema
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RuleBlockEntityModifier
static final com.mojang.serialization.Codec
<StructureProcessorRule> static final PassthroughRuleBlockEntityModifier
private final RuleTest
private final RuleTest
private final BlockState
private final PosRuleTest
-
Constructor Summary
ConstructorDescriptionStructureProcessorRule
(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) boolean
test
(BlockState input, BlockState currentState, BlockPos originalPos, BlockPos currentPos, BlockPos pivot, Random random)
-
Field Details
-
DEFAULT_BLOCK_ENTITY_MODIFIER
- Mappings:
Namespace Name Mixin selector named DEFAULT_BLOCK_ENTITY_MODIFIER
Lnet/minecraft/structure/processor/StructureProcessorRule;DEFAULT_BLOCK_ENTITY_MODIFIER:Lnet/minecraft/structure/rule/blockentity/PassthroughRuleBlockEntityModifier;
intermediary field_43333
Lnet/minecraft/class_3821;field_43333:Lnet/minecraft/class_8247;
official a
Lema;a:Lems;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/structure/processor/StructureProcessorRule;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_25008
Lnet/minecraft/class_3821;field_25008:Lcom/mojang/serialization/Codec;
official b
Lema;b:Lcom/mojang/serialization/Codec;
-
inputPredicate
- Mappings:
Namespace Name Mixin selector named inputPredicate
Lnet/minecraft/structure/processor/StructureProcessorRule;inputPredicate:Lnet/minecraft/structure/rule/RuleTest;
intermediary field_16872
Lnet/minecraft/class_3821;field_16872:Lnet/minecraft/class_3825;
official c
Lema;c:Lemf;
-
locationPredicate
- Mappings:
Namespace Name Mixin selector named locationPredicate
Lnet/minecraft/structure/processor/StructureProcessorRule;locationPredicate:Lnet/minecraft/structure/rule/RuleTest;
intermediary field_16873
Lnet/minecraft/class_3821;field_16873:Lnet/minecraft/class_3825;
official d
Lema;d:Lemf;
-
positionPredicate
- Mappings:
Namespace Name Mixin selector named positionPredicate
Lnet/minecraft/structure/processor/StructureProcessorRule;positionPredicate:Lnet/minecraft/structure/rule/PosRuleTest;
intermediary field_23347
Lnet/minecraft/class_3821;field_23347:Lnet/minecraft/class_4995;
official e
Lema;e:Lely;
-
outputState
- Mappings:
Namespace Name Mixin selector named outputState
Lnet/minecraft/structure/processor/StructureProcessorRule;outputState:Lnet/minecraft/block/BlockState;
intermediary field_16874
Lnet/minecraft/class_3821;field_16874:Lnet/minecraft/class_2680;
official f
Lema;f:Ldsd;
-
blockEntityModifier
- Mappings:
Namespace Name Mixin selector named blockEntityModifier
Lnet/minecraft/structure/processor/StructureProcessorRule;blockEntityModifier:Lnet/minecraft/structure/rule/blockentity/RuleBlockEntityModifier;
intermediary field_43334
Lnet/minecraft/class_3821;field_43334:Lnet/minecraft/class_8248;
official g
Lema;g:Lemt;
-
-
Constructor Details
-
StructureProcessorRule
public StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, BlockState state) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/structure/processor/StructureProcessorRule;<init>(Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/block/BlockState;)V
intermediary <init>
Lnet/minecraft/class_3821;<init>(Lnet/minecraft/class_3825;Lnet/minecraft/class_3825;Lnet/minecraft/class_2680;)V
official <init>
Lema;<init>(Lemf;Lemf;Ldsd;)V
-
StructureProcessorRule
public StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState state) - Mappings:
Namespace Name Mixin selector 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
intermediary <init>
Lnet/minecraft/class_3821;<init>(Lnet/minecraft/class_3825;Lnet/minecraft/class_3825;Lnet/minecraft/class_4995;Lnet/minecraft/class_2680;)V
official <init>
Lema;<init>(Lemf;Lemf;Lely;Ldsd;)V
-
StructureProcessorRule
public StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState outputState, RuleBlockEntityModifier blockEntityModifier) - Mappings:
Namespace Name Mixin selector 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;Lnet/minecraft/structure/rule/blockentity/RuleBlockEntityModifier;)V
intermediary <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;)V
official <init>
Lema;<init>(Lemf;Lemf;Lely;Ldsd;Lemt;)V
-
-
Method Details
-
test
public boolean test(BlockState input, BlockState currentState, BlockPos originalPos, BlockPos currentPos, BlockPos pivot, Random random) - Mappings:
Namespace Name Mixin selector 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;Lnet/minecraft/util/math/random/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;Lnet/minecraft/class_5819;)Z
official a
Lema;a(Ldsd;Ldsd;Liz;Liz;Liz;Lazh;)Z
-
getOutputState
- Mappings:
Namespace Name Mixin selector named getOutputState
Lnet/minecraft/structure/processor/StructureProcessorRule;getOutputState()Lnet/minecraft/block/BlockState;
intermediary method_16763
Lnet/minecraft/class_3821;method_16763()Lnet/minecraft/class_2680;
official a
Lema;a()Ldsd;
-
getOutputNbt
@Nullable public @Nullable NbtCompound getOutputNbt(Random random, @Nullable @Nullable NbtCompound nbt) - Mappings:
Namespace Name Mixin selector named getOutputNbt
Lnet/minecraft/structure/processor/StructureProcessorRule;getOutputNbt(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_16760
Lnet/minecraft/class_3821;method_16760(Lnet/minecraft/class_5819;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
official a
Lema;a(Lazh;Lus;)Lus;
-