Class ConfigIntProvider

java.lang.Object
net.minecraft.util.valueproviders.IntProvider
de.teamlapen.werewolves.world.gen.ConfigIntProvider

public class ConfigIntProvider extends net.minecraft.util.valueproviders.IntProvider
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<ConfigIntProvider> CODEC
  • Constructor Details

  • Method Details

    • of

      public static ConfigIntProvider of(CommonConfig.IntValueExt supplier)
    • sample

      public int sample(@NotNull @NotNull net.minecraft.util.RandomSource randomSource)
      Specified by:
      sample in class net.minecraft.util.valueproviders.IntProvider
    • getMinValue

      public int getMinValue()
      Specified by:
      getMinValue in class net.minecraft.util.valueproviders.IntProvider
    • getMaxValue

      public int getMaxValue()
      Specified by:
      getMaxValue in class net.minecraft.util.valueproviders.IntProvider
    • getType

      @NotNull public @NotNull net.minecraft.util.valueproviders.IntProviderType<?> getType()
      Specified by:
      getType in class net.minecraft.util.valueproviders.IntProvider