Class NetworkEncoder

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

public class NetworkEncoder 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
    NetworkEncoder(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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    tryEncode(Player player, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
     

    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_BACK_STACK

      public static final io.github.thebusybiscuit.slimefun4.libraries.dough.items.CustomItemStack BLUEPRINT_BACK_STACK
    • ENCODE_STACK

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

    • NetworkEncoder

      public NetworkEncoder(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)
  • Method Details

    • postRegister

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

      public void tryEncode(@Nonnull Player player, @Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)