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 @NotNull ProfileInstruction<org.bukkit.inventory.ItemStack> XSkull.createItem()Creates aProfileInstructionfor anItemStack.@NotNull ProfileInstruction<T> ProfileInstruction.fallback(@NotNull Profileable... fallbacks) A list of fallback profiles in order.ProfileFallback.getInstruction()@NotNull ProfileInstruction<T> ProfileInstruction.lenient()Fails silently if any of theProfileExceptionerrors occur.static @NotNull ProfileInstruction<org.bukkit.block.Block> XSkull.of(@NotNull org.bukkit.block.Block block) Creates aProfileInstructionfor aBlock.static @NotNull ProfileInstruction<org.bukkit.block.Skull> XSkull.of(@NotNull org.bukkit.block.BlockState state) Creates aProfileInstructionfor aBlockState.static @NotNull ProfileInstruction<org.bukkit.inventory.ItemStack> XSkull.of(@NotNull org.bukkit.inventory.ItemStack stack) Creates aProfileInstructionfor anItemStack.static @NotNull ProfileInstruction<org.bukkit.inventory.meta.ItemMeta> XSkull.of(@NotNull org.bukkit.inventory.meta.ItemMeta meta) Creates aProfileInstructionfor anItemMeta.@NotNull ProfileInstruction<T> ProfileInstruction.onFallback(@NotNull Runnable onFallback) @NotNull ProfileInstruction<T> ProfileInstruction.onFallback(@Nullable 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.@NotNull ProfileInstruction<T> ProfileInstruction.profile(@NotNull Profileable profileable) Sets the texture profile to be set to the item/block.@NotNull ProfileInstruction<T> ProfileInstruction.profileRequestConfiguration(ProfileRequestConfiguration config) Constructors in com.cryptomorin.xseries.profiles.builder with parameters of type ProfileInstructionModifierConstructorDescriptionProfileFallback(ProfileInstruction<T> instruction, T object, ProfileChangeException error)