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

public class PotDecorations extends Object
  • Constructor Details

    • PotDecorations

      public PotDecorations(@Nullable @Nullable ItemType back, @Nullable @Nullable ItemType left, @Nullable @Nullable ItemType right, @Nullable @Nullable ItemType front)
  • Method Details

    • read

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

      public static void write(PacketWrapper<?> wrapper, PotDecorations decorations)
    • getBack

      @Nullable public @Nullable ItemType getBack()
    • setBack

      public void setBack(@Nullable @Nullable ItemType back)
    • getLeft

      @Nullable public @Nullable ItemType getLeft()
    • setLeft

      public void setLeft(@Nullable @Nullable ItemType left)
    • getRight

      @Nullable public @Nullable ItemType getRight()
    • setRight

      public void setRight(@Nullable @Nullable ItemType right)
    • getFront

      @Nullable public @Nullable ItemType getFront()
    • setFront

      public void setFront(@Nullable @Nullable ItemType front)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object