Class ResourcePackStatusEvent
java.lang.Object
de.themoep.resourcepacksplugin.velocity.events.ResourcePackStatusEvent
- All Implemented Interfaces:
IResourcePackStatusEvent
Created by Phoenix616 on 18.06.2015.
-
Constructor Summary
ConstructorDescriptionResourcePackStatusEvent
(com.velocitypowered.api.proxy.Player player, ResourcePackStatus status) ResourcePackStatusEvent
(com.velocitypowered.api.proxy.Player player, ResourcePackStatus status, de.themoep.resourcepacksplugin.core.ResourcePack pack) -
Method Summary
Modifier and TypeMethodDescriptionde.themoep.resourcepacksplugin.core.ResourcePack
getPack()
Get the pack that the cdlient replied tofinal com.velocitypowered.api.proxy.Player
final UUID
Get the id of the player for which this event was calledfinal ResourcePackStatus
Get the status
-
Constructor Details
-
ResourcePackStatusEvent
public ResourcePackStatusEvent(com.velocitypowered.api.proxy.Player player, ResourcePackStatus status) -
ResourcePackStatusEvent
public ResourcePackStatusEvent(com.velocitypowered.api.proxy.Player player, ResourcePackStatus status, de.themoep.resourcepacksplugin.core.ResourcePack pack)
-
-
Method Details
-
getPlayer
public final com.velocitypowered.api.proxy.Player getPlayer() -
getPlayerId
Description copied from interface:IResourcePackStatusEvent
Get the id of the player for which this event was called- Specified by:
getPlayerId
in interfaceIResourcePackStatusEvent
- Returns:
- The UUID of the player
-
getStatus
Description copied from interface:IResourcePackStatusEvent
Get the status- Specified by:
getStatus
in interfaceIResourcePackStatusEvent
- Returns:
- The the status of the event
-
getPack
public de.themoep.resourcepacksplugin.core.ResourcePack getPack()Description copied from interface:IResourcePackStatusEvent
Get the pack that the cdlient replied to- Specified by:
getPack
in interfaceIResourcePackStatusEvent
- Returns:
- The pack that the client replied to
-