Package net.minecraft.structure.rule
Class TagMatchRuleTest
java.lang.Object
net.minecraft.structure.rule.RuleTest
net.minecraft.structure.rule.TagMatchRuleTest
public class TagMatchRuleTest extends RuleTest
- Mappings:
Namespace Name official cypintermediary net/minecraft/class_3798named net/minecraft/structure/rule/TagMatchRuleTest
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<TagMatchRuleTest>CODECprivate Tag<Block>tagFields inherited from class net.minecraft.structure.rule.RuleTest
field_25012 -
Constructor Summary
Constructors Constructor Description TagMatchRuleTest(Tag<Block> tag) -
Method Summary
Modifier and Type Method Description protected RuleTestType<?>getType()booleantest(BlockState state, Random random)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLcyp;a:Lcom/mojang/serialization/Codec;intermediary field_25014Lnet/minecraft/class_3798;field_25014:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/rule/TagMatchRuleTest;CODEC:Lcom/mojang/serialization/Codec;
-
tag
- Mappings:
Namespace Name Mixin selector official bLcyp;b:Lafc;intermediary field_16747Lnet/minecraft/class_3798;field_16747:Lnet/minecraft/class_3494;named tagLnet/minecraft/structure/rule/TagMatchRuleTest;tag:Lnet/minecraft/tag/Tag;
-
-
Constructor Details
-
TagMatchRuleTest
- Mappings:
Namespace Name Mixin selector official <init>Lcyp;<init>(Lafc;)Vintermediary <init>Lnet/minecraft/class_3798;<init>(Lnet/minecraft/class_3494;)Vnamed <init>Lnet/minecraft/structure/rule/TagMatchRuleTest;<init>(Lnet/minecraft/tag/Tag;)V
-
-
Method Details
-
test
- Specified by:
testin classRuleTest- Mappings:
Namespace Name Mixin selector official aLcyh;a(Lcht;Ljava/util/Random;)Zintermediary method_16768Lnet/minecraft/class_3825;method_16768(Lnet/minecraft/class_2680;Ljava/util/Random;)Znamed testLnet/minecraft/structure/rule/RuleTest;test(Lnet/minecraft/block/BlockState;Ljava/util/Random;)Z
-
getType
- Specified by:
getTypein classRuleTest- Mappings:
Namespace Name Mixin selector official aLcyh;a()Lcyi;intermediary method_16766Lnet/minecraft/class_3825;method_16766()Lnet/minecraft/class_3827;named getTypeLnet/minecraft/structure/rule/RuleTest;getType()Lnet/minecraft/structure/rule/RuleTestType;
-