History - net.minecraft.world.item.component.CustomData

1.21.3

Names

cxh

czy

Fields

org.slf4j.Logger: e, LOGGER, field_51522, LOGGER, f_336410_

org.slf4j.Logger: e, LOGGER, field_51522, LOGGER

CustomData: a, EMPTY, field_49302, DEFAULT, f_317060_

CustomData: a, EMPTY, field_49302, DEFAULT

com.mojang.serialization.Codec<CustomData>: b, CODEC, field_49303, CODEC, f_314012_

com.mojang.serialization.Codec<CustomData>: b, CODEC, field_49303, CODEC

com.mojang.serialization.Codec<CustomData>: c, CODEC_WITH_ID, field_49304, CODEC_WITH_ID, f_316298_

com.mojang.serialization.Codec<CustomData>: c, CODEC_WITH_ID, field_49304, CODEC_WITH_ID

StreamCodec<io.netty.buffer.ByteBuf, CustomData>: d, STREAM_CODEC, field_49305, PACKET_CODEC, f_316654_

StreamCodec<io.netty.buffer.ByteBuf, CustomData>: d, STREAM_CODEC, field_49305, PACKET_CODEC

CompoundTag: f, tag, field_49306, nbt, f_316331_

CompoundTag: f, tag, field_49306, nbt

Constructors

Methods

CustomData (CompoundTag): a, of, method_57456, of, m_321102_

CustomData (CompoundTag): a, of, method_57456, of

Predicate<ItemStack> (DataComponentType<CustomData>, CompoundTag): a, itemMatcher, method_57454, createPredicate, m_321708_

Predicate<ItemStack> (DataComponentType<CustomData>, CompoundTag): a, itemMatcher, method_57454, createPredicate

boolean (CompoundTag): b, matchedBy, method_57460, matches, m_324111_

boolean (CompoundTag): b, matchedBy, method_57460, matches

void (DataComponentType<CustomData>, ItemStack, Consumer<CompoundTag>): a, update, method_57452, set, m_322978_

void (DataComponentType<CustomData>, ItemStack, Consumer<CompoundTag>): a, update, method_57452, set

void (DataComponentType<CustomData>, ItemStack, CompoundTag): a, set, method_57453, set, m_323150_

void (DataComponentType<CustomData>, ItemStack, CompoundTag): a, set, method_57453, set

CustomData (Consumer<CompoundTag>): a, update, method_57451, apply, m_320944_

CustomData (Consumer<CompoundTag>): a, update, method_57451, apply

void (Entity): a, loadInto, method_57445, applyToEntity, m_322510_

void (Entity): a, loadInto, method_57445, applyToEntity

boolean (BlockEntity, HolderLookup$Provider): a, loadInto, method_57449, applyToBlockEntity, m_323254_

boolean (BlockEntity, HolderLookup$Provider): a, loadInto, method_57449, applyToBlockEntity

<T> com.mojang.serialization.DataResult<T> (com.mojang.serialization.MapDecoder<T>): a, read, method_57446, get, m_322213_

<T> com.mojang.serialization.DataResult<T> (com.mojang.serialization.MapDecoder<T>): a, read, method_57446, get

int (): a, size, method_57444, getSize, m_322577_

int (): a, size, method_57444, getSize

boolean (): b, isEmpty, method_57458, isEmpty, m_318976_

boolean (): b, isEmpty, method_57458, isEmpty

CompoundTag (): c, copyTag, method_57461, copyNbt, m_323330_

CompoundTag (): c, copyTag, method_57461, copyNbt

boolean (String): a, contains, method_57450, contains, m_323290_

boolean (String): a, contains, method_57450, contains

CompoundTag (): d, getUnsafe, method_57463, getNbt, m_323459_

CompoundTag (): d, getUnsafe, method_57463, getNbt

<T> com.mojang.serialization.DataResult<CustomData> (com.mojang.serialization.DynamicOps<Tag>, com.mojang.serialization.MapEncoder<T>, T): a, update, method_57447, with, m_323216_

