类 TagMatchRuleTest
- java.lang.Object
-
- net.minecraft.structure.rule.RuleTest
-
- net.minecraft.structure.rule.TagMatchRuleTest
-
public class TagMatchRuleTest extends RuleTest
- Mappings:
Namespace Name official dbvintermediary net/minecraft/class_3798named net/minecraft/structure/rule/TagMatchRuleTest
-
-
字段概要
字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<TagMatchRuleTest>CODECprivate Tag<Block>tag-
从类继承的字段 net.minecraft.structure.rule.RuleTest
TYPE_CODEC
-
-
构造器概要
构造器 构造器 说明 TagMatchRuleTest(Tag<Block> tag)
-
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<TagMatchRuleTest> CODEC
- Mappings:
Namespace Name Mixin selector official aLdbv;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;
-
-
构造器详细资料
-
TagMatchRuleTest
public TagMatchRuleTest(Tag<Block> tag)
- Mappings:
Namespace Name Mixin selector official <init>Ldbv;<init>(Lafs;)Vintermediary <init>Lnet/minecraft/class_3798;<init>(Lnet/minecraft/class_3494;)Vnamed <init>Lnet/minecraft/structure/rule/TagMatchRuleTest;<init>(Lnet/minecraft/tag/Tag;)V
-
-
方法详细资料
-
test
public boolean test(BlockState state, Random random)
- 指定者:
test在类中RuleTest- Mappings:
Namespace Name Mixin selector official aLdbn;a(Lcjr;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
protected RuleTestType<?> getType()
-
-