历史 - net.minecraft.util.random.WeightedList

1.21.11

名称

caa

cbn

字段

构造函数

方法

1.21.10

名称

字段

构造函数

方法

1.21.9

名称

bvt

caa

字段

构造函数

方法

<E, B extends io.netty.buffer.ByteBuf> StreamCodec<B, WeightedList<E>> (StreamCodec<B, E>): a, streamCodec, method_73185, createPacketCodec, m_416524_

1.21.8

名称

字段

构造函数

方法

1.21.7

名称

字段

构造函数

方法

1.21.6

名称

btm

bvt

字段

构造函数

方法

1.21.5

名称

bqx

btm

net.minecraft.util.random.WeightedRandomList

net.minecraft.util.random.WeightedList

net.minecraft.src.C_141041_

net.minecraft.src.C_379201_

net.minecraft.util.random.WeightedRandomList

net.minecraft.util.random.WeightedList

字段

int: a, totalWeight, field_29934, totalWeight, f_146324_

int: b, totalWeight, field_29934, totalWeight, f_381392_

com.google.common.collect.ImmutableList<E>: b, items, field_29935, entries, f_146325_

int: a, FLAT_THRESHOLD, field_55646, FLATTENED_CONTENT_THRESHOLD, f_379941_

List<Weighted<E>>: c, items, field_29935, entries, f_379886_

WeightedList$Selector<E>: d, selector, field_55647, content, f_382546_

构造函数

方法

<E extends WeightedEntry> WeightedRandomList<E> (): c, create, method_34990, empty, m_146332_

<E> WeightedList<E> (): a, of, method_34990, empty, m_387166_

<E extends WeightedEntry> WeightedRandomList<E> (E[]): a, create, method_34989, of, m_146330_

<E extends WeightedEntry> WeightedRandomList<E> (List<E>): a, create, method_34988, of, m_146328_

<E> WeightedList<E> (List<Weighted<E>>): a, of, method_34988, of, m_384569_

boolean (): d, isEmpty, method_34993, isEmpty, m_146337_

boolean (): c, isEmpty, method_34993, isEmpty, m_384130_

List<E> (): e, unwrap, method_34994, getEntries, m_146338_

List<Weighted<E>> (): d, unwrap, method_34994, getEntries, m_387721_

<E extends WeightedEntry> com.mojang.serialization.Codec<WeightedRandomList<E>> (com.mojang.serialization.Codec<E>): c, codec, method_34991, createCodec, m_146333_

<E> com.mojang.serialization.Codec<WeightedList<E>> (com.mojang.serialization.Codec<E>): a, codec, method_34991, createCodec, m_387606_

Optional<E> (RandomSource): b, getRandom, method_34992, getOrEmpty, m_216829_

Optional<E> (RandomSource): a, getRandom, method_34992, getOrEmpty, m_387794_

<E> WeightedList<E> (E): a, of, method_66214, of, m_389077_

<E> WeightedList<E> (Weighted<E>[]): a, of, method_34989, of, m_386689_

<E> WeightedList$Builder<E> (): b, builder, method_66215, builder, m_384576_

<T> WeightedList<T> (Function<E, T>): a, map, method_68256, transform, m_387332_

E (RandomSource): b, getRandomOrThrow, method_66216, get, m_387013_

<E> com.mojang.serialization.Codec<WeightedList<E>> (com.mojang.serialization.MapCodec<E>): a, codec, method_66213, createCodec, m_387779_

<E> com.mojang.serialization.Codec<WeightedList<E>> (com.mojang.serialization.Codec<E>): b, nonEmptyCodec, method_66217, createNonEmptyCodec, m_385562_

<E> com.mojang.serialization.Codec<WeightedList<E>> (com.mojang.serialization.MapCodec<E>): b, nonEmptyCodec, method_66218, createNonEmptyCodec, m_388769_

boolean (E): b, contains, method_66647, contains, m_387043_

1.21.4

名称

brv

bqx

字段

构造函数

方法

1.21.3

名称

bpf

brv

字段

构造函数

方法

1.21.1

名称

字段

构造函数

方法

1.21

名称

bpk

bpf

字段

构造函数

方法

1.20.6

名称

bip

bpk

字段

构造函数

方法

1.20.4

名称

bfm

bip

字段

构造函数

方法

1.20.2

名称

bcl

bfm

字段

构造函数

方法

1.20.1

名称

bcm

bcl

字段

构造函数

方法

1.19.4

名称

bba

bcm

字段

构造函数

方法

1.19.3

名称

ayx

bba

字段

构造函数

方法

1.19.2

名称

字段

构造函数

方法

1.19.1

名称

aya

ayx

字段

构造函数

方法

1.19

名称

auw

aya

字段

构造函数

方法

Optional<E> (Random): b, getRandom, method_34992, getOrEmpty, m_146335_

Optional<E> (RandomSource): b, getRandom, method_34992, getOrEmpty, m_216829_

1.18.2

名称

auf

auw

字段

构造函数

方法

1.18.1

名称

字段

构造函数

方法

1.18

名称

aqt

auf

字段

构造函数

方法

<E extends WeightedEntry> WeightedRandomList<E> (): b, create, method_34990, empty, m_146332_

<E extends WeightedEntry> WeightedRandomList<E> (): c, create, method_34990, empty, m_146332_

boolean (): c, isEmpty, method_34993, isEmpty, m_146337_

boolean (): d, isEmpty, method_34993, isEmpty, m_146337_

List<E> (): d, unwrap, method_34994, getEntries, m_146338_

List<E> (): e, unwrap, method_34994, getEntries, m_146338_

<E extends WeightedEntry> com.mojang.serialization.Codec<WeightedRandomList<E>> (com.mojang.serialization.Codec<E>): b, codec, method_34991, createCodec, m_146333_

<E extends WeightedEntry> com.mojang.serialization.Codec<WeightedRandomList<E>> (com.mojang.serialization.Codec<E>): c, codec, method_34991, createCodec, m_146333_

1.17.1

名称

aqs

aqt

字段

构造函数

方法

1.17

名称

aqs

net.minecraft.util.random.WeightedRandomList

net.minecraft.class_6012

net.minecraft.util.collection.Pool

net.minecraft.src.C_141041_

net.minecraft.util.random.WeightedRandomList

字段

int: a, totalWeight, field_29934, totalWeight, f_146324_

com.google.common.collect.ImmutableList<E>: b, items, field_29935, entries, f_146325_

构造函数

(List<? extends E>)

方法

<E extends WeightedEntry> WeightedRandomList<E> (): b, create, method_34990, empty, m_146332_

<E extends WeightedEntry> WeightedRandomList<E> (E[]): a, create, method_34989, of, m_146330_

<E extends WeightedEntry> WeightedRandomList<E> (List<E>): a, create, method_34988, of, m_146328_

boolean (): c, isEmpty, method_34993, isEmpty, m_146337_

Optional<E> (Random): b, getRandom, method_34992, getOrEmpty, m_146335_

List<E> (): d, unwrap, method_34994, getEntries, m_146338_

<E extends WeightedEntry> com.mojang.serialization.Codec<WeightedRandomList<E>> (com.mojang.serialization.Codec<E>): b, codec, method_34991, createCodec, m_146333_