static class VillagerGossips.GossipEntry extends Object
Modifier and Type | Field and Description |
---|---|
UUID |
target |
VillageGossipType |
type |
int |
value |
Constructor and Description |
---|
GossipEntry(UUID uUID,
VillageGossipType villageGossipType,
int int2) |
Modifier and Type | Method and Description |
---|---|
static com.mojang.serialization.DataResult<VillagerGossips.GossipEntry> |
deserialize(com.mojang.serialization.Dynamic<?> dynamic) |
int |
getValue() |
<T> com.mojang.serialization.Dynamic<T> |
serialize(com.mojang.serialization.DynamicOps<T> dynamicOps) |
String |
toString() |
public final UUID target
public final VillageGossipType type
public final int value
public GossipEntry(UUID uUID, VillageGossipType villageGossipType, int int2)
public int getValue()
public <T> com.mojang.serialization.Dynamic<T> serialize(com.mojang.serialization.DynamicOps<T> dynamicOps)
public static com.mojang.serialization.DataResult<VillagerGossips.GossipEntry> deserialize(com.mojang.serialization.Dynamic<?> dynamic)