Class ItemPotionLingeringBehavior
java.lang.Object
org.cloudburstmc.server.item.behavior.CloudItemBehavior
org.cloudburstmc.server.item.behavior.ItemProjectileBehavior
org.cloudburstmc.server.item.behavior.ItemPotionLingeringBehavior
- All Implemented Interfaces:
org.cloudburstmc.api.item.behavior.ItemBehavior
-
Field Summary
Fields inherited from class org.cloudburstmc.server.item.behavior.ItemProjectileBehavior
projectileEntityType, throwForce -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidonProjectileCreation(org.cloudburstmc.api.item.ItemStack item, org.cloudburstmc.api.entity.Projectile projectile)Methods inherited from class org.cloudburstmc.server.item.behavior.ItemProjectileBehavior
onClickAirMethods inherited from class org.cloudburstmc.server.item.behavior.CloudItemBehavior
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
-
ItemPotionLingeringBehavior
public ItemPotionLingeringBehavior()
-
-
Method Details
-
canBeActivated
public boolean canBeActivated()- Specified by:
canBeActivatedin interfaceorg.cloudburstmc.api.item.behavior.ItemBehavior- Overrides:
canBeActivatedin classCloudItemBehavior
-
onProjectileCreation
protected void onProjectileCreation(org.cloudburstmc.api.item.ItemStack item, org.cloudburstmc.api.entity.Projectile projectile)- Overrides:
onProjectileCreationin classItemProjectileBehavior
-