Class PosRuleTest

java.lang.Object
net.minecraft.structure.rule.PosRuleTest
Direct Known Subclasses:
AlwaysTruePosRuleTest, AxisAlignedLinearPosRuleTest, LinearPosRuleTest

public abstract class PosRuleTest extends Object
Mappings:
Namespace Name
official dog
intermediary net/minecraft/class_4995
named net/minecraft/structure/rule/PosRuleTest
  • Field Details

    • field_25007

      public static final com.mojang.serialization.Codec<PosRuleTest> field_25007
      Mappings:
      Namespace Name Mixin selector
      official c Ldog;c:Lcom/mojang/serialization/Codec;
      intermediary field_25007 Lnet/minecraft/class_4995;field_25007:Lcom/mojang/serialization/Codec;
      named field_25007 Lnet/minecraft/structure/rule/PosRuleTest;field_25007:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • PosRuleTest

      public PosRuleTest()
  • Method Details

    • test

      public abstract boolean test(BlockPos blockPos, BlockPos blockPos2, BlockPos pivot, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Ldog;a(Lgt;Lgt;Lgt;Lamn;)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 abstract PosRuleTestType<?> getType()
      Mappings:
      Namespace Name Mixin selector
      official a Ldog;a()Ldoh;
      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;