Class AlwaysTruePosRuleTest

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

public class AlwaysTruePosRuleTest extends PosRuleTest
Mappings:
Namespace Name
official dnh
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 Ldnh;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 Ldnh;b:Ldnh;
      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 Ldni;a(Lgt;Lgt;Lgt;Lalu;)Z
      intermediary method_26406 Lnet/minecraft/class_4995;method_26406(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
      named test Lnet/minecraft/structure/rule/PosRuleTest;test(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
    • getType

      protected PosRuleTestType<?> getType()
      Specified by:
      getType in class PosRuleTest
      Mappings:
      Namespace Name Mixin selector
      official a Ldni;a()Ldnj;
      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;