java.lang.Object
com.github.retrooper.packetevents.protocol.component.builtin.item.ItemDyeColor

public class ItemDyeColor extends Object
  • Constructor Details

    • ItemDyeColor

      public ItemDyeColor(int rgb, boolean showInTooltip)
  • Method Details

    • read

      public static ItemDyeColor read(PacketWrapper<?> wrapper)
    • write

      public static void write(PacketWrapper<?> wrapper, ItemDyeColor color)
    • getRgb

      public int getRgb()
    • setRgb

      public void setRgb(int rgb)
    • isShowInTooltip

      public boolean isShowInTooltip()
    • setShowInTooltip

      public void setShowInTooltip(boolean showInTooltip)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object