Uses of Class
dev.crafty.core.config.SectionWrapper
Packages that use SectionWrapper
Package
Description
-
Uses of SectionWrapper in dev.crafty.core.config
Subclasses of SectionWrapper in dev.crafty.core.configMethods in dev.crafty.core.config that return SectionWrapperModifier and TypeMethodDescriptionSectionWrapper.createSection
(String path) SectionWrapper.getOrCreateSection
(String path) Methods in dev.crafty.core.config that return types with arguments of type SectionWrapper -
Uses of SectionWrapper in dev.crafty.core.config.serializer
Methods in dev.crafty.core.config.serializer that return SectionWrapperModifier and TypeMethodDescriptionConfigSerializer.SerializationArgs.section()
Returns the value of thesection
record component.Methods in dev.crafty.core.config.serializer with parameters of type SectionWrapperModifier and TypeMethodDescriptionConfigSerializer.deserialize
(SectionWrapper section, String path) Deserialize an object from a configuration section.Method parameters in dev.crafty.core.config.serializer with type arguments of type SectionWrapperModifier and TypeMethodDescriptionstatic <T> ConfigSerializer
<List<T>> SerializerFactory.createListSerializer
(Class<List<T>> type, Class<T> itemType, BiFunction<SectionWrapper, String, Optional<List<T>>> getter) Create a serializer for a list of items.static <T> ConfigSerializer
<T> SerializerFactory.createSimpleSerializer
(Class<T> type, BiFunction<SectionWrapper, String, Optional<T>> getter) Create a serializer for a primitive type or other simple type that can be directly stored in a configuration section.Constructors in dev.crafty.core.config.serializer with parameters of type SectionWrapperModifierConstructorDescriptionSerializationArgs
(T value, SectionWrapper section, YamlConfigurationWrapper parent, String path, File configFile) SerializationArgs
(T value, SectionWrapper section, YamlConfigurationWrapper parent, String path, File configFile, boolean save) Creates an instance of aSerializationArgs
record class. -
Uses of SectionWrapper in dev.crafty.core.config.serializer.builtin
Methods in dev.crafty.core.config.serializer.builtin with parameters of type SectionWrapperModifier and TypeMethodDescriptionOptional
<org.bukkit.inventory.ItemStack> ItemStackSerializer.deserialize
(SectionWrapper sectionWrapper, String path) Optional
<org.bukkit.Location> LocationSerializer.deserialize
(SectionWrapper section, String path) -
Uses of SectionWrapper in dev.crafty.core.geometry.serializers
Methods in dev.crafty.core.geometry.serializers with parameters of type SectionWrapperModifier and TypeMethodDescriptionPoint2dSerializer.deserialize
(SectionWrapper section, String path) Polygon3dSerializer.deserialize
(SectionWrapper section, String path) -
Uses of SectionWrapper in dev.crafty.core.gui
Methods in dev.crafty.core.gui with parameters of type SectionWrapperModifier and TypeMethodDescriptionabstract GuiItem[]
ItemSupplier.apply
(org.bukkit.inventory.ItemStack[] slotsToApplyTo, SectionWrapper itemSection, Menu menu) ItemSupplier.getActions
(SectionWrapper section, Menu menu) -
Uses of SectionWrapper in dev.crafty.core.gui.suppliers
Methods in dev.crafty.core.gui.suppliers with parameters of type SectionWrapperModifier and TypeMethodDescriptionGuiItem[]
ConditionalItemSupplier.apply
(org.bukkit.inventory.ItemStack[] slotsToApplyTo, SectionWrapper itemSection, Menu menu) GuiItem[]
DynamicItemSupplier.apply
(org.bukkit.inventory.ItemStack[] slotsToApplyTo, SectionWrapper itemSection, Menu menu) GuiItem[]
MappedItemSupplier.apply
(org.bukkit.inventory.ItemStack[] slotsToApplyTo, SectionWrapper itemSection, Menu menu) GuiItem[]
PaginatedMappedItemSupplier.apply
(org.bukkit.inventory.ItemStack[] slotsToApplyTo, SectionWrapper itemSection, Menu menu) GuiItem[]
StaticItemSupplier.apply
(org.bukkit.inventory.ItemStack[] slotsToApplyTo, SectionWrapper itemSection, Menu menu) -
Uses of SectionWrapper in dev.crafty.core.items.serializers
Methods in dev.crafty.core.items.serializers with parameters of type SectionWrapperModifier and TypeMethodDescriptionItemActionSerializer.deserialize
(SectionWrapper section, String path) ItemCraftingRecipeSerializer.deserialize
(SectionWrapper section, String path) -
Uses of SectionWrapper in dev.crafty.core.util
Methods in dev.crafty.core.util that return SectionWrapperModifier and TypeMethodDescriptionstatic SectionWrapper
Configs.getOrCreateConfigFile
(CraftyPlugin plugin, String filePath)