类 DataComponentPatch
java.lang.Object
net.minecraft.core.component.DataComponentPatch
-
嵌套类概要
嵌套类修饰符和类型类说明static class
(专用程序包) static final record
static final record
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.Codec
<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_329783_) -
方法概要
修饰符和类型方法说明static DataComponentPatch.Builder
builder()
Set
<Map.Entry<DataComponentType<?>, Optional<?>>> entrySet()
boolean
forget
(Predicate<DataComponentType<?>> p_333810_) <T> Optional
<? extends T> get
(DataComponentType<? extends T> p_330742_) int
hashCode()
boolean
isEmpty()
int
size()
split()
toString()
(专用程序包) static String
toString
(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> p_335670_)
-
字段详细资料
-
EMPTY
-
CODEC
-
STREAM_CODEC
-
REMOVED_PREFIX
- 另请参阅:
-
map
-
-
构造器详细资料
-
DataComponentPatch
DataComponentPatch(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> p_329783_)
-
-
方法详细资料
-
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_335670_)
-