类的使用
net.minecraft.util.collection.Weight
-
使用Weight的程序包 程序包 说明 net.minecraft.util.collection net.minecraft.world.biome -
-
net.minecraft.util.collection中Weight的使用
声明为Weight的net.minecraft.util.collection中的字段 修饰符和类型 字段 说明 private static WeightWeight. DEFAULTprivate WeightWeighted.Absent. weightprivate WeightWeighted.Present. weight类型参数类型为Weight的net.minecraft.util.collection中的字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<Weight>Weight. CODEC返回Weight的net.minecraft.util.collection中的方法 修饰符和类型 方法 说明 WeightWeighted.Absent. getWeight()WeightWeighted. getWeight()WeightWeighted.Present. getWeight()static WeightWeight. of(int weight)参数类型为Weight的net.minecraft.util.collection中的构造器 构造器 说明 Absent(Weight weight)Present(T data, Weight weight) -
net.minecraft.world.biome中Weight的使用
参数类型为Weight的net.minecraft.world.biome中的构造器 构造器 说明 SpawnEntry(EntityType<?> entityType, Weight weight, int int2, int int3)
-