Interface NumberProvider
- All Superinterfaces:
LootContextUser
- All Known Implementing Classes:
BinomialDistributionGenerator
,ConstantValue
,EnchantmentLevelProvider
,ScoreboardValue
,StorageValue
,UniformGenerator
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getFloat
(LootContext p_165730_) default int
getInt
(LootContext p_165729_) getType()
Methods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
-
Method Details
-
getFloat
-
getInt
-
getType
LootNumberProviderType getType()
-