Package net.minecraft.util.random
Interface WeightedEntry
- All Known Implementing Classes:
EnchantmentInstance
,LongJumpToRandomPos.PossibleJump
,MobSpawnSettings.SpawnerData
,MonsterRoomHooks.MobEntry
,WeightedEntry.IntrusiveBase
,WeightedEntry.Wrapper
public interface WeightedEntry
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> WeightedEntry.Wrapper
<T> wrap
(T p_146291_, int p_146292_)
-
Method Details
-
getWeight
Weight getWeight() -
wrap
-