Class NetworkAutoCrafter

java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.sefiraat.networks.slimefun.network.NetworkObject
io.github.sefiraat.networks.slimefun.network.NetworkAutoCrafter
All Implemented Interfaces:
AdminDebuggable, io.github.thebusybiscuit.slimefun4.core.attributes.Placeable

public class NetworkAutoCrafter extends NetworkObject
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.github.thebusybiscuit.slimefun4.libraries.dough.items.CustomItemStack
     
    static final io.github.thebusybiscuit.slimefun4.libraries.dough.items.CustomItemStack
     

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

    addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench

    Fields inherited from interface io.github.sefiraat.networks.slimefun.network.AdminDebuggable

    DEBUG_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    NetworkAutoCrafter(io.github.thebusybiscuit.slimefun4.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun4.api.recipes.RecipeType recipeType, ItemStack[] recipe, int chargePerCraft, boolean withholding)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    craftPreFlight(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
     
    void
     
    void
    releaseCache(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
     
    void
    setCache(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, BlueprintInstance blueprintInstance)
     

    Methods inherited from class io.github.sefiraat.networks.slimefun.network.NetworkObject

    addToRegistry, onBreak, preBreak, runSync

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

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

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.github.sefiraat.networks.slimefun.network.AdminDebuggable

    isDebug, sendDebugMessage, setDebug, toggle

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

    useVanillaBlockBreaking
  • Field Details

    • BLUEPRINT_BACKGROUND_STACK

      public static final io.github.thebusybiscuit.slimefun4.libraries.dough.items.CustomItemStack BLUEPRINT_BACKGROUND_STACK
    • OUTPUT_BACKGROUND_STACK

      public static final io.github.thebusybiscuit.slimefun4.libraries.dough.items.CustomItemStack OUTPUT_BACKGROUND_STACK
  • Constructor Details

    • NetworkAutoCrafter

      public NetworkAutoCrafter(io.github.thebusybiscuit.slimefun4.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun4.api.recipes.RecipeType recipeType, ItemStack[] recipe, int chargePerCraft, boolean withholding)
  • Method Details

    • craftPreFlight

      protected void craftPreFlight(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
    • releaseCache

      public void releaseCache(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
    • setCache

      public void setCache(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, @Nonnull BlueprintInstance blueprintInstance)
    • postRegister

      public void postRegister()
      Overrides:
      postRegister in class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem