public class Title extends DefinedPacket
Modifier and Type | Class and Description |
---|---|
static class |
Title.Action |
Constructor and Description |
---|
Title() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Title.Action |
getAction() |
int |
getFadeIn() |
int |
getFadeOut() |
int |
getStay() |
String |
getText() |
void |
handle(AbstractPacketHandler handler) |
int |
hashCode() |
void |
read(io.netty.buffer.ByteBuf buf,
ProtocolConstants.Direction direction,
int protocolVersion) |
void |
setAction(Title.Action action) |
void |
setFadeIn(int fadeIn) |
void |
setFadeOut(int fadeOut) |
void |
setStay(int stay) |
void |
setText(String text) |
String |
toString() |
void |
write(io.netty.buffer.ByteBuf buf,
ProtocolConstants.Direction direction,
int protocolVersion) |
read, readArray, readArray, readString, readStringArray, readUUID, readVarInt, readVarInt, readVarIntArray, readVarShort, toArray, write, writeArray, writeString, writeStringArray, writeUUID, writeVarInt, writeVarShort
public void read(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion)
read
in class DefinedPacket
public void write(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion)
write
in class DefinedPacket
public void handle(AbstractPacketHandler handler) throws Exception
handle
in class DefinedPacket
Exception
public Title.Action getAction()
public String getText()
public int getFadeIn()
public int getStay()
public int getFadeOut()
public void setAction(Title.Action action)
public void setText(String text)
public void setFadeIn(int fadeIn)
public void setStay(int stay)
public void setFadeOut(int fadeOut)
public String toString()
toString
in class DefinedPacket
public boolean equals(Object o)
equals
in class DefinedPacket
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class DefinedPacket
Copyright © 2012–2020 SpigotMC. All rights reserved.