Class ExplosiveBow
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.weapons.SlimefunBow
io.github.thebusybiscuit.slimefun4.implementation.items.weapons.ExplosiveBow
- All Implemented Interfaces:
Placeable
The
ExplosiveBow
is a SlimefunBow
which creates a fake explosion when it hits
a LivingEntity
. Any nearby LivingEntities
get pushed away and
take a little bit of damage, similar to an "Area of Effect" damage.- Author:
- TheBusyBiscuit, Linox
- See Also:
-
Field Summary
Fields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
-
Constructor Summary
ConstructorDescriptionExplosiveBow
(ItemGroup itemGroup, SlimefunItemStack item, ItemStack[] recipe) -
Method Summary
Methods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.weapons.SlimefunBow
preRegister
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, 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
-
Constructor Details
-
ExplosiveBow
@ParametersAreNonnullByDefault public ExplosiveBow(ItemGroup itemGroup, SlimefunItemStack item, ItemStack[] recipe)
-
-
Method Details
-
onShoot
- Specified by:
onShoot
in classSlimefunBow
-