package minestrapteam.mods.minestrappolation.handlers; import minestrapteam.mods.minestrappolation.entity.EntityMudBall; import net.minecraft.dispenser.BehaviorProjectileDispense; import net.minecraft.dispenser.IPosition; import net.minecraft.entity.IProjectile; import net.minecraft.world.World; public class DispenserMudBall extends BehaviorProjectileDispense { @Override protected IProjectile getProjectileEntity(World worldIn, IPosition pos) { return new EntityMudBall(worldIn, pos.getX(), pos.getY(), pos.getZ()); } }