类 PotatoSavedData
java.lang.Object
net.minecraft.world.level.saveddata.SavedData
top.r3944realms.superleadrope.core.potato.PotatoSavedData
public class PotatoSavedData
extends net.minecraft.world.level.saveddata.SavedData
The type Potato saved data.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static PotatoSavedDatacreate(net.minecraft.server.level.ServerLevel level) Create potato saved data.static PotatoSavedDataload(net.minecraft.nbt.CompoundTag tag) Load potato saved data.@NotNull net.minecraft.nbt.CompoundTagsave(net.minecraft.nbt.CompoundTag tag) 从类继承的方法 net.minecraft.world.level.saveddata.SavedData
isDirty, save, setDirty, setDirty
-
字段详细资料
-
DATA_NAME
The constant DATA_NAME.- 另请参阅:
-
-
构造器详细资料
-
PotatoSavedData
public PotatoSavedData()
-
-
方法详细资料
-
save
@NotNull public @NotNull net.minecraft.nbt.CompoundTag save(net.minecraft.nbt.CompoundTag tag) - 指定者:
save在类中net.minecraft.world.level.saveddata.SavedData
-
load
Load potato saved data.- 参数:
tag- the tag- 返回:
- the potato saved data
-
create
Create potato saved data.- 参数:
level- the level- 返回:
- the potato saved data
-