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