Class ClientboundTestInstanceBlockStatus

java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.ClientboundTestInstanceBlockStatus
All Implemented Interfaces:
Packet, MinecraftPacket

public class ClientboundTestInstanceBlockStatus extends Object implements MinecraftPacket
  • Constructor Details

    • ClientboundTestInstanceBlockStatus

      public ClientboundTestInstanceBlockStatus(io.netty.buffer.ByteBuf in)
    • ClientboundTestInstanceBlockStatus

      public ClientboundTestInstanceBlockStatus(net.kyori.adventure.text.Component status, @Nullable @Nullable org.cloudburstmc.math.vector.Vector3i size)
  • Method Details

    • serialize

      public void serialize(io.netty.buffer.ByteBuf out)
      Specified by:
      serialize in interface MinecraftPacket
    • getStatus

      public net.kyori.adventure.text.Component getStatus()
    • getSize

      @Nullable public @Nullable org.cloudburstmc.math.vector.Vector3i getSize()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object
    • withStatus

      public @NonNull ClientboundTestInstanceBlockStatus withStatus(net.kyori.adventure.text.Component status)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withSize

      public @NonNull ClientboundTestInstanceBlockStatus withSize(@Nullable @Nullable org.cloudburstmc.math.vector.Vector3i size)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).