Class WeightedListInt
java.lang.Object
net.minecraft.util.valueproviders.IntProvider
net.minecraft.util.valueproviders.WeightedListInt
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<WeightedListInt>private final SimpleWeightedRandomList<IntProvider>private final intprivate final intFields inherited from class net.minecraft.util.valueproviders.IntProviderNON_NEGATIVE_CODEC, POSITIVE_CODEC
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.util.valueproviders.IntProvidercodec, codec
- 
Field Details- 
CODEC
- 
distribution
- 
minValueprivate final int minValue
- 
maxValueprivate final int maxValue
 
- 
- 
Constructor Details- 
WeightedListInt
 
- 
- 
Method Details- 
sample- Specified by:
- samplein class- IntProvider
 
- 
getMinValuepublic int getMinValue()- Specified by:
- getMinValuein class- IntProvider
 
- 
getMaxValuepublic int getMaxValue()- Specified by:
- getMaxValuein class- IntProvider
 
- 
getType- Specified by:
- getTypein class- IntProvider
 
 
-