Class ConstantInt

java.lang.Object
net.minecraft.util.valueproviders.IntProvider
net.minecraft.util.valueproviders.ConstantInt

public class ConstantInt extends IntProvider
  • Field Details

    • ZERO

      public static final ConstantInt ZERO
    • CODEC

      public static final com.mojang.serialization.Codec<ConstantInt> CODEC
    • value

      private final int value
  • Constructor Details

    • ConstantInt

      private ConstantInt(int p_146481_)
  • Method Details