public final class LongSerializable extends java.lang.Object implements IDynamicSerializable
Modifier and Type | Field and Description |
---|---|
private long |
value |
Modifier | Constructor and Description |
---|---|
private |
LongSerializable(long p_i51540_1_) |
Modifier and Type | Method and Description |
---|---|
static LongSerializable |
deserialize(com.mojang.datafixers.Dynamic<?> p_223462_0_) |
boolean |
equals(java.lang.Object p_equals_1_) |
long |
get() |
int |
hashCode() |
static LongSerializable |
of(long p_223463_0_) |
<T> T |
serialize(com.mojang.datafixers.types.DynamicOps<T> p_218175_1_) |
java.lang.String |
toString() |
public long get()
public <T> T serialize(com.mojang.datafixers.types.DynamicOps<T> p_218175_1_)
serialize
in interface IDynamicSerializable
public static LongSerializable deserialize(com.mojang.datafixers.Dynamic<?> p_223462_0_)
public static LongSerializable of(long p_223463_0_)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object