History - net.minecraft.util.collection.WeightedPool

26.3

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

<E> WeightedPool<E> (E[]): of, of, method_1_5404, of

26.1.2

Names

net.minecraft.util.collection.Pool

net.minecraft.util.collection.WeightedPool

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

cbn

net.minecraft.util.random.WeightedList

net.minecraft.class_6012

net.minecraft.util.collection.Pool

Fields

int: a, FLAT_THRESHOLD, field_55646, FLATTENED_CONTENT_THRESHOLD, f_dgdnntpb, MIN_COMPACT_WEIGHT_SUM, f_379941_

int: FLAT_THRESHOLD, FLAT_THRESHOLD, field_55646, FLATTENED_CONTENT_THRESHOLD

int: b, totalWeight, field_29934, totalWeight, f_qareelam, weightSum, f_381392_

int: totalWeight, totalWeight, field_29934, totalWeight

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

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

WeightedPool$Content<E>: d, selector, field_55647, content, f_cwfvplde, impl, f_382546_

Pool$Content<E>: selector, selector, field_55647, content

Constructors

Methods

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

<E> com.mojang.serialization.Codec<Pool<E>> (com.mojang.serialization.Codec<E>): codec, codec, method_34991, createCodec

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

boolean (): isEmpty, isEmpty, method_34993, isEmpty

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

<E> Pool<E> (): of, of, method_34990, empty

<E> WeightedPool<E> (E): a, of, method_66214, of, m_zsvgtahm, of, m_389077_

<E> Pool<E> (E): of, of, method_66214, of

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

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

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

<E> Pool<E> (List<Weighted<E>>): of, of, method_34988, of

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

<E> Pool$Builder<E> (): builder, builder, method_66215, builder

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

<T> Pool<T> (Function<E, T>): map, map, method_68256, transform

Optional<E> (Random): a, getRandom, method_34992, getOrEmpty, m_knfttcss, choose, m_387794_

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

E (Random): b, getRandomOrThrow, method_66216, get, m_fjcmuvat, chooseOrThrow, m_387013_

E (Random): getRandomOrThrow, getRandomOrThrow, method_66216, get

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

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

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

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

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

<E> com.mojang.serialization.Codec<Pool<E>> (com.mojang.serialization.Codec<E>): nonEmptyCodec, nonEmptyCodec, method_66217, createNonEmptyCodec

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

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

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

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

<E, B extends io.netty.buffer.ByteBuf> PacketCodec<B, WeightedPool<E>> (PacketCodec<B, E>): a, streamCodec, method_73185, createPacketCodec, m_jsvpefod, m_jsvpefod, m_416524_

<E, B extends io.netty.buffer.ByteBuf> PacketCodec<B, Pool<E>> (PacketCodec<B, E>): streamCodec, streamCodec, method_73185, createPacketCodec

<E> com.mojang.serialization.Codec<Pool<E>> (com.mojang.serialization.Codec<Weighted<E>>): entryToListCodec, entryToListCodec, method_1_3102, codecFromWeighted

<E> com.mojang.serialization.Codec<Pool<E>> (com.mojang.serialization.Codec<Weighted<E>>): entryToNonEmptyListCodec, entryToNonEmptyListCodec, method_1_3103, nonEmptyCodecFromWeighted

1.21.11

Names

caa

cbn

net.minecraft.util.collection.Pool

net.minecraft.util.collection.WeightedPool

Fields

Constructors

Methods

1.21.10

Names

Fields

Constructors

Methods

1.21.9

Names

bvt

caa

Fields

Constructors

Methods

<E, B extends io.netty.buffer.ByteBuf> PacketCodec<B, Pool<E>> (PacketCodec<B, E>): a, streamCodec, method_73185, createPacketCodec, m_jsvpefod, m_jsvpefod, m_416524_

1.21.8

Names

Fields

Constructors

Methods

1.21.7

