static class GossipManager.GossipEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.UUID |
target |
GossipType |
type |
int |
value |
Constructor and Description |
---|
GossipEntry(java.util.UUID target,
GossipType type,
int value) |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<GossipManager.GossipEntry> |
deserialize(com.mojang.datafixers.Dynamic<?> p_220902_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> p_220905_1_) |
java.lang.String |
toString() |
int |
weightedValue() |
public final java.util.UUID target
public final GossipType type
public final int value
public GossipEntry(java.util.UUID target, GossipType type, int value)
public int weightedValue()
public java.lang.String toString()
toString
in class java.lang.Object
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> p_220905_1_)
public static java.util.Optional<GossipManager.GossipEntry> deserialize(com.mojang.datafixers.Dynamic<?> p_220902_0_)