net.minecraft.entity.projectile.EntitySnowball Java Examples

The following examples show how to use net.minecraft.entity.projectile.EntitySnowball. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CraftSnowball.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
public CraftSnowball(CraftServer server, EntitySnowball entity) {
    super(server, entity);
}
 
Example #2
Source File: CraftSnowball.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
@Override
public EntitySnowball getHandle() {
    return (EntitySnowball) entity;
}
 
Example #3
Source File: DispenserBehaviorSnowball.java    From Artifacts with MIT License 4 votes vote down vote up
/**
 * Return the projectile entity spawned by this dispense behavior.
 */
protected IProjectile getProjectileEntity(World par1World, IPosition par2IPosition)
{
    return new EntitySnowball(par1World, par2IPosition.getX(), par2IPosition.getY(), par2IPosition.getZ());
}