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

    • BASE_CODEC

      public static final com.mojang.serialization.Codec<PosRuleTest> BASE_CODEC
      Mappings:
      Namespace Name Mixin selector
      named BASE_CODEC Lnet/minecraft/structure/rule/PosRuleTest;BASE_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_25007 Lnet/minecraft/class_4995;field_25007:Lcom/mojang/serialization/Codec;
      official c Lelz;c: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
      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 Lelz;a(Liz;Liz;Liz;Lazh;)Z
    • getType

      protected abstract PosRuleTestType<?> getType()
      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 Lelz;a()Lema;