类 TagValueOutput
java.lang.Object
net.minecraft.world.level.storage.TagValueOutput
- 所有已实现的接口:
ValueOutput
,ValueOutputExtension
-
嵌套类概要
嵌套类修饰符和类型类说明static final record
static final record
static final record
(专用程序包) static class
(专用程序包) static class
从接口继承的嵌套类/接口 net.minecraft.world.level.storage.ValueOutput
ValueOutput.TypedOutputList<T>, ValueOutput.ValueOutputList
-
字段概要
字段修饰符和类型字段说明private final com.mojang.serialization.DynamicOps
<Tag> private final CompoundTag
private final ProblemReporter
-
构造器概要
构造器构造器说明TagValueOutput
(ProblemReporter p_422479_, com.mojang.serialization.DynamicOps<Tag> p_421675_, CompoundTag p_421646_) -
方法概要
修饰符和类型方法说明childrenList
(String p_422352_) static TagValueOutput
createWithContext
(ProblemReporter p_421683_, HolderLookup.Provider p_422041_) static TagValueOutput
createWithoutContext
(ProblemReporter p_421558_) void
boolean
isEmpty()
<T> ValueOutput.TypedOutputList
<T> void
putBoolean
(String p_422027_, boolean p_422245_) void
void
void
void
void
putIntArray
(String p_422081_, int[] p_422087_) void
void
void
private ProblemReporter
reporterForChild
(String p_422336_) <T> void
store
(com.mojang.serialization.MapCodec<T> p_422011_, T p_422483_) <T> void
void
store
(CompoundTag tag) Store the elements of the giventag
in the root level of this object, with the same keys as in thetag
.<T> void
storeNullable
(String p_422693_, com.mojang.serialization.Codec<T> p_422658_, T p_422422_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.neoforged.neoforge.common.extensions.ValueOutputExtension
putChild
-
字段详细资料
-
problemReporter
-
ops
-
output
-
-
构造器详细资料
-
TagValueOutput
TagValueOutput(ProblemReporter p_422479_, com.mojang.serialization.DynamicOps<Tag> p_421675_, CompoundTag p_421646_)
-
-
方法详细资料
-
createWithContext
public static TagValueOutput createWithContext(ProblemReporter p_421683_, HolderLookup.Provider p_422041_) -
createWithoutContext
-
store
- 指定者:
store
在接口中ValueOutput
-
storeNullable
public <T> void storeNullable(String p_422693_, com.mojang.serialization.Codec<T> p_422658_, @Nullable T p_422422_) - 指定者:
storeNullable
在接口中ValueOutput
-
store
public <T> void store(com.mojang.serialization.MapCodec<T> p_422011_, T p_422483_) - 指定者:
store
在接口中ValueOutput
-
store
从接口复制的说明:ValueOutputExtension
Store the elements of the giventag
in the root level of this object, with the same keys as in thetag
.- 指定者:
store
在接口中ValueOutputExtension
- 参数:
tag
- the tag to store into this object
-
putBoolean
- 指定者:
putBoolean
在接口中ValueOutput
-
putByte
- 指定者:
putByte
在接口中ValueOutput
-
putShort
- 指定者:
putShort
在接口中ValueOutput
-
putInt
- 指定者:
putInt
在接口中ValueOutput
-
putLong
- 指定者:
putLong
在接口中ValueOutput
-
putFloat
- 指定者:
putFloat
在接口中ValueOutput
-
putDouble
- 指定者:
putDouble
在接口中ValueOutput
-
putString
- 指定者:
putString
在接口中ValueOutput
-
putIntArray
- 指定者:
putIntArray
在接口中ValueOutput
-
reporterForChild
-
child
- 指定者:
child
在接口中ValueOutput
-
childrenList
- 指定者:
childrenList
在接口中ValueOutput
-
list
public <T> ValueOutput.TypedOutputList<T> list(String p_421955_, com.mojang.serialization.Codec<T> p_421545_) - 指定者:
list
在接口中ValueOutput
-
discard
- 指定者:
discard
在接口中ValueOutput
-
isEmpty
public boolean isEmpty()- 指定者:
isEmpty
在接口中ValueOutput
-
buildResult
-