Package fr.skytasul.glowingentities
Class GlowingEntities.Packets
java.lang.Object
fr.skytasul.glowingentities.GlowingEntities.Packets
- Enclosing class:
GlowingEntities
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddPacketsHandler(fr.skytasul.glowingentities.GlowingEntities.PlayerData playerData) static voidcreateEntity(org.bukkit.entity.Player player, int entityId, UUID entityUuid, Object entityType, org.bukkit.Location location) static ObjectcreateFlagWatcherItem(byte newFlags) static voidcreateGlowing(fr.skytasul.glowingentities.GlowingEntities.GlowingData glowingData) static bytegetEntityFlags(org.bukkit.entity.Entity entity) static voidremoveEntities(org.bukkit.entity.Player player, int... entitiesId) static voidremoveGlowing(fr.skytasul.glowingentities.GlowingEntities.GlowingData glowingData) static voidremoveGlowingColor(fr.skytasul.glowingentities.GlowingEntities.GlowingData glowingData) static voidremovePacketsHandler(fr.skytasul.glowingentities.GlowingEntities.PlayerData playerData) static voidsendPackets(org.bukkit.entity.Player p, Object... packets) static voidsetGlowingColor(fr.skytasul.glowingentities.GlowingEntities.GlowingData glowingData) static voidsetMetadata(org.bukkit.entity.Player player, int entityId, byte flags, boolean ignore) static voidupdateGlowingState(fr.skytasul.glowingentities.GlowingEntities.GlowingData glowingData)
-
Field Details
-
enabled
public static boolean enabled
-
-
Constructor Details
-
Packets
protected Packets()
-
-
Method Details
-
sendPackets
public static void sendPackets(org.bukkit.entity.Player p, Object... packets) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
getEntityFlags
public static byte getEntityFlags(org.bukkit.entity.Entity entity) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
createGlowing
public static void createGlowing(fr.skytasul.glowingentities.GlowingEntities.GlowingData glowingData) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
createFlagWatcherItem
- Throws:
ReflectiveOperationException
-
removeGlowing
public static void removeGlowing(fr.skytasul.glowingentities.GlowingEntities.GlowingData glowingData) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
updateGlowingState
public static void updateGlowingState(fr.skytasul.glowingentities.GlowingEntities.GlowingData glowingData) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
setMetadata
public static void setMetadata(org.bukkit.entity.Player player, int entityId, byte flags, boolean ignore) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
setGlowingColor
public static void setGlowingColor(fr.skytasul.glowingentities.GlowingEntities.GlowingData glowingData) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
removeGlowingColor
public static void removeGlowingColor(fr.skytasul.glowingentities.GlowingEntities.GlowingData glowingData) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
createEntity
public static void createEntity(org.bukkit.entity.Player player, int entityId, UUID entityUuid, Object entityType, org.bukkit.Location location) throws IllegalArgumentException, ReflectiveOperationException -
removeEntities
public static void removeEntities(org.bukkit.entity.Player player, int... entitiesId) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
addPacketsHandler
public static void addPacketsHandler(fr.skytasul.glowingentities.GlowingEntities.PlayerData playerData) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
removePacketsHandler
public static void removePacketsHandler(fr.skytasul.glowingentities.GlowingEntities.PlayerData playerData) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-