Class AxisAlignedLinearPosRuleTest

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

public class AxisAlignedLinearPosRuleTest
extends PosRuleTest
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<AxisAlignedLinearPosRuleTest> CODEC
    • minChance

      private final float minChance
    • maxChance

      private final float maxChance
    • minDistance

      private final int minDistance
    • maxDistance

      private final int maxDistance
    • axis

      private final Direction.Axis axis
  • Constructor Details

    • AxisAlignedLinearPosRuleTest

      public AxisAlignedLinearPosRuleTest​(float minChance, float maxChance, int minDistance, int maxDistance, Direction.Axis axis)
  • Method Details