Class FrozenClothConfig
java.lang.Object
net.frozenblock.lib.config.clothconfig.FrozenClothConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic me.shedaniel.clothconfig2.api.ConfigCategorycreateSubCategory(me.shedaniel.clothconfig2.api.ConfigEntryBuilder entryBuilder, me.shedaniel.clothconfig2.api.ConfigCategory parentCategory, net.minecraft.network.chat.Component key, boolean expanded, net.minecraft.network.chat.Component tooltip, me.shedaniel.clothconfig2.api.AbstractConfigListEntry... entries) Creates a subcategory in the parent config category with the specified key and adds entries to it.
-
Constructor Details
-
FrozenClothConfig
public FrozenClothConfig()
-
-
Method Details
-
createSubCategory
public static me.shedaniel.clothconfig2.api.ConfigCategory createSubCategory(me.shedaniel.clothconfig2.api.ConfigEntryBuilder entryBuilder, me.shedaniel.clothconfig2.api.ConfigCategory parentCategory, net.minecraft.network.chat.Component key, boolean expanded, net.minecraft.network.chat.Component tooltip, me.shedaniel.clothconfig2.api.AbstractConfigListEntry... entries) Creates a subcategory in the parent config category with the specified key and adds entries to it.- Parameters:
entryBuilder- the ConfigEntryBuilder instanceparentCategory- the parent config categorykey- the key for the subcategoryexpanded- if the subcategory is expanded or nottooltip- the tooltip for the subcategoryentries- the entries to be added to the subcategory- Returns:
- the newly created subcategory
-