类 DataComponentPatch
java.lang.Object
net.minecraft.core.component.DataComponentPatch
-
嵌套类概要
嵌套类修饰符和类型类说明static class
(专用程序包) static interface
(专用程序包) static final record
static final record
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.Codec
<DataComponentPatch> static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentPatch> static final DataComponentPatch
(专用程序包) final it.unimi.dsi.fastutil.objects.Reference2ObjectMap
<DataComponentType<?>, Optional<?>> private static final String
static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentPatch> -
构造器概要
构造器构造器说明DataComponentPatch
(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> p_331816_) -
方法概要
修饰符和类型方法说明static DataComponentPatch.Builder
builder()
private static StreamCodec
<RegistryFriendlyByteBuf, DataComponentPatch> createStreamCodec
(DataComponentPatch.CodecGetter p_412279_) Set
<Map.Entry<DataComponentType<?>, Optional<?>>> entrySet()
boolean
forget
(Predicate<DataComponentType<?>> p_338629_) <T> Optional
<? extends T> get
(DataComponentType<? extends T> p_331532_) int
hashCode()
boolean
isEmpty()
int
size()
split()
toString()
(专用程序包) static String
toString
(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> p_330935_)
-
字段详细资料
-
EMPTY
-
CODEC
-
STREAM_CODEC
-
DELIMITED_STREAM_CODEC
-
REMOVED_PREFIX
- 另请参阅:
-
map
-
-
构造器详细资料
-
DataComponentPatch
DataComponentPatch(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> p_331816_)
-
-
方法详细资料
-
createStreamCodec
private static StreamCodec<RegistryFriendlyByteBuf,DataComponentPatch> createStreamCodec(DataComponentPatch.CodecGetter p_412279_) -
builder
-
get
-
entrySet
-
size
public int size() -
forget
-
isEmpty
public boolean isEmpty() -
split
-
equals
-
hashCode
public int hashCode() -
toString
-
toString
static String toString(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> p_330935_)
-