BiomesOPlenty/common/biomesoplenty/entities/projectiles/DispenserBehaviorMudball.java

16 lines
506 B
Java
Raw Normal View History

2013-07-03 07:51:39 +00:00
package biomesoplenty.entities.projectiles;
2013-05-03 13:00:44 +00:00
import net.minecraft.dispenser.BehaviorProjectileDispense;
import net.minecraft.dispenser.IPosition;
import net.minecraft.entity.IProjectile;
import net.minecraft.world.World;
public class DispenserBehaviorMudball extends BehaviorProjectileDispense
{
2013-05-31 10:34:02 +00:00
@Override
2013-05-03 13:00:44 +00:00
protected IProjectile getProjectileEntity(World par1World, IPosition par2IPosition)
2013-05-31 10:34:02 +00:00
{
return new EntityMudball(par1World, par2IPosition.getX(), par2IPosition.getY(), par2IPosition.getZ());
}
2013-05-03 13:00:44 +00:00
}