Interface ICraftingSetting
- All Known Implementing Classes:
RecipeSetting
Crafting Setting.
-
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.world.item.ItemStack> getSettings(IBuilding building) Get the list of all settings.List<net.minecraft.world.item.ItemStack> getSettings(IBuildingView buildingView) Get the list of all settings.Get the setting value.getValue(IBuildingView building) Get the setting value.voidset(IRecipeStorage value) Set the setting to a specific index.Methods inherited from interface com.minecolonies.api.colony.buildings.modules.settings.ISetting
copyValue, getInactiveReason, getLayoutItem, getToolTipText, getValue, isActive, isActive, onUpdate, render, setHoverPane, setupHandler, shouldHideWhenInactive, trigger, updateSetting
-
Method Details
-
getValue
Get the setting value.- Returns:
- the current value.
-
getValue
Get the setting value.- Returns:
- the current value.
-
getSettings
Get the list of all settings.- Parameters:
building- server side building.- Returns:
- the list.
-
getSettings
Get the list of all settings.- Parameters:
buildingView- client side building.- Returns:
- a copy of the list.
-
set
Set the setting to a specific index.- Parameters:
value- the value to set.
-