<T> com.mojang.serialization.DataResult<CustomData> (com.mojang.serialization.DynamicOps<Tag>, com.mojang.serialization.MapEncoder<T>, T): a, update, method_57447, with

<T> com.mojang.serialization.DataResult<T> (com.mojang.serialization.DynamicOps<Tag>, com.mojang.serialization.MapDecoder<T>): a, read, method_59980, get, m_339511_

<T> com.mojang.serialization.DataResult<T> (com.mojang.serialization.DynamicOps<Tag>, com.mojang.serialization.MapDecoder<T>): a, read, method_59980, get

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

cxg

cxh

Fields

org.slf4j.Logger: e, LOGGER, field_51522, field_51522, f_336410_

org.slf4j.Logger: e, LOGGER, field_51522, LOGGER, f_336410_

Constructors

Methods

<T> com.mojang.serialization.DataResult<CustomData> (com.mojang.serialization.MapEncoder<T>, T): a, update, method_57447, with, m_323216_

<T> com.mojang.serialization.DataResult<CustomData> (com.mojang.serialization.DynamicOps<Tag>, com.mojang.serialization.MapEncoder<T>, T): a, update, method_57447, with, m_323216_

<T> com.mojang.serialization.DataResult<T> (com.mojang.serialization.DynamicOps<Tag>, com.mojang.serialization.MapDecoder<T>): a, read, method_59980, get, m_339511_

1.20.6

Names

cxg

net.minecraft.world.item.component.CustomData

net.minecraft.class_9279

net.minecraft.component.type.NbtComponent

net.minecraft.src.C_313856_

net.minecraft.world.item.component.CustomData

Fields

org.slf4j.Logger: e, LOGGER, field_51522, field_51522, f_336410_

CustomData: a, EMPTY, field_49302, DEFAULT, f_317060_

com.mojang.serialization.Codec<CustomData>: b, CODEC, field_49303, CODEC, f_314012_

com.mojang.serialization.Codec<CustomData>: c, CODEC_WITH_ID, field_49304, CODEC_WITH_ID, f_316298_

StreamCodec<io.netty.buffer.ByteBuf, CustomData>: d, STREAM_CODEC, field_49305, PACKET_CODEC, f_316654_

CompoundTag: f, tag, field_49306, nbt, f_316331_

Constructors

(CompoundTag)

Methods

CustomData (CompoundTag): a, of, method_57456, of, m_321102_

Predicate<ItemStack> (DataComponentType<CustomData>, CompoundTag): a, itemMatcher, method_57454, createPredicate, m_321708_

boolean (CompoundTag): b, matchedBy, method_57460, matches, m_324111_

void (DataComponentType<CustomData>, ItemStack, Consumer<CompoundTag>): a, update, method_57452, set, m_322978_

void (DataComponentType<CustomData>, ItemStack, CompoundTag): a, set, method_57453, set, m_323150_

CustomData (Consumer<CompoundTag>): a, update, method_57451, apply, m_320944_

void (Entity): a, loadInto, method_57445, applyToEntity, m_322510_

boolean (BlockEntity, HolderLookup$Provider): a, loadInto, method_57449, applyToBlockEntity, m_323254_

<T> com.mojang.serialization.DataResult<CustomData> (com.mojang.serialization.MapEncoder<T>, T): a, update, method_57447, with, m_323216_

<T> com.mojang.serialization.DataResult<T> (com.mojang.serialization.MapDecoder<T>): a, read, method_57446, get, m_322213_

int (): a, size, method_57444, getSize, m_322577_

boolean (): b, isEmpty, method_57458, isEmpty, m_318976_

CompoundTag (): c, copyTag, method_57461, copyNbt, m_323330_

boolean (String): a, contains, method_57450, contains, m_323290_

CompoundTag (): d, getUnsafe, method_57463, getNbt, m_323459_