BiomesOPlenty/common/biomesoplenty/entities/projectiles/DispenserBehaviorDart.java
2013-09-13 16:44:22 +10:00

15 lines
500 B
Java

package biomesoplenty.entities.projectiles;
import net.minecraft.dispenser.BehaviorProjectileDispense;
import net.minecraft.dispenser.IPosition;
import net.minecraft.entity.IProjectile;
import net.minecraft.world.World;
public class DispenserBehaviorDart extends BehaviorProjectileDispense
{
@Override
protected IProjectile getProjectileEntity(World par1World, IPosition par2IPosition)
{
return new EntityDart(par1World, par2IPosition.getX(), par2IPosition.getY(), par2IPosition.getZ());
}
}