Class Rocket
java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.addoncommunity.galactifun.api.items.Rocket
- All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.Placeable, io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem
- Direct Known Subclasses:
ChemicalRocket, IonRocket
public abstract class Rocket
extends io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
implements io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem
-
Field Summary
FieldsFields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionRocket(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, int fuelCapacity, int storageCapacity) -
Method Summary
Modifier and TypeMethodDescriptionintList<org.bukkit.inventory.ItemStack> protected org.bukkit.ParticleintMethods 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, preRegister, register, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warnMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute
getIdMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Placeable
useVanillaBlockBreakingMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem
getLabelLocalPath, getRecipeSectionLabel
-
Field Details
-
CARGO_KEY
public static final org.bukkit.NamespacedKey CARGO_KEY
-
-
Constructor Details
-
Rocket
public Rocket(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, int fuelCapacity, int storageCapacity)
-
-
Method Details
-
getAllowedFuels
-
getLaunchParticles
@Nonnull protected org.bukkit.Particle getLaunchParticles() -
getDisplayRecipes
- Specified by:
getDisplayRecipesin interfaceio.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem
-
fuelCapacity
public int fuelCapacity() -
storageCapacity
public int storageCapacity() -
allowedFuels
-