接口的使用
net.minecraft.util.collection.Weighted
-
使用Weighted的程序包 程序包 说明 net.minecraft.enchantment net.minecraft.util.collection net.minecraft.world net.minecraft.world.biome -
-
net.minecraft.enchantment中Weighted的使用
实现Weighted的net.minecraft.enchantment中的类 修饰符和类型 类 说明 classEnchantmentLevelEntryRepresents an entry in an enchantments array, i.e. a pair between enchantment and level. -
net.minecraft.util.collection中Weighted的使用
类型参数类型为Weighted的net.minecraft.util.collection中的类 修饰符和类型 类 说明 classPool<E extends Weighted>实现Weighted的net.minecraft.util.collection中的类 修饰符和类型 类 说明 static classWeighted.Absentstatic classWeighted.Present<T>类型参数类型为Weighted的net.minecraft.util.collection中的方法 修饰符和类型 方法 说明 static <E extends Weighted>
com.mojang.serialization.Codec<Pool<E>>Pool. createCodec(com.mojang.serialization.Codec<E> entryCodec)static <E extends Weighted>
Pool<E>Pool. empty()static <T extends Weighted>
Optional<T>Weighting. getAt(List<T> pool, int totalWeight)static <T extends Weighted>
Optional<T>Weighting. getRandom(Random random, List<T> pool)static <T extends Weighted>
Optional<T>Weighting. getRandom(Random random, List<T> pool, int totalWeight)static <E extends Weighted>
Pool<E>Pool. of(E[] entries)static <E extends Weighted>
Pool<E>Pool. of(List<E> entries)参数类型为Weighted的net.minecraft.util.collection中的方法 修饰符和类型 方法 说明 static <E extends Weighted>
Pool<E>Pool. of(E[] entries)类型变量类型为Weighted的net.minecraft.util.collection中的方法参数 修饰符和类型 方法 说明 static intWeighting. getWeightSum(List<? extends Weighted> pool) -
net.minecraft.world中Weighted的使用
实现Weighted的net.minecraft.world中的类 修饰符和类型 类 说明 classMobSpawnerEntry -
net.minecraft.world.biome中Weighted的使用
实现Weighted的net.minecraft.world.biome中的类 修饰符和类型 类 说明 static classSpawnSettings.SpawnEntry
-