summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntitySnowball.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/EntitySnowball.java')
-rw-r--r--src/main/java/net/minecraft/server/EntitySnowball.java38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/main/java/net/minecraft/server/EntitySnowball.java b/src/main/java/net/minecraft/server/EntitySnowball.java
deleted file mode 100644
index 3dc5b9ac..00000000
--- a/src/main/java/net/minecraft/server/EntitySnowball.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package net.minecraft.server;
-
-public class EntitySnowball extends EntityProjectile {
-
- public EntitySnowball(World world) {
- super(world);
- }
-
- public EntitySnowball(World world, EntityLiving entityliving) {
- super(world, entityliving);
- }
-
- public EntitySnowball(World world, double d0, double d1, double d2) {
- super(world, d0, d1, d2);
- }
-
- protected void a(MovingObjectPosition movingobjectposition) {
- if (movingobjectposition.entity != null) {
- int b0 = 0; // CraftBukkit - byte -> int
-
- if (movingobjectposition.entity instanceof EntityBlaze) {
- b0 = 3;
- }
- // CraftBukkit - entity.damageEntity -> event function
- if (org.bukkit.craftbukkit.event.CraftEventFactory.handleProjectileEvent((org.bukkit.entity.Projectile) this.getBukkitEntity(), movingobjectposition.entity, DamageSource.projectile(this, this.shooter), b0)) {
- ;
- }
- }
-
- for (int i = 0; i < 8; ++i) {
- this.world.a("snowballpoof", this.locX, this.locY, this.locZ, 0.0D, 0.0D, 0.0D);
- }
-
- if (!this.world.isStatic) {
- this.die();
- }
- }
-}