Uses of Class
io.github.thebusybiscuit.slimefun4.api.player.PlayerProfile
Package
Description
This package contains all extensions of
Event
that Slimefun provides
and allows you to listen to.This package stores classes of the API that are related to the
GPSNetwork
.This package contains a few
ItemGroup
variations.This package stores API-related classes that are related to a
Player
,
such as the PlayerProfile
for example.This package holds everything connected to the
Research
class.This package holds the core systems of Slimefun, these are not necessarily used as an API
but rather provide the core functionality of this
Plugin
.This package contains the core system for the
SlimefunGuide
.This package provides the different implementations of our
SlimefunGuide
-
Uses of PlayerProfile in io.github.thebusybiscuit.slimefun4.api.events
Modifier and TypeMethodDescriptionvoid
AsyncProfileLoadEvent.setProfile
(PlayerProfile profile) This method can be used to inject your customPlayerProfile
implementations. -
Uses of PlayerProfile in io.github.thebusybiscuit.slimefun4.api.gps
ModifierConstructorDescriptionWaypoint
(PlayerProfile profile, String id, Location loc, String name) Deprecated.UseWaypoint(UUID, String, Location, String)
instead -
Uses of PlayerProfile in io.github.thebusybiscuit.slimefun4.api.items.groups
Modifier and TypeMethodDescriptionboolean
LockedItemGroup.hasUnlocked
(Player p, PlayerProfile profile) Checks if thePlayer
has fully unlocked all parent categories.abstract boolean
FlexItemGroup.isVisible
(Player p, PlayerProfile profile, SlimefunGuideMode layout) This method returns whether thisFlexItemGroup
is visible under the given context.boolean
NestedItemGroup.isVisible
(Player p, PlayerProfile profile, SlimefunGuideMode mode) abstract void
FlexItemGroup.open
(Player p, PlayerProfile profile, SlimefunGuideMode layout) This method is called when aPlayer
opens thisFlexItemGroup
.void
NestedItemGroup.open
(Player p, PlayerProfile profile, SlimefunGuideMode mode) -
Uses of PlayerProfile in io.github.thebusybiscuit.slimefun4.api.player
Modifier and TypeMethodDescriptionPlayerBackpack.getOwner()
Deprecated.UsePlayerBackpack.getOwnerId()
insteadModifier and TypeMethodDescriptionstatic Optional<PlayerProfile>
PlayerProfile.find
(OfflinePlayer p) This method tries to search for aPlayerProfile
of the givenOfflinePlayer
.static Iterator<PlayerProfile>
PlayerProfile.iterator()
Modifier and TypeMethodDescriptionstatic boolean
PlayerProfile.fromUUID
(UUID uuid, Consumer<PlayerProfile> callback) static boolean
PlayerProfile.get
(OfflinePlayer p, Consumer<PlayerProfile> callback) Get thePlayerProfile
for aOfflinePlayer
asynchronously.ModifierConstructorDescriptionPlayerBackpack
(PlayerProfile profile, int id) Deprecated.UsePlayerBackpack.load(UUID, int, int, HashMap)
insteadPlayerBackpack
(PlayerProfile profile, int id, int size) Deprecated.UsePlayerBackpack.newBackpack(UUID, int, int)
instead -
Uses of PlayerProfile in io.github.thebusybiscuit.slimefun4.api.researches
Modifier and TypeMethodDescriptionvoid
PlayerResearchTask.accept
(PlayerProfile profile) void
Research.unlockFromGuide
(SlimefunGuideImplementation guide, Player player, PlayerProfile profile, SlimefunItem sfItem, ItemGroup itemGroup, int page) Handle what to do when aPlayer
clicks on an un-researched item in aSlimefunGuideImplementation
. -
Uses of PlayerProfile in io.github.thebusybiscuit.slimefun4.core
-
Uses of PlayerProfile in io.github.thebusybiscuit.slimefun4.core.guide
Modifier and TypeMethodDescriptionstatic void
SlimefunGuide.displayItem
(PlayerProfile profile, SlimefunItem item, boolean addToHistory) static void
SlimefunGuide.displayItem
(PlayerProfile profile, ItemStack item, boolean addToHistory) void
SlimefunGuideImplementation.displayItem
(PlayerProfile profile, SlimefunItem item, boolean addToHistory) void
SlimefunGuideImplementation.displayItem
(PlayerProfile profile, ItemStack item, int index, boolean addToHistory) static void
SlimefunGuide.openItemGroup
(PlayerProfile profile, ItemGroup itemGroup, SlimefunGuideMode mode, int selectedPage) void
SlimefunGuideImplementation.openItemGroup
(PlayerProfile profile, ItemGroup group, int page) static void
SlimefunGuide.openMainMenu
(PlayerProfile profile, SlimefunGuideMode mode, int selectedPage) void
SlimefunGuideImplementation.openMainMenu
(PlayerProfile profile, int page) static void
SlimefunGuide.openSearch
(PlayerProfile profile, String input, SlimefunGuideMode mode, boolean addToHistory) void
SlimefunGuideImplementation.openSearch
(PlayerProfile profile, String input, boolean addToHistory) ModifierConstructorDescriptionGuideHistory
(PlayerProfile profile) This creates a newGuideHistory
for the givenPlayerProfile
-
Uses of PlayerProfile in io.github.thebusybiscuit.slimefun4.implementation.guide
Modifier and TypeMethodDescriptionvoid
CheatSheetSlimefunGuide.createHeader
(Player p, PlayerProfile profile, ChestMenu menu) void
SurvivalSlimefunGuide.createHeader
(Player p, PlayerProfile profile, ChestMenu menu) void
SurvivalSlimefunGuide.displayItem
(PlayerProfile profile, SlimefunItem item, boolean addToHistory) void
SurvivalSlimefunGuide.displayItem
(PlayerProfile profile, ItemStack item, int index, boolean addToHistory) CheatSheetSlimefunGuide.getVisibleItemGroups
(Player p, PlayerProfile profile) SurvivalSlimefunGuide.getVisibleItemGroups
(Player p, PlayerProfile profile) void
SurvivalSlimefunGuide.openItemGroup
(PlayerProfile profile, ItemGroup itemGroup, int page) void
SurvivalSlimefunGuide.openMainMenu
(PlayerProfile profile, int page) void
SurvivalSlimefunGuide.openSearch
(PlayerProfile profile, String input, boolean addToHistory) -
Uses of PlayerProfile in io.github.thebusybiscuit.slimefun4.implementation.tasks.armor
Modifier and TypeMethodDescriptionprotected abstract void
AbstractArmorTask.onPlayerTick
(Player p, PlayerProfile profile) Method to handle behavior for player's armor as a whole.protected void
RadiationTask.onPlayerTick
(Player p, PlayerProfile profile) protected void
RainbowArmorTask.onPlayerTick
(Player p, PlayerProfile profile) protected void
SlimefunArmorTask.onPlayerTick
(Player p, PlayerProfile profile) protected void
SolarHelmetTask.onPlayerTick
(Player p, PlayerProfile profile)
Waypoint.getOwnerId()
instead