public abstract static class ITimerCallback.Serializer<T,C extends ITimerCallback<T>>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<?> |
clazz |
private ResourceLocation |
typeId |
Constructor and Description |
---|
Serializer(ResourceLocation p_i51270_1_,
java.lang.Class<?> p_i51270_2_) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
func_216310_a() |
java.lang.Class<?> |
func_216311_b() |
abstract C |
read(CompoundNBT p_212846_1_) |
abstract void |
write(CompoundNBT p_212847_1_,
C p_212847_2_) |
private final ResourceLocation typeId
private final java.lang.Class<?> clazz
public Serializer(ResourceLocation p_i51270_1_, java.lang.Class<?> p_i51270_2_)
public ResourceLocation func_216310_a()
public java.lang.Class<?> func_216311_b()
public abstract void write(CompoundNBT p_212847_1_, C p_212847_2_)
public abstract C read(CompoundNBT p_212846_1_)