Interface ICraftingSetting

All Superinterfaces:
ISetting<IToken<?>>
All Known Implementing Classes:
RecipeSetting

public interface ICraftingSetting extends ISetting<IToken<?>>
Crafting Setting.
  • Method Details

    • getValue

      IRecipeStorage getValue(IBuilding building)
      Get the setting value.
      Returns:
      the current value.
    • getValue

      IRecipeStorage getValue(IBuildingView building)
      Get the setting value.
      Returns:
      the current value.
    • getSettings

      List<net.minecraft.world.item.ItemStack> getSettings(IBuilding building)
      Get the list of all settings.
      Parameters:
      building - server side building.
      Returns:
      the list.
    • getSettings

      List<net.minecraft.world.item.ItemStack> getSettings(IBuildingView buildingView)
      Get the list of all settings.
      Parameters:
      buildingView - client side building.
      Returns:
      a copy of the list.
    • set

      void set(IRecipeStorage value)
      Set the setting to a specific index.
      Parameters:
      value - the value to set.