History - net.minecraft.util.random.WeightedList

25w18a

Names

btm

btz

Fields

int: b, totalWeight, field_29934, totalWeight, f_381392_

int: b, totalWeight, field_29934

int: a, FLAT_THRESHOLD, field_55646, FLATTENED_CONTENT_THRESHOLD, f_379941_

int: a, FLAT_THRESHOLD, field_55646

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

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

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

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

Constructors

Methods

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

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

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

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

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

boolean (): c, isEmpty, method_34993

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

E (RandomSource): b, getRandomOrThrow, method_66216

<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.MapCodec<E>): a, codec, method_66213

<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.Codec<E>): b, nonEmptyCodec, method_66217

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

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

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

boolean (E): b, contains, method_66647

1.21.5

Names

bqx

btm

net.minecraft.util.random.WeightedRandomList

net.minecraft.util.random.WeightedList

net.minecraft.src.C_141041_

net.minecraft.src.C_379201_

Fields

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_

Constructors

Methods

<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

Names

brv

bqx

Fields

Constructors

Methods

1.21.3

Names

bpf

brv

Fields

Constructors

Methods

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

bpk

bpf

Fields

Constructors

Methods

1.20.6

Names

bip

bpk

Fields

Constructors

Methods

1.20.4

Names

bfm

bip

Fields

Constructors

Methods

1.20.2

Names

bcl

bfm

Fields

Constructors

Methods

1.20.1

Names

bcm

bcl

Fields

Constructors

Methods

1.19.4

Names

bba

bcm

Fields

Constructors

Methods

1.19.3

Names

ayx

bba

Fields

Constructors

Methods

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

aya

ayx

Fields

Constructors

Methods

1.19

Names

auw

aya

Fields

Constructors

Methods

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

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

1.18.2

Names

auf

auw

Fields

Constructors

Methods

1.18.1

Names

Fields

Constructors

Methods

1.18

Names

aqt

auf

Fields

Constructors

Methods

<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

Names

aqs

aqt

Fields

Constructors

Methods

1.17

Names

aqs

net.minecraft.util.random.WeightedRandomList

net.minecraft.class_6012

net.minecraft.util.collection.Pool

net.minecraft.src.C_141041_

Fields

int: a, totalWeight, field_29934, totalWeight, f_146324_

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

Constructors

(List<? extends E>)

Methods

<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_