Class ExampleData
java.lang.Object
me.ranzeplay.messagechain.nbtutils.AbstractNBTSerializable
me.ranzeplay.messagechain.testing.ExampleData
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.ranzeplay.messagechain.nbtutils.AbstractNBTSerializable
loadFromNbt
-
Constructor Details
-
ExampleData
public ExampleData()
-
-
Method Details
-
toNbt
public net.minecraft.nbt.NbtCompound toNbt()- Specified by:
toNbtin classAbstractNBTSerializable- Returns:
- Serialized NBT structure.
-
fromNbt
public void fromNbt(net.minecraft.nbt.NbtCompound nbt) Description copied from class:AbstractNBTSerializableLoads current object instance with NBT data.- Specified by:
fromNbtin classAbstractNBTSerializable- Parameters:
nbt- Source data
-
getGenericClass
Description copied from class:AbstractNBTSerializableGet implemented class- Specified by:
getGenericClassin classAbstractNBTSerializable- Returns:
- Implemented
-