Names

Fields

Constructors

Methods

1.21.6

Names

btm

bvt

Fields

Constructors

Methods

1.21.5

Names

aup

btm

net.minecraft.world.entity.ai.behavior.WeightedList

net.minecraft.util.random.WeightedList

net.minecraft.class_4131

net.minecraft.class_6012

net.minecraft.util.collection.WeightedList

net.minecraft.util.collection.Pool

net.minecraft.util.collection.WeightedList

net.minecraft.util.WeightedList

net.minecraft.src.C_379201_

Fields

List<WeightedList$Entry<U>>: a, entries, field_18397, entries, f_hgwqifuf, field_220658_a, weightedEntries

Random: b, random, field_18398, random, f_evggesuk, field_220659_b, random

int: a, FLAT_THRESHOLD, field_55646, FLATTENED_CONTENT_THRESHOLD, f_dgdnntpb, MIN_COMPACT_WEIGHT_SUM, f_379941_

int: b, totalWeight, field_29934, totalWeight, f_qareelam, weightSum, f_381392_

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

Pool$Content<E>: d, selector, field_55647, content, f_cwfvplde, impl, f_382546_

Constructors

()

Methods

Stream<U> (): c, stream, method_19032, stream, m_clhxtfmu, func_220655_b, getValueStream

WeightedList<U> (U, int): a, add, method_19031, add, m_jlywhwqn, func_226313_a_, addWeighted

WeightedList<U> (): a, shuffle, method_19029, shuffle, m_yuniliby, func_226309_a_, randomizeWithWeight

WeightedList<U> (Random): a, shuffle, method_23333, shuffle, m_kvlmxlxw, func_226314_a_, randomizeWithWeight

U (Random): b, getOne, method_23337, pickRandom, m_vkdfmjjf, func_226318_b_, getRandomValue

<U> Codec<WeightedList<U>> (Codec<U>): a, codec, method_28338, createCodec, m_ovsaknci, func_234002_a_, getCodec

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

boolean (): b, isEmpty, method_28339, isEmpty, m_txfpijht, func_234005_b_, isEmpty

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

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

<E> Pool<E> (E): a, of, method_66214, of, m_zsvgtahm, of, m_389077_

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

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

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

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

Optional<E> (Random): a, getRandom, method_34992, getOrEmpty, m_knfttcss, choose, m_387794_

E (Random): b, getRandomOrThrow, method_66216, get, m_fjcmuvat, chooseOrThrow, m_387013_

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

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

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

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

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

1.16.5

Names

Fields

Constructors

Methods

1.16.4

Names

aum

aup

Fields

List<WeightedList$Entry<U>>: a, entries, field_18397, entries, f_hgwqifuf, field_220658_a, field_220658_a

List<WeightedList$Entry<U>>: a, entries, field_18397, entries, f_hgwqifuf, field_220658_a, weightedEntries

Constructors

Methods

Stream<U> (): c, stream, method_19032, stream, m_clhxtfmu, func_220655_b, func_220655_b

Stream<U> (): c, stream, method_19032, stream, m_clhxtfmu, func_220655_b, getValueStream

WeightedList<U> (U, int): a, add, method_19031, add, m_jlywhwqn, func_226313_a_, func_226313_a_

WeightedList<U> (U, int): a, add, method_19031, add, m_jlywhwqn, func_226313_a_, addWeighted

WeightedList<U> (): a, shuffle, method_19029, shuffle, m_yuniliby, func_226309_a_, func_226309_a_

WeightedList<U> (): a, shuffle, method_19029, shuffle, m_yuniliby, func_226309_a_, randomizeWithWeight

WeightedList<U> (Random): a, shuffle, method_23333, shuffle, m_kvlmxlxw, func_226314_a_, func_226314_a_

WeightedList<U> (Random): a, shuffle, method_23333, shuffle, m_kvlmxlxw, func_226314_a_, randomizeWithWeight

