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 ect
intermediary net/minecraft/class_4995
named net/minecraft/structure/rule/PosRuleTest
  • Field Details

    • BASE_CODEC

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

    • PosRuleTest

      public PosRuleTest()
  • Method Details

    • test

      public abstract boolean test(BlockPos originalPos, BlockPos currentPos, BlockPos pivot, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lect;a(Lhx;Lhx;Lhx;Lauv;)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 Lect;a()Lecu;
      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;