Class NMSStorage
java.lang.Object
me.neznamy.tab.platforms.bukkit.nms.NMSStorage
-
Field Summary
FieldsModifier and TypeFieldDescriptionClass<?>Enum[]final FieldClass<?>final Objectfinal Class<?>final Class<?>final Enum[]Class<?>Enum[]Enum[]Enum[]Enum[]Class<?>Enum[]Enum[]final Methodfinal FieldConstructor<?>Constructor<?>Constructor<?>Constructor<?>final Constructor<?>Constructor<?>Constructor<?>Constructor<?>final Constructor<?>Constructor<?>Constructor<?>Constructor<?>final Constructor<?>Constructor<?>Constructor<?>Constructor<?>Constructor<?>Constructor<?>Constructor<?>Constructor<?>final Constructor<?>final Constructor<?>Constructor<?>final Class<?>Class<?>final Class<?>final Fieldfinal Class<?>final Fieldfinal Class<?>final Class<?>final Fieldfinal Class<?>final Fieldfinal Fieldfinal Fieldfinal Class<?>final FieldClass<?>final Class<?>final Fieldfinal Fieldfinal Class<?>final FieldClass<?>Enum[]final Class<?>final Fieldfinal Fieldfinal Fieldfinal Fieldfinal Fieldfinal Fieldfinal Methodfinal Method -
Constructor Summary
ConstructorsConstructorDescriptionCreates new instance, initializes required NMS classes and fields -
Method Summary
Modifier and TypeMethodDescriptionstatic NMSStorageReturns instancegetInstanceFields(Class<?> clazz, Class<?> type) Returns all instance fields of class with defined class typeint<T extends AccessibleObject>
TsetAccessible(T o) voidstatic voidsetInstance(NMSStorage instance) Sets new instance
-
Field Details
-
EnumChatFormat
-
EntityPlayer
-
PING
-
PLAYER_CONNECTION
-
NETWORK_MANAGER
-
CHANNEL
-
getHandle
-
sendPacket
-
getProfile
-
EnumChatFormat_values
-
EnumClickAction
-
newChatComponentText
-
newChatClickable
-
newChatModifier
-
newChatHoverable
-
ChatBaseComponent_modifier
-
ChatModifier_bold
-
ChatModifier_italic
-
ChatModifier_underlined
-
ChatModifier_strikethrough
-
ChatModifier_obfuscated
-
ChatModifier_clickEvent
-
ChatModifier_hoverEvent
-
ChatModifier_color
-
ChatComponentText_addSibling
-
EnumHoverAction_a
-
ChatHexColor_ofInt
-
ChatHexColor_ofString
-
EnumHoverAction_fromJson
-
EnumHoverAction_fromLegacyComponent
-
ChatMessageType
-
newPacketPlayOutChat
-
ChatMessageType_values
-
DataWatcherRegistry
-
newDataWatcher
-
newDataWatcherObject
-
DataWatcherItem_TYPE
-
DataWatcherItem_VALUE
-
DataWatcherObject_SLOT
-
DataWatcherObject_SERIALIZER
-
DataWatcher_REGISTER
-
PacketPlayOutSpawnEntityLiving
-
newPacketPlayOutSpawnEntityLiving
-
PacketPlayOutSpawnEntityLiving_ENTITYID
-
PacketPlayOutSpawnEntityLiving_ENTITYTYPE
-
PacketPlayOutSpawnEntityLiving_YAW
-
PacketPlayOutSpawnEntityLiving_PITCH
-
PacketPlayOutSpawnEntityLiving_UUID
-
PacketPlayOutSpawnEntityLiving_X
-
PacketPlayOutSpawnEntityLiving_Y
-
PacketPlayOutSpawnEntityLiving_Z
-
PacketPlayOutSpawnEntityLiving_DATAWATCHER
-
PacketPlayOutEntityTeleport
-
newPacketPlayOutEntityTeleport
-
PacketPlayOutEntityTeleport_ENTITYID
-
PacketPlayOutEntityTeleport_X
-
PacketPlayOutEntityTeleport_Y
-
PacketPlayOutEntityTeleport_Z
-
PacketPlayOutEntityTeleport_YAW
-
PacketPlayOutEntityTeleport_PITCH
-
PacketPlayInUseEntity
-
PacketPlayInUseEntity$d
-
PacketPlayInUseEntity_ENTITY
-
PacketPlayInUseEntity_ACTION
-
PacketPlayOutEntity
-
PacketPlayOutEntity_ENTITYID
-
PacketPlayOutEntityDestroy
-
newPacketPlayOutEntityDestroy
-
PacketPlayOutEntityDestroy_ENTITIES
-
PacketPlayOutEntityLook
-
PacketPlayOutEntityMetadata
-
newPacketPlayOutEntityMetadata
-
PacketPlayOutEntityMetadata_LIST
-
PacketPlayOutNamedEntitySpawn
-
PacketPlayOutNamedEntitySpawn_ENTITYID
-
PacketPlayOutPlayerInfo
-
newPacketPlayOutPlayerInfo
-
newPlayerInfoData
-
PacketPlayOutPlayerInfo_ACTION
-
PacketPlayOutPlayerInfo_PLAYERS
-
PlayerInfoData_getProfile
-
PlayerInfoData_getLatency
-
PlayerInfoData_getGamemode
-
PlayerInfoData_getDisplayName
-
EnumPlayerInfoAction_values
-
EnumGamemode_values
-
PacketPlayOutScoreboardDisplayObjective
-
PacketPlayOutScoreboardObjective
-
EnumScoreboardHealthDisplay
-
newScoreboardObjective
-
newScoreboardScore
-
newPacketPlayOutScoreboardDisplayObjective
-
newPacketPlayOutScoreboardObjective
-
newPacketPlayOutScoreboardScore_1_13
-
newPacketPlayOutScoreboardScore_String
-
newPacketPlayOutScoreboardScore
-
PacketPlayOutScoreboardDisplayObjective_POSITION
-
PacketPlayOutScoreboardDisplayObjective_OBJECTIVENAME
-
PacketPlayOutScoreboardObjective_OBJECTIVENAME
-
PacketPlayOutScoreboardObjective_METHOD
-
IScoreboardCriteria_self
-
PacketPlayOutScoreboardObjective_RENDERTYPE
-
PacketPlayOutScoreboardObjective_DISPLAYNAME
-
ScoreboardScore_setScore
-
EnumScoreboardHealthDisplay_values
-
EnumScoreboardAction_values
-
PacketPlayOutScoreboardTeam
-
newScoreboardTeam
-
newPacketPlayOutScoreboardTeam
-
PacketPlayOutScoreboardTeam_NAME
-
PacketPlayOutScoreboardTeam_ACTION
-
PacketPlayOutScoreboardTeam_PLAYERS
-
ScoreboardTeam_getPlayerNameSet
-
ScoreboardTeam_setNameTagVisibility
-
ScoreboardTeam_setCollisionRule
-
ScoreboardTeam_setPrefix
-
ScoreboardTeam_setSuffix
-
ScoreboardTeam_setColor
-
ScoreboardTeam_setAllowFriendlyFire
-
ScoreboardTeam_setCanSeeFriendlyInvisibles
-
PacketPlayOutScoreboardTeam_of
-
PacketPlayOutScoreboardTeam_ofBoolean
-
PacketPlayOutScoreboardTeam_ofString
-
EnumNameTagVisibility_values
-
EnumTeamPush_values
-
PacketPlayOutScoreboardTeam_PlayerAction_values
-
emptyScoreboard
-
dummyEntity
-
-
Constructor Details
-
NMSStorage
Creates new instance, initializes required NMS classes and fields- Throws:
ReflectiveOperationException- If any class, field or method fails to load
-
-
Method Details
-
setInstance
Sets new instance- Parameters:
instance- new instance
-
getInstance
Returns instance- Returns:
- instance
-
getInstanceFields
Returns all instance fields of class with defined class type- Parameters:
clazz- class to check fields oftype- field type to check for- Returns:
- list of all fields with specified class type
-
getMinorVersion
public int getMinorVersion() -
setField
- Throws:
IllegalAccessException
-
getDataWatcherRegistry
-
setAccessible
-