U (Random): b, getOne, method_23337, pickRandom, m_vkdfmjjf, func_226318_b_, func_226318_b_

U (Random): b, getOne, method_23337, pickRandom, m_vkdfmjjf, func_226318_b_, getRandomValue

<U> Codec<WeightedList<U>> (Codec<U>): a, codec, method_28338, method_28338, m_ovsaknci, func_234002_a_, func_234002_a_

<U> Codec<WeightedList<U>> (Codec<U>): a, codec, method_28338, createCodec, m_ovsaknci, func_234002_a_, getCodec

boolean (): b, isEmpty, method_28339, isEmpty, m_txfpijht, func_234005_b_, func_234005_b_

boolean (): b, isEmpty, method_28339, isEmpty, m_txfpijht, func_234005_b_, isEmpty

1.16.3

Names

Fields

Constructors

Methods

1.16.2

Names

atb

aum

Fields

Constructors

Methods

boolean (): b, isEmpty, method_28339, method_28339, m_txfpijht, func_234005_b_, func_234005_b_

boolean (): b, isEmpty, method_28339, isEmpty, m_txfpijht, func_234005_b_, func_234005_b_

1.16.1

Names

aod

atb

net.minecraft.util.WeightedList

net.minecraft.util.collection.WeightedList

Fields

Constructors

(Random)

<T> (Dynamic<T>, Function<Dynamic<T>, U>)

(List<WeightedList$Entry<U>>)

Methods

Stream<? extends U> (): b, stream, method_19032, stream, m_clhxtfmu, func_220655_b, func_220655_b

Stream<U> (): c, stream, method_19032, stream, m_clhxtfmu, func_220655_b, func_220655_b

<T> T (DynamicOps<T>, Function<U, Dynamic<T>>): a, serialize, method_23330, serialize, m_icnaozjm, func_226310_a_, func_226310_a_

Stream<WeightedList<U>.Entry<? extends U>> (): c, streamEntries, method_23338, streamEntries, m_hafhmdhw, func_226319_c_, func_226319_c_

<U> Codec<WeightedList<U>> (Codec<U>): a, codec, method_28338, method_28338, m_ovsaknci, func_234002_a_, func_234002_a_

boolean (): b, isEmpty, method_28339, method_28339, m_txfpijht, func_234005_b_, func_234005_b_

1.15.2

Names

aoa

aod

Fields

Constructors

Methods

1.15.1

Names

Fields

Constructors

Methods

1.15

Names

ama

aoa

Fields

List<WeightedList<U>.Entry<? extends U>>: a, entries, field_18397, entries, f_hgwqifuf, f_43748440, field_220658_a, field_220658_a

List<WeightedList<U>.Entry<? extends U>>: a, entries, field_18397, entries, f_hgwqifuf, field_220658_a, field_220658_a

Random: b, random, field_18398, random, f_evggesuk, f_79724996, field_220659_b, random

Random: b, random, field_18398, random, f_evggesuk, field_220659_b, random

Constructors

<T> (Dynamic<T>, Function<Dynamic<T>, U>)

Methods

void (U, int): a, add, method_19031, add, m_jlywhwqn, m_76277077, func_220656_a, func_220656_a

void (): a, shuffle, method_19029, shuffle, m_ynxyhoad, m_11746656, func_220654_a, func_220654_a

Stream<? extends U> (): b, stream, method_19032, stream, m_clhxtfmu, m_38628687, func_220655_b, func_220655_b

Stream<? extends U> (): b, stream, method_19032, stream, m_clhxtfmu, func_220655_b, func_220655_b

<T> T (DynamicOps<T>, Function<U, Dynamic<T>>): a, serialize, method_23330, serialize, m_icnaozjm, func_226310_a_, func_226310_a_

WeightedList<U> (U, int): a, add, method_19031, add, m_jlywhwqn, func_226313_a_, func_226313_a_

