Class GossipManager.GossipEntry

  • Enclosing class:
    GossipManager

    static class GossipManager.GossipEntry
    extends java.lang.Object
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • target

        public final java.util.UUID target
      • 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 class java.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_)