History - net.minecraft.util.random.WeightedRandomList

1.21.3

Names

bpf

brv

Fields

int: a, totalWeight, field_29934, totalWeight, f_146324_

int: a, totalWeight, field_29934, totalWeight

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

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

Constructors

Methods

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

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

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

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

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

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

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

boolean (): d, isEmpty, method_34993, isEmpty

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

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

<E extends WeightedEntry> com.mojang.serialization.Codec<WeightedRandomList<E>> (com.mojang.serialization.Codec<E>): c, 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

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

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

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_

net.minecraft.util.random.WeightedRandomList

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_