Package net.minecraft.structure.rule
Class AlwaysTrueRuleTest
java.lang.Object
net.minecraft.structure.rule.RuleTest
net.minecraft.structure.rule.AlwaysTrueRuleTest
- Mappings:
Namespace Name official duointermediary net/minecraft/class_3818named net/minecraft/structure/rule/AlwaysTrueRuleTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<AlwaysTrueRuleTest>static final AlwaysTrueRuleTestFields inherited from class net.minecraft.structure.rule.RuleTest
TYPE_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RuleTestType<?>getType()booleantest(BlockState state, Random random)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLduo;a:Lcom/mojang/serialization/Codec;intermediary field_24994Lnet/minecraft/class_3818;field_24994:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/rule/AlwaysTrueRuleTest;CODEC:Lcom/mojang/serialization/Codec;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official bLduo;b:Lduo;intermediary field_16868Lnet/minecraft/class_3818;field_16868:Lnet/minecraft/class_3818;named INSTANCELnet/minecraft/structure/rule/AlwaysTrueRuleTest;INSTANCE:Lnet/minecraft/structure/rule/AlwaysTrueRuleTest;
-
-
Constructor Details
-
AlwaysTrueRuleTest
private AlwaysTrueRuleTest()
-
-
Method Details
-
test
- Specified by:
testin classRuleTest- Mappings:
Namespace Name Mixin selector official aLdvk;a(Ldby;Lapf;)Zintermediary method_16768Lnet/minecraft/class_3825;method_16768(Lnet/minecraft/class_2680;Lnet/minecraft/class_5819;)Znamed testLnet/minecraft/structure/rule/RuleTest;test(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/random/Random;)Z
-
getType
- Specified by:
getTypein classRuleTest- Mappings:
Namespace Name Mixin selector official aLdvk;a()Ldvl;intermediary method_16766Lnet/minecraft/class_3825;method_16766()Lnet/minecraft/class_3827;named getTypeLnet/minecraft/structure/rule/RuleTest;getType()Lnet/minecraft/structure/rule/RuleTestType;
-