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 TypeMethodDescriptionboolean
Should load theSlimefunBlockData
by default.void
This 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, warn
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:SlimefunItem
This method is called beforeSlimefunItem.register(SlimefunAddon)
. Override this method to add any additional setup, adding anItemHandler
for example.- Overrides:
preRegister
in classSlimefunItem
-
loadDataByDefault
public boolean loadDataByDefault()Description copied from class:SlimefunItem
Should load theSlimefunBlockData
by default. If return false, only the item withBlockTicker
will be loaded withChunkLoadEvent
.- Overrides:
loadDataByDefault
in classSlimefunItem
- Returns:
- true if the data should be loaded by default, false otherwise
-