Class AlwaysTruePosRuleTest

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

public class AlwaysTruePosRuleTest extends PosRuleTest
Mappings:
Namespace Name
official dut
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 Ldut;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 Ldut;b:Ldut;
      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 originalPos, BlockPos currentPos, BlockPos pivot, Random random)
      Specified by:
      test in class PosRuleTest
      Mappings:
      Namespace Name Mixin selector
      official a Lduu;a(Lgt;Lgt;Lgt;Lapo;)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 Lduu;a()Lduv;
      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;