public interface IProtocol
| Modifier and Type | Method and Description |
|---|---|
IProtocol |
getMajorRelease()
Returns the major release of this protocol.
|
java.util.List<IProtocol> |
getMinorReleases()
If this protocol is a major release, returns a list of all minor releases (children) of this protocol,
including this protocol.
|
java.lang.String |
getName()
Returns the name of the Minecraft version that this protocol represents.
|
int |
getValue()
Returns the protocol version ID, to be compared with values in
Protocols. |
boolean |
isMajorRelease()
Returns whether this version is considered a major release, i.e.
|
int getValue()
Protocols.java.lang.String getName()
boolean isMajorRelease()
IProtocol getMajorRelease()
java.util.List<IProtocol> getMinorReleases()