public class ServerWindowPropertyPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerWindowPropertyPacket(int windowId,
int property,
int value) |
ServerWindowPropertyPacket(int windowId,
T property,
int value) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Enum<T> & WindowProperty> |
getProperty(Class<T> type) |
int |
getRawProperty() |
int |
getValue() |
int |
getWindowId() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerWindowPropertyPacket(int windowId,
int property,
int value)
public ServerWindowPropertyPacket(int windowId,
T property,
int value)
public int getWindowId()
public int getRawProperty()
public <T extends Enum<T> & WindowProperty> T getProperty(Class<T> type)
public int getValue()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.