类 BlockStateMatchRuleTest
- java.lang.Object
-
- net.minecraft.structure.rule.RuleTest
-
- net.minecraft.structure.rule.BlockStateMatchRuleTest
-
public class BlockStateMatchRuleTest extends RuleTest
- Mappings:
Namespace Name official dbaintermediary net/minecraft/class_3820named net/minecraft/structure/rule/BlockStateMatchRuleTest
-
-
字段概要
字段 修饰符和类型 字段 说明 private BlockStateblockStatestatic com.mojang.serialization.Codec<BlockStateMatchRuleTest>CODEC-
从类继承的字段 net.minecraft.structure.rule.RuleTest
TYPE_CODEC
-
-
构造器概要
构造器 构造器 说明 BlockStateMatchRuleTest(BlockState blockState)
-
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<BlockStateMatchRuleTest> CODEC
- Mappings:
Namespace Name Mixin selector official aLdba;a:Lcom/mojang/serialization/Codec;intermediary field_25001Lnet/minecraft/class_3820;field_25001:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/rule/BlockStateMatchRuleTest;CODEC:Lcom/mojang/serialization/Codec;
-
blockState
private final BlockState blockState
- Mappings:
Namespace Name Mixin selector official bLdba;b:Lcjr;intermediary field_16870Lnet/minecraft/class_3820;field_16870:Lnet/minecraft/class_2680;named blockStateLnet/minecraft/structure/rule/BlockStateMatchRuleTest;blockState:Lnet/minecraft/block/BlockState;
-
-
构造器详细资料
-
BlockStateMatchRuleTest
public BlockStateMatchRuleTest(BlockState blockState)
- Mappings:
Namespace Name Mixin selector official <init>Ldba;<init>(Lcjr;)Vintermediary <init>Lnet/minecraft/class_3820;<init>(Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/structure/rule/BlockStateMatchRuleTest;<init>(Lnet/minecraft/block/BlockState;)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()
-
-