public class ProjectileDispenseBehavior extends Object implements DispenseBehavior
| Constructor and Description |
|---|
ProjectileDispenseBehavior() |
ProjectileDispenseBehavior(org.cloudburstmc.api.entity.EntityType<? extends org.cloudburstmc.api.entity.Projectile> entity) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
correctNBT(com.nukkitx.nbt.NbtMap nbt)
you can add extra data of projectile here
|
void |
dispense(org.cloudburstmc.api.block.Block source,
org.cloudburstmc.api.item.ItemStack item) |
protected org.cloudburstmc.api.entity.EntityType<?> |
getEntityType() |
public ProjectileDispenseBehavior()
public ProjectileDispenseBehavior(org.cloudburstmc.api.entity.EntityType<? extends org.cloudburstmc.api.entity.Projectile> entity)
public void dispense(org.cloudburstmc.api.block.Block source,
org.cloudburstmc.api.item.ItemStack item)
dispense in interface DispenseBehaviorprotected org.cloudburstmc.api.entity.EntityType<?> getEntityType()
protected void correctNBT(com.nukkitx.nbt.NbtMap nbt)
nbt - tagCopyright © 2021. All rights reserved.