Class AlwaysTruePosRuleTest

java.lang.Object
net.minecraft.structure.rule.PosRuleTest
net.minecraft.structure.rule.AlwaysTruePosRuleTest

public class AlwaysTruePosRuleTest extends PosRuleTest
Mappings:
Namespace Name
official dgf
intermediary net/minecraft/class_4994
named net/minecraft/structure/rule/AlwaysTruePosRuleTest
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<AlwaysTruePosRuleTest> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldgf;a:Lcom/mojang/serialization/Codec;
      intermediary field_25006 Lnet/minecraft/class_4994;field_25006:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/structure/rule/AlwaysTruePosRuleTest;CODEC:Lcom/mojang/serialization/Codec;
    • INSTANCE

      public static final AlwaysTruePosRuleTest INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official b Ldgf;b:Ldgf;
      intermediary field_23343 Lnet/minecraft/class_4994;field_23343:Lnet/minecraft/class_4994;
      named INSTANCE Lnet/minecraft/structure/rule/AlwaysTruePosRuleTest;INSTANCE:Lnet/minecraft/structure/rule/AlwaysTruePosRuleTest;
  • Constructor Details

    • AlwaysTruePosRuleTest

      private AlwaysTruePosRuleTest()
  • Method Details

    • test

      public boolean test(BlockPos blockPos, BlockPos blockPos2, BlockPos pivot, Random random)
      Specified by:
      test in class PosRuleTest
      Mappings:
      Namespace Name Mixin selector
      official a Ldgg;a(Lgh;Lgh;Lgh;Ljava/util/Random;)Z
      intermediary method_26406 Lnet/minecraft/class_4995;method_26406(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
      named test Lnet/minecraft/structure/rule/PosRuleTest;test(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
    • getType

      protected PosRuleTestType<?> getType()
      Specified by:
      getType in class PosRuleTest
      Mappings:
      Namespace Name Mixin selector
      official a Ldgg;a()Ldgh;
      intermediary method_26404 Lnet/minecraft/class_4995;method_26404()Lnet/minecraft/class_4996;
      named getType Lnet/minecraft/structure/rule/PosRuleTest;getType()Lnet/minecraft/structure/rule/PosRuleTestType;