Uses of Class
net.minecraft.util.collection.Weight
Packages that use Weight
-
Uses of Weight in net.minecraft.util.collection
Fields in net.minecraft.util.collection declared as WeightModifier and TypeFieldDescriptionprivate static final WeightWeight.DEFAULTprivate final WeightWeighted.Absent.weightprivate final WeightWeighted.Present.weightThe field for theweightrecord component.Fields in net.minecraft.util.collection with type parameters of type WeightModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Weight> Weight.CODECMethods in net.minecraft.util.collection that return WeightModifier and TypeMethodDescriptionWeighted.Absent.getWeight()Weighted.getWeight()Weighted.Present.getWeight()static WeightWeight.of(int weight) Weighted.Present.weight()Returns the value of theweightrecord component.Constructors in net.minecraft.util.collection with parameters of type Weight -
Uses of Weight in net.minecraft.world.biome
Constructors in net.minecraft.world.biome with parameters of type WeightModifierConstructorDescriptionSpawnEntry(EntityType<?> type, Weight weight, int minGroupSize, int maxGroupSize)