Class CrafterSmartPort
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
com.xzavier0722.mc.plugin.slimefun4.autocrafter.CrafterSmartPort
- All Implemented Interfaces:
Placeable
-
Field Summary
FieldsFields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionCrafterSmartPort(ItemGroup category, SlimefunItemStack item, RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionbooleanShould load theSlimefunBlockDataby default.voidThis method is called beforeSlimefunItem.register(SlimefunAddon).Methods inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addItemHandler, addItemSetting, addOfficialWikipage, addWikiPage, callItemHandler, canUse, disable, enable, equals, error, getAddon, getBlockTicker, getById, getByItem, getDrops, getDrops, getHandlers, getId, getItem, getItemGroup, getItemName, getItemSetting, getItemSettings, getOptionalById, getOptionalByItem, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isItemStackImmutable, isTicking, isUseableInWorkbench, load, postRegister, register, sendDeprecationWarning, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, toString, warnMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.Placeable
useVanillaBlockBreaking
-
Field Details
-
INPUT_SLOTS
public static final int[] INPUT_SLOTS -
OUTPUT_SLOTS
public static final int[] OUTPUT_SLOTS
-
-
Constructor Details
-
CrafterSmartPort
public CrafterSmartPort(ItemGroup category, SlimefunItemStack item, RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe)
-
-
Method Details
-
preRegister
public void preRegister()Description copied from class:SlimefunItemThis method is called beforeSlimefunItem.register(SlimefunAddon). Override this method to add any additional setup, adding anItemHandlerfor example.- Overrides:
preRegisterin classSlimefunItem
-
loadDataByDefault
public boolean loadDataByDefault()Description copied from class:SlimefunItemShould load theSlimefunBlockDataby default. If return false, only the item withBlockTickerwill be loaded withChunkLoadEvent.- Overrides:
loadDataByDefaultin classSlimefunItem- Returns:
- true if the data should be loaded by default, false otherwise
-