Class ItemPotionSplashBehavior
java.lang.Object
org.cloudburstmc.server.item.behavior.CloudItemBehavior
org.cloudburstmc.server.item.behavior.ItemProjectileBehavior
org.cloudburstmc.server.item.behavior.ItemPotionSplashBehavior
- All Implemented Interfaces:
org.cloudburstmc.api.item.behavior.ItemBehavior
Created on 2015/12/27 by xtypr.
Package cn.nukkit.item in project Nukkit .
-
Field Summary
Fields inherited from class org.cloudburstmc.server.item.behavior.ItemProjectileBehavior
projectileEntityType, throwForce -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonProjectileCreation(org.cloudburstmc.api.item.ItemStack item, org.cloudburstmc.api.entity.Projectile entity)Methods inherited from class org.cloudburstmc.server.item.behavior.ItemProjectileBehavior
onClickAirMethods inherited from class org.cloudburstmc.server.item.behavior.CloudItemBehavior
canBeActivated, canBePlaced, canDestroy, canPlaceOn, getArmorPoints, getAttackDamage, getBlock, getEnchantAbility, getFuelTime, getMaxDurability, getMaxStackSize, getTier, getToolType, getToughness, isArmor, isAxe, isBoots, isChestplate, isHelmet, isHoe, isLeggings, isPickaxe, isShears, isShovel, isSword, isTool, isUnbreakable, onActivate, onRelease, onUse, useOn, useOn
-
Constructor Details
-
ItemPotionSplashBehavior
public ItemPotionSplashBehavior()
-
-
Method Details
-
onProjectileCreation
protected void onProjectileCreation(org.cloudburstmc.api.item.ItemStack item, org.cloudburstmc.api.entity.Projectile entity)- Overrides:
onProjectileCreationin classItemProjectileBehavior
-