Uses of Class
de.themoep.resourcepacksplugin.core.ResourcePack
Package
Description
-
Uses of ResourcePack in de.themoep.resourcepacksplugin.bukkit
Modifier and TypeMethodDescriptionWorldResourcepacks.callPackSendEvent
(UUID playerId, ResourcePack pack) void
WorldResourcepacks.removePack
(UUID playerId, ResourcePack pack) void
WorldResourcepacks.removePack
(org.bukkit.entity.Player player, ResourcePack pack) void
WorldResourcepacks.sendPack
(UUID playerId, ResourcePack pack) void
WorldResourcepacks.sendPack
(org.bukkit.entity.Player player, ResourcePack pack) Set the resourcepack of a connected playerModifier and TypeMethodDescriptionWorldResourcepacks.callPackSelectEvent
(UUID playerId, List<ResourcePack> packs, IResourcePackSelectEvent.Status status) -
Uses of ResourcePack in de.themoep.resourcepacksplugin.bukkit.events
ModifierConstructorDescriptionResourcePackSelectEvent
(UUID playerId, List<ResourcePack> packs) ResourcePackSelectEvent
(UUID playerId, List<ResourcePack> packs, IResourcePackSelectEvent.Status status) -
Uses of ResourcePack in de.themoep.resourcepacksplugin.bungee
Modifier and TypeMethodDescriptionBungeeResourcepacks.callPackSendEvent
(UUID playerId, ResourcePack pack) void
BungeeResourcepacks.removePack
(UUID playerId, ResourcePack pack) void
BungeeResourcepacks.sendPack
(UUID playerId, ResourcePack pack) protected void
BungeeResourcepacks.sendPack
(net.md_5.bungee.api.connection.ProxiedPlayer player, ResourcePack pack) Send a resourcepack to a connected playerModifier and TypeMethodDescriptionBungeeResourcepacks.callPackSelectEvent
(UUID playerId, List<ResourcePack> packs, IResourcePackSelectEvent.Status status) -
Uses of ResourcePack in de.themoep.resourcepacksplugin.bungee.events
ModifierConstructorDescriptionResourcePackSelectEvent
(UUID playerId, ResourcePack pack) ResourcePackSendEvent
(UUID playerId, ResourcePack pack) ModifierConstructorDescriptionResourcePackSelectEvent
(UUID playerId, List<ResourcePack> packs, IResourcePackSelectEvent.Status status) -
Uses of ResourcePack in de.themoep.resourcepacksplugin.core
Modifier and TypeMethodDescriptionPackManager.addPack
(ResourcePack pack) Registers a new resource pack with the packmanagerUserManager.clearUserPack
(UUID playerid) Deprecated.PackManager.getByHash
(byte[] hash) Get the resourcepack by its hashGet the resourcepack by its hashGet the resourcepack by its nameGet the resourcepack by its urlGet the resourcepack by its uuidPackManager.getEmptyPack()
Get the empty Resource PackPackManager.PackSetResult.getPack()
UserManager.getUserPack
(UUID playerid) Deprecated.Creates a new ResourcePack instance from a config.PackManager.processSendEvent
(IResourcePackSendEvent event, List<ResourcePack> prev) Process the pack send event using the previous pack, this calculates if a pack should be sent (if it's null then the empty one will be returned and when it isn't different from the previous one then it will return null).protected ResourcePack
SubChannelHandler.readPack
(com.google.common.io.ByteArrayDataInput in) Read a pack from the inputPackManager.setEmptyPack
(ResourcePack pack) Set the empty Resource PackPackManager.setEmptyPack
(String packname) Set the empty Resource PackUserManager.setUserPack
(UUID playerid, ResourcePack pack) Deprecated.Modifier and TypeMethodDescriptionPackManager.applyPack
(ResourcepacksPlayer player, String serverName) Apply the pack that a player should have on that server/worldPackManager.getApplicablePacks
(ResourcepacksPlayer player, String serverName) Get the pack the player should have on that serverPackManager.getApplicablePacks
(UUID playerId, String serverName) Deprecated.PackManager.getPacks()
Get a list of all packsUserManager.getUserPacks
(UUID playerid) Get the resourcepacks of a userResourcePack.getVariants()
Get a list of different pack variants.Modifier and TypeMethodDescriptionboolean
PackAssignment.addOptionalPack
(ResourcePack pack) Add a new optional packboolean
PackAssignment.addPack
(ResourcePack pack) Add a new packPackManager.addPack
(ResourcePack pack) Registers a new resource pack with the packmanagerboolean
PackAssignment.addSecondary
(ResourcePack pack) Deprecated.boolean
UserManager.addUserPack
(UUID playerId, ResourcePack pack) Set the resourcepack of a userResourcepacksPlugin.callPackSendEvent
(UUID playerId, ResourcePack pack) Call the ResourcePackSendEvent on the corresponding serverprotected IResourcePackSelectEvent.Status
PackManager.checkPack
(UUID playerId, ResourcePack pack, IResourcePackSelectEvent.Status status) PackManager.getPackUrl
(ResourcePack pack) Get a pack's URL.boolean
PackAssignment.isOptionalPack
(ResourcePack pack) Check whether certain pack is an optional pack in this assignmentboolean
PackAssignment.isPack
(ResourcePack pack) Check whether certain pack is a pack in this assignmentboolean
PackAssignment.isSecondary
(ResourcePack pack) Deprecated.boolean
PackAssignment.removeOptionalPack
(ResourcePack pack) Remove an optional packboolean
PackAssignment.removePack
(ResourcePack pack) Remove a packboolean
PackManager.removePack
(ResourcePack pack) Unregisters a resource pack from the packmanagervoid
ResourcepacksPlugin.removePack
(UUID playerId, ResourcePack pack) Remove a specific pack from a player.boolean
PackAssignment.removeSecondary
(ResourcePack pack) Deprecated.void
UserManager.removeUserPack
(UUID playerId, ResourcePack pack) Remove a specific pack from a uservoid
ResourcepacksPlugin.sendPack
(UUID playerId, ResourcePack pack) Internal method to send a resoucepack to a player, please usePackManager.setPack(UUID, ResourcePack)
!PackManager.setEmptyPack
(ResourcePack pack) Set the empty Resource Packboolean
PackAssignment.setPack
(ResourcePack pack) Deprecated.@NonNull PackManager.PackSetResult
PackManager.setPack
(UUID playerId, ResourcePack pack) Set the pack of a player and send it to him, calls a ResourcePackSendEvent@NonNull PackManager.PackSetResult
PackManager.setPack
(UUID playerId, ResourcePack pack, boolean temporary) Set the pack of a player and send it to him, calls a ResourcePackSendEvent@NonNull PackManager.PackSetResult
PackManager.setPack
(UUID playerId, ResourcePack pack, boolean temporary, boolean removeExisting) Set the pack of a player and send it to him, calls a ResourcePackSendEventboolean
PackManager.setPackHash
(ResourcePack pack, String hash) Set the hash of a pack to a new valueboolean
PackManager.setPackPath
(ResourcePack pack, String path) Set the url of a pack to a new valueboolean
PackManager.setPackUrl
(ResourcePack pack, String url) Set the url of a pack to a new valueboolean
PackManager.setPackUuid
(ResourcePack pack, UUID uuid) Set the uuid of a pack to a new valueUserManager.setUserPack
(UUID playerid, ResourcePack pack) Deprecated.void
SubChannelHandler.writePack
(com.google.common.io.ByteArrayDataOutput out, ResourcePack pack) Write a pack to the output.Modifier and TypeMethodDescriptionResourcepacksPlugin.callPackSelectEvent
(UUID playerId, List<ResourcePack> packs, IResourcePackSelectEvent.Status status) Call the ResourcePackSelectEvent on the corresponding serverprotected IResourcePackSelectEvent.Status
PackManager.checkPacks
(UUID playerId, List<ResourcePack> packs, IResourcePackSelectEvent.Status status) PackManager.processSendEvent
(IResourcePackSendEvent event, List<ResourcePack> prev) Process the pack send event using the previous pack, this calculates if a pack should be sent (if it's null then the empty one will be returned and when it isn't different from the previous one then it will return null). -
Uses of ResourcePack in de.themoep.resourcepacksplugin.core.events
Modifier and TypeMethodDescriptiondefault ResourcePack
IResourcePackSelectEvent.getPack()
Deprecated.IResourcePackSendEvent.getPack()
Modifier and TypeMethodDescriptionIResourcePackSelectEvent.getPacks()
Get the packs that were selectedModifier and TypeMethodDescriptiondefault void
IResourcePackSelectEvent.setPack
(ResourcePack pack) Deprecated.Directly add to or remove fromIResourcePackSelectEvent.getPacks()
void
IResourcePackSendEvent.setPack
(ResourcePack pack) Set the pack that should be send. -
Uses of ResourcePack in de.themoep.resourcepacksplugin.velocity
Modifier and TypeMethodDescriptionVelocityResourcepacks.callPackSendEvent
(UUID playerId, ResourcePack pack) void
VelocityResourcepacks.removePack
(UUID playerId, ResourcePack pack) protected void
VelocityResourcepacks.sendPack
(com.velocitypowered.api.proxy.Player player, ResourcePack pack) Send a resourcepack to a connected playervoid
VelocityResourcepacks.sendPack
(UUID playerId, ResourcePack pack) Modifier and TypeMethodDescriptionVelocityResourcepacks.callPackSelectEvent
(UUID playerId, List<ResourcePack> packs, IResourcePackSelectEvent.Status status) -
Uses of ResourcePack in de.themoep.resourcepacksplugin.velocity.events
ModifierConstructorDescriptionResourcePackSelectEvent
(UUID playerId, List<ResourcePack> packs) ResourcePackSelectEvent
(UUID playerId, List<ResourcePack> packs, IResourcePackSelectEvent.Status status)
UserManager.clearUserPacks(UUID)