Uses of Class
net.minecraft.util.random.Weight
Packages that use Weight
Package
Description
-
Uses of Weight in net.minecraft.util.random
Fields in net.minecraft.util.random declared as WeightModifier and TypeFieldDescriptionprivate static final WeightWeight.ONEprivate final WeightWeightedEntry.IntrusiveBase.weightprivate final WeightWeightedEntry.Wrapper.weightThe field for theweightrecord component.Fields in net.minecraft.util.random with type parameters of type WeightModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Weight> Weight.CODECMethods in net.minecraft.util.random that return WeightModifier and TypeMethodDescriptionWeightedEntry.getWeight()WeightedEntry.IntrusiveBase.getWeight()WeightedEntry.Wrapper.getWeight()static WeightWeight.of(int p_146283_) WeightedEntry.Wrapper.weight()Returns the value of theweightrecord component.Constructors in net.minecraft.util.random with parameters of type WeightModifierConstructorDescriptionIntrusiveBase(Weight p_146297_) Creates an instance of aWrapperrecord class. -
Uses of Weight in net.minecraft.world.level.biome
Constructors in net.minecraft.world.level.biome with parameters of type WeightModifierConstructorDescriptionSpawnerData(EntityType<?> p_151815_, Weight p_151816_, int p_151817_, int p_151818_) -
Uses of Weight in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as WeightModifier and TypeFieldDescriptionprivate final WeightMonsterRoomHooks.MobEntry.weightThe field for theweightrecord component.Methods in net.neoforged.neoforge.common that return WeightModifier and TypeMethodDescriptionMonsterRoomHooks.MobEntry.getWeight()MonsterRoomHooks.MobEntry.weight()Returns the value of theweightrecord component.Constructors in net.neoforged.neoforge.common with parameters of type WeightModifierConstructorDescriptionMobEntry(EntityType<?> type, Weight weight) Creates an instance of aMobEntryrecord class. -
Uses of Weight in net.neoforged.neoforge.registries.datamaps.builtin
Fields in net.neoforged.neoforge.registries.datamaps.builtin declared as WeightModifier and TypeFieldDescriptionprivate final WeightMonsterRoomMob.weightThe field for theweightrecord component.Methods in net.neoforged.neoforge.registries.datamaps.builtin that return WeightModifier and TypeMethodDescriptionMonsterRoomMob.weight()Returns the value of theweightrecord component.Constructors in net.neoforged.neoforge.registries.datamaps.builtin with parameters of type WeightModifierConstructorDescriptionMonsterRoomMob(Weight weight) Creates an instance of aMonsterRoomMobrecord class.