Uses of Class
com.cryptomorin.xseries.profiles.builder.ProfileInstruction
Packages that use ProfileInstruction
-
Uses of ProfileInstruction in com.cryptomorin.xseries.profiles.builder
Methods in com.cryptomorin.xseries.profiles.builder that return ProfileInstructionModifier and TypeMethodDescriptionstatic ProfileInstruction<org.bukkit.inventory.ItemStack> XSkull.createItem()Creates aProfileInstructionfor anItemStack.ProfileInstruction.fallback(Profileable... fallbacks) A list of fallback profiles in order.ProfileFallback.getInstruction()ProfileInstruction.lenient()Fails silently if any of theProfileExceptionerrors occur.static ProfileInstruction<org.bukkit.block.Block> XSkull.of(org.bukkit.block.Block block) Creates aProfileInstructionfor aBlock.static ProfileInstruction<org.bukkit.block.Skull> XSkull.of(org.bukkit.block.BlockState state) Creates aProfileInstructionfor aBlockState.static ProfileInstruction<org.bukkit.inventory.ItemStack> XSkull.of(org.bukkit.inventory.ItemStack stack) Creates aProfileInstructionfor anItemStack.static ProfileInstruction<org.bukkit.inventory.meta.ItemMeta> XSkull.of(org.bukkit.inventory.meta.ItemMeta meta) Creates aProfileInstructionfor anItemMeta.ProfileInstruction.onFallback(Runnable onFallback) ProfileInstruction.onFallback(Consumer<ProfileFallback<T>> onFallback) Called when any of thefallback(Profileable...)profiles are used, this is also called if no fallback profile is provided, but the main oneprofile(Profileable)fails.ProfileInstruction.profile(Profileable profileable) Sets the texture profile to be set to the item/block.ProfileInstruction.profileRequestConfiguration(ProfileRequestConfiguration config) Constructors in com.cryptomorin.xseries.profiles.builder with parameters of type ProfileInstructionModifierConstructorDescriptionProfileFallback(ProfileInstruction<T> instruction, T object, ProfileChangeException error)