net.minecraft.core.component

public final class DataComponentPatch

ks
net.minecraft.core.component.DataComponentPatch
net.minecraft.class_9326
net.minecraft.unmapped.C_jqyoylib
net.minecraft.component.ComponentChanges
net.minecraft.component.DataComponentPatch
net.minecraft.src.C_313461_
net.minecraft.core.component.DataComponentPatch

Field summary

Modifier and TypeField
public static final DataComponentPatch
a
EMPTY
field_49588
f_hfqkylly
EMPTY
EMPTY
f_315512_
public static final com.mojang.serialization.Codec<DataComponentPatch>
b
CODEC
field_49589
f_niaciihs
CODEC
CODEC
f_315187_
public static final StreamCodec<RegistryFriendlyByteBuf, DataComponentPatch>
c
STREAM_CODEC
field_49590
f_ceranigh
PACKET_CODEC
PACKET_CODEC
f_314779_
private static final String
e
REMOVED_PREFIX
field_49592
f_xdjqkddv
REMOVE_PREFIX
REMOVED_PREFIX
f_315891_
final it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>>
d
map
field_49591
f_ddzjqron
changedComponents
patchedComponents
f_314958_

Constructor summary

ModifierConstructor
(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> changedComponents)

Method summary

Modifier and TypeMethod
public static DataComponentPatch$Builder
a()
builder()
method_57841()
m_nonvnbuh()
builder()
builder()
m_322543_()
public <T> Optional<? extends T>
a(ku<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_57845(class_9331<? extends T> arg0)
m_gvzwygqe(C_pscqxfcs<? extends T> arg0)
get(ComponentType<? extends T> type)
get(DataComponentType<? extends T> type)
m_319281_(C_313543_<? extends T> arg0)
public Set<Map$Entry<DataComponentType<?>, Optional<?>>>
b()
entrySet()
method_57846()
m_jxzjlqnn()
entrySet()
entrySet()
m_320936_()
public int
c()
size()
method_57847()
m_ogqcghcj()
size()
size()
m_325008_()
public DataComponentPatch
a(Predicate<ku<?>> arg0)
forget(Predicate<DataComponentType<?>> arg0)
method_58757(Predicate<class_9331<?>> arg0)
m_aootufzt(Predicate<C_pscqxfcs<?>> arg0)
withRemovedIf(Predicate<ComponentType<?>> removedTypePredicate)
matching(Predicate<DataComponentType<?>> predicate)
m_318691_(Predicate<C_313543_<?>> arg0)
public boolean
d()
isEmpty()
method_57848()
m_mmqaewwd()
isEmpty()
isEmpty()
m_323586_()
public DataComponentPatch$SplitResult
e()
split()
method_58759()
m_xjhdaptk()
toAddedRemovedPair()
split()
m_324808_()
static String
a(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<ku<?>, Optional<?>> arg0)
toString(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> arg0)
method_57842(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<class_9331<?>, Optional<?>> arg0)
m_jbaewuyi(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<C_pscqxfcs<?>, Optional<?>> arg0)
toString(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<ComponentType<?>, Optional<?>> changes)
toString(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> components)
m_318799_(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<C_313543_<?>, Optional<?>> p_335670_)