类 BlockMatchRuleTest
- java.lang.Object
-
- net.minecraft.structure.rule.RuleTest
-
- net.minecraft.structure.rule.BlockMatchRuleTest
-
public class BlockMatchRuleTest extends RuleTest
- Mappings:
Namespace Name official dayintermediary net/minecraft/class_3819named net/minecraft/structure/rule/BlockMatchRuleTest
-
-
字段概要
字段 修饰符和类型 字段 说明 private Blockblockstatic com.mojang.serialization.Codec<BlockMatchRuleTest>CODEC-
从类继承的字段 net.minecraft.structure.rule.RuleTest
TYPE_CODEC
-
-
构造器概要
构造器 构造器 说明 BlockMatchRuleTest(Block block)
-
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<BlockMatchRuleTest> CODEC
- Mappings:
Namespace Name Mixin selector official aLday;a:Lcom/mojang/serialization/Codec;intermediary field_24999Lnet/minecraft/class_3819;field_24999:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/rule/BlockMatchRuleTest;CODEC:Lcom/mojang/serialization/Codec;
-
block
private final Block block
- Mappings:
Namespace Name Mixin selector official bLday;b:Lbyq;intermediary field_16869Lnet/minecraft/class_3819;field_16869:Lnet/minecraft/class_2248;named blockLnet/minecraft/structure/rule/BlockMatchRuleTest;block:Lnet/minecraft/block/Block;
-
-
构造器详细资料
-
BlockMatchRuleTest
public BlockMatchRuleTest(Block block)
- Mappings:
Namespace Name Mixin selector official <init>Lday;<init>(Lbyq;)Vintermediary <init>Lnet/minecraft/class_3819;<init>(Lnet/minecraft/class_2248;)Vnamed <init>Lnet/minecraft/structure/rule/BlockMatchRuleTest;<init>(Lnet/minecraft/block/Block;)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()
-
-