Package net.minecraft.village
Class GossipManager.GossipEntry
- java.lang.Object
-
- net.minecraft.village.GossipManager.GossipEntry
-
- Enclosing class:
- GossipManager
static class GossipManager.GossipEntry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.UUID
target
GossipType
type
int
value
-
Constructor Summary
Constructors Constructor Description GossipEntry(java.util.UUID p_i50613_1_, GossipType p_i50613_2_, int p_i50613_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.mojang.serialization.DataResult<GossipManager.GossipEntry>
load(com.mojang.serialization.Dynamic<?> p_234060_0_)
<T> com.mojang.serialization.Dynamic<T>
store(com.mojang.serialization.DynamicOps<T> p_234061_1_)
java.lang.String
toString()
int
weightedValue()
-
-
-
Field Detail
-
target
public final java.util.UUID target
-
type
public final GossipType type
-
value
public final int value
-
-
Constructor Detail
-
GossipEntry
public GossipEntry(java.util.UUID p_i50613_1_, GossipType p_i50613_2_, int p_i50613_3_)
-
-
Method Detail
-
weightedValue
public int weightedValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
store
public <T> com.mojang.serialization.Dynamic<T> store(com.mojang.serialization.DynamicOps<T> p_234061_1_)
-
load
public static com.mojang.serialization.DataResult<GossipManager.GossipEntry> load(com.mojang.serialization.Dynamic<?> p_234060_0_)
-
-