WeightedList<U> (): a, shuffle, method_19029, shuffle, m_yuniliby, func_226309_a_, func_226309_a_

WeightedList<U> (Random): a, shuffle, method_23333, shuffle, m_kvlmxlxw, func_226314_a_, func_226314_a_

Stream<WeightedList<U>.Entry<? extends U>> (): c, streamEntries, method_23338, streamEntries, m_hafhmdhw, func_226319_c_, func_226319_c_

U (Random): b, getOne, method_23337, pickRandom, m_vkdfmjjf, func_226318_b_, func_226318_b_

1.14.4

Names

alv

ama

net.minecraft.world.entity.ai.behavior.WeightedList

net.minecraft.unmapped.C_bvkdjias

Fields

List<WeightedList<U>.Entry<? extends U>>: a, field_18397, entries, f_43748440, field_220658_a, field_220658_a

List<WeightedList<U>.Entry<? extends U>>: a, entries, field_18397, entries, f_hgwqifuf, f_43748440, field_220658_a, field_220658_a

Random: b, field_18398, random, f_79724996, field_220659_b, random

Random: b, random, field_18398, random, f_evggesuk, f_79724996, field_220659_b, random

Constructors

Methods

void (U, int): a, method_19031, add, m_76277077, func_220656_a, func_220656_a

void (U, int): a, add, method_19031, add, m_jlywhwqn, m_76277077, func_220656_a, func_220656_a

void (): a, method_19029, shuffle, m_11746656, func_220654_a, func_220654_a

void (): a, shuffle, method_19029, shuffle, m_ynxyhoad, m_11746656, func_220654_a, func_220654_a

Stream<? extends U> (): b, method_19032, stream, m_38628687, func_220655_b, func_220655_b

Stream<? extends U> (): b, stream, method_19032, stream, m_clhxtfmu, m_38628687, func_220655_b, func_220655_b

1.14.3

Names

als

alv

net.minecraft.util.WeightedList

Fields

List<C_99486433<U>.C_32533132<? extends U>>: a, field_18397, f_43748440, field_220658_a, field_220658_a

List<WeightedList<U>.Entry<? extends U>>: a, field_18397, entries, f_43748440, field_220658_a, field_220658_a

Random: b, field_18398, f_79724996, field_220659_b, random

Random: b, field_18398, random, f_79724996, field_220659_b, random

Constructors

Methods

void (U, int): a, method_19031, m_76277077, func_220656_a, func_220656_a

void (U, int): a, method_19031, add, m_76277077, func_220656_a, func_220656_a

void (): a, method_19029, m_11746656, func_220654_a, func_220654_a

void (): a, method_19029, shuffle, m_11746656, func_220654_a, func_220654_a

Stream<? extends U> (): b, method_19032, m_38628687, func_220655_b, func_220655_b

Stream<? extends U> (): b, method_19032, stream, m_38628687, func_220655_b, func_220655_b

1.14.2

Names

Fields

Random: b, field_18398, f_79724996, field_220659_b, field_220659_b

Random: b, field_18398, f_79724996, field_220659_b, random

Constructors

Methods

1.14.1

Names

alr

als

Fields

Constructors

Methods

1.14

Names

alr

net.minecraft.class_4131

net.minecraft.unmapped.C_99486433

net.minecraft.util.WeightedList

net.minecraft.util.WeightedList

Fields

List<C_99486433<U>.C_32533132<? extends U>>: a, field_18397, f_43748440, field_220658_a, field_220658_a

Random: b, field_18398, f_79724996, field_220659_b, field_220659_b

Constructors

()

(Random)

Methods

void (U, int): a, method_19031, m_76277077, func_220656_a, func_220656_a

void (): a, method_19029, m_11746656, func_220654_a, func_220654_a

Stream<? extends U> (): b, method_19032, m_38628687, func_220655_b, func_220655_b