Class SimpleItemContainerMachine

java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
com.github.relativobr.supreme.generic.machine.GenericMachine
com.github.relativobr.supreme.generic.machine.SimpleItemContainerMachine
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent, io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.MachineProcessHolder<io.github.thebusybiscuit.slimefun5.implementation.operations.CraftingOperation>, io.github.thebusybiscuit.slimefun5.core.attributes.NotHopperable, io.github.thebusybiscuit.slimefun5.core.attributes.Placeable, io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem, me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
Direct Known Subclasses:
TechGenerator, TechMutation, TechRobotic

public class SimpleItemContainerMachine extends GenericMachine
  • Field Summary

    Fields inherited from class com.github.relativobr.supreme.generic.machine.GenericMachine

    machineRecipes

    Fields inherited from class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer

    recipes

    Fields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem

    addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    SimpleItemContainerMachine(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup category, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int[]
     
    List<org.bukkit.inventory.ItemStack>
     
    int[]
     
    int[]
     
    int[]
     
    int[]
     
    int
     

    Methods inherited from class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer

    getCapacity, getEnergyComponentType, getEnergyConsumption, getInventoryTitle, getMachineProcessor, getMachineRecipes, getSpeed, preRegister, register, registerDefaultRecipes, registerRecipe, registerRecipe, registerRecipe, registerRecipe, registerRecipe, setCapacity, setEnergyConsumption, setProcessingSpeed, takeCharge

    Methods inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem

    addItemHandler, addItemSetting, addOfficialWikipage, bakeTranslatedDisplay, callItemHandler, canUse, decorateBakedTemplate, equals, error, getAddon, getBlockTicker, getById, getByItem, getByItem, getDrops, getDrops, getGuideType, getHandlers, getId, getItem, getItemGroup, getItemName, getItemSetting, getItemSettings, getOptionalById, getOptionalByItem, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isTicking, isUseableInWorkbench, load, postRegister, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warn

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent

    addCharge, getCharge, getCharge, isChargeable, removeCharge, setCharge

    Methods inherited from interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock

    createPreset, createPreset

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute

    getId

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Placeable

    useVanillaBlockBreaking

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem

    getLabelLocalPath, getRecipeSectionLabel
  • Constructor Details

    • SimpleItemContainerMachine

      @ParametersAreNonnullByDefault protected SimpleItemContainerMachine(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup category, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe)
  • Method Details

    • getDisplayRecipes

      @Nonnull public List<org.bukkit.inventory.ItemStack> getDisplayRecipes()
      Specified by:
      getDisplayRecipes in interface io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem
      Overrides:
      getDisplayRecipes in class GenericMachine
    • getInputSlots

      public int[] getInputSlots()
      Specified by:
      getInputSlots in interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
      Overrides:
      getInputSlots in class GenericMachine
    • getOutputSlots

      public int[] getOutputSlots()
      Specified by:
      getOutputSlots in interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
      Overrides:
      getOutputSlots in class GenericMachine
    • getStatusSlot

      public int getStatusSlot()
      Overrides:
      getStatusSlot in class GenericMachine
    • getBorderSlots

      public int[] getBorderSlots()
      Overrides:
      getBorderSlots in class GenericMachine
    • getInputBorderSlots

      public int[] getInputBorderSlots()
      Overrides:
      getInputBorderSlots in class GenericMachine
    • getOutputBorderSlots

      public int[] getOutputBorderSlots()
      Overrides:
      getOutputBorderSlots in class GenericMachine