Class WrapperPlayServerMapData.MapDecoration

java.lang.Object
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerMapData.MapDecoration
Enclosing class:
WrapperPlayServerMapData

public static class WrapperPlayServerMapData.MapDecoration extends Object
  • Constructor Details

    • MapDecoration

      public MapDecoration(MapDecorationType type, byte x, byte y, byte direction, @Nullable @Nullable net.kyori.adventure.text.Component displayName)
  • Method Details

    • read

      public static WrapperPlayServerMapData.MapDecoration read(PacketWrapper<?> wrapper)
    • write

      public static void write(PacketWrapper<?> wrapper, WrapperPlayServerMapData.MapDecoration decoration)
    • getType

      public MapDecorationType getType()
    • setType

      public void setType(MapDecorationType type)
    • getX

      public byte getX()
    • setX

      public void setX(byte x)
    • getY

      public byte getY()
    • setY

      public void setY(byte y)
    • getDirection

      public byte getDirection()
    • setDirection

      public void setDirection(byte direction)
    • getDisplayName

      @Nullable public @Nullable net.kyori.adventure.text.Component getDisplayName()
    • setDisplayName

      public void setDisplayName(@Nullable @Nullable net.kyori.adventure.text.Component displayName)