Uses of Class
de.themoep.resourcepacksplugin.core.ResourcePack
Packages that use ResourcePack
-
Uses of ResourcePack in de.themoep.resourcepacksplugin.core
Methods in de.themoep.resourcepacksplugin.core that return ResourcePackModifier 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()ResourcePack.getParent()Get the parent pack if this is a variant of another pack.ResourcePack.getRootParent()Helper method to get the root parent of this pack.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 ResourcePackSubChannelHandler.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.Methods in de.themoep.resourcepacksplugin.core that return types with arguments of type ResourcePackModifier 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.Methods in de.themoep.resourcepacksplugin.core with parameters of type ResourcePackModifier and TypeMethodDescriptionbooleanPackAssignment.addOptionalPack(ResourcePack pack) Add a new optional packbooleanPackAssignment.addPack(ResourcePack pack) Add a new packPackManager.addPack(ResourcePack pack) Registers a new resource pack with the packmanagerbooleanPackAssignment.addSecondary(ResourcePack pack) Deprecated.booleanUserManager.addUserPack(UUID playerId, ResourcePack pack) Set the resourcepack of a userResourcepacksPlugin.callPackSendEvent(UUID playerId, ResourcePack pack) Call the ResourcePackSendEvent on the corresponding serverprotected IResourcePackSelectEvent.StatusPackManager.checkPack(UUID playerId, ResourcePack pack, IResourcePackSelectEvent.Status status) PackManager.getPackUrl(ResourcePack pack) Get a pack's URL.booleanPackAssignment.isOptionalPack(ResourcePack pack) Check whether certain pack is an optional pack in this assignmentbooleanPackAssignment.isPack(ResourcePack pack) Check whether certain pack is a pack in this assignmentbooleanPackAssignment.isSecondary(ResourcePack pack) Deprecated.booleanPackAssignment.removeOptionalPack(ResourcePack pack) Remove an optional packbooleanPackAssignment.removePack(ResourcePack pack) Remove a packbooleanPackManager.removePack(ResourcePack pack) Unregisters a resource pack from the packmanagervoidResourcepacksPlugin.removePack(UUID playerId, ResourcePack pack) Remove a specific pack from a player.booleanPackAssignment.removeSecondary(ResourcePack pack) Deprecated.voidUserManager.removeUserPack(UUID playerId, ResourcePack pack) Remove a specific pack from a uservoidResourcepacksPlugin.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 PackbooleanPackAssignment.setPack(ResourcePack pack) Deprecated.@NonNull PackManager.PackSetResultPackManager.setPack(UUID playerId, ResourcePack pack) Set the pack of a player and send it to him, calls a ResourcePackSendEvent@NonNull PackManager.PackSetResultPackManager.setPack(UUID playerId, ResourcePack pack, boolean temporary) Set the pack of a player and send it to him, calls a ResourcePackSendEvent@NonNull PackManager.PackSetResultPackManager.setPack(UUID playerId, ResourcePack pack, boolean temporary, boolean removeExisting) Set the pack of a player and send it to him, calls a ResourcePackSendEventbooleanPackManager.setPackHash(ResourcePack pack, String hash) Set the hash of a pack to a new valuebooleanPackManager.setPackPath(ResourcePack pack, String path) Set the url of a pack to a new valuebooleanPackManager.setPackUrl(ResourcePack pack, String url) Set the url of a pack to a new valuebooleanPackManager.setPackUuid(ResourcePack pack, UUID uuid) Set the uuid of a pack to a new valueUserManager.setUserPack(UUID playerid, ResourcePack pack) Deprecated.voidSubChannelHandler.writePack(com.google.common.io.ByteArrayDataOutput out, ResourcePack pack) Write a pack to the output.Method parameters in de.themoep.resourcepacksplugin.core with type arguments of type ResourcePackModifier and TypeMethodDescriptionResourcepacksPlugin.callPackSelectEvent(UUID playerId, List<ResourcePack> packs, IResourcePackSelectEvent.Status status) Call the ResourcePackSelectEvent on the corresponding serverprotected IResourcePackSelectEvent.StatusPackManager.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).Constructors in de.themoep.resourcepacksplugin.core with parameters of type ResourcePackModifierConstructorDescriptionResourcePack(ResourcePack parent, String name, UUID uuid, String url, String hash, String localPath, int format, int version, boolean restricted, String permission, ClientType type) Object representation of a resourcepack set in the plugin's config file. -
Uses of ResourcePack in de.themoep.resourcepacksplugin.core.events
Methods in de.themoep.resourcepacksplugin.core.events that return ResourcePackModifier and TypeMethodDescriptiondefault ResourcePackIResourcePackSelectEvent.getPack()Deprecated.IResourcePackSendEvent.getPack()Methods in de.themoep.resourcepacksplugin.core.events that return types with arguments of type ResourcePackModifier and TypeMethodDescriptionIResourcePackSelectEvent.getPacks()Get the packs that were selectedMethods in de.themoep.resourcepacksplugin.core.events with parameters of type ResourcePackModifier and TypeMethodDescriptiondefault voidIResourcePackSelectEvent.setPack(ResourcePack pack) Deprecated.Directly add to or remove fromIResourcePackSelectEvent.getPacks()voidIResourcePackSendEvent.setPack(ResourcePack pack) Set the pack that should be send.
UserManager.clearUserPacks(UUID)