Package net.minecraft.util.random
Class WeightedEntry.Wrapper<T>
java.lang.Object
net.minecraft.util.random.WeightedEntry.Wrapper<T>
- All Implemented Interfaces:
WeightedEntry
- Enclosing interface:
- WeightedEntry
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.random.WeightedEntry
WeightedEntry.IntrusiveBase, WeightedEntry.Wrapper<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
data
-
weight
-
-
Constructor Details
-
Wrapper
-
-
Method Details
-
getData
-
getWeight
- Specified by:
getWeight
in interfaceWeightedEntry
-
codec
public static <E> com.mojang.serialization.Codec<WeightedEntry.Wrapper<E>> codec(com.mojang.serialization.Codec<E> p_146306_)
-