Class AlwaysTruePosRuleTest

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

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

    • CODEC

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

      public static final AlwaysTruePosRuleTest INSTANCE
      Mappings:
      Namespace Name Mixin selector
      named INSTANCE Lnet/minecraft/structure/rule/AlwaysTruePosRuleTest;INSTANCE:Lnet/minecraft/structure/rule/AlwaysTruePosRuleTest;
      intermediary field_23343 Lnet/minecraft/class_4994;field_23343:Lnet/minecraft/class_4994;
      official b Lelx;b:Lelx;
  • 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
      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
      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
      official a Lely;a(Liz;Liz;Liz;Lazh;)Z
    • getType

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