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 dgg
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 Ldgg;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 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 abstract PosRuleTestType<?> getType()
      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;