This commit is contained in:
parent
2e76ebd416
commit
31bc26c4f8
2
.gitignore
vendored
2
.gitignore
vendored
@ -23,3 +23,5 @@ bin/
|
||||
# fabric
|
||||
|
||||
run/
|
||||
|
||||
remappedSrc/
|
@ -28,6 +28,7 @@ public class SlimeballEntity extends ThrownItemEntity {
|
||||
super(SlightlyVanilla.SLIMEBALL_ENTITY, x, y, z, world);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Item getDefaultItem() {
|
||||
return Items.SLIME_BALL;
|
||||
}
|
||||
@ -48,6 +49,7 @@ public class SlimeballEntity extends ThrownItemEntity {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCollision(HitResult hitResult) {
|
||||
super.onCollision(hitResult);
|
||||
if (!world.isClient()) {
|
||||
|
@ -31,6 +31,7 @@ public class SpawnEggEntity extends ThrownItemEntity {
|
||||
super(SlightlyVanilla.SPAWN_EGG_ENTITY, x, y, z, world);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Item getDefaultItem() {
|
||||
return Items.PIG_SPAWN_EGG;
|
||||
}
|
||||
@ -51,6 +52,7 @@ public class SpawnEggEntity extends ThrownItemEntity {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCollision(HitResult hitResult) {
|
||||
super.onCollision(hitResult);
|
||||
if (!world.isClient()) {
|
||||
|
Reference in New Issue
Block a user