aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus
diff options
context:
space:
mode:
authorchochem <40274384+chochem@users.noreply.github.com>2024-10-13 16:28:07 +0100
committerGitHub <noreply@github.com>2024-10-13 17:28:07 +0200
commit52a4582f46de42ff19086760ac13303dfecb1593 (patch)
treeed34f12d464ce625c32044fac00df3739f17f603 /src/main/java/gtPlusPlus
parent6b37a684509c84ad8923aa00d8c3801936eaf9a1 (diff)
downloadGT5-Unofficial-52a4582f46de42ff19086760ac13303dfecb1593.tar.gz
GT5-Unofficial-52a4582f46de42ff19086760ac13303dfecb1593.tar.bz2
GT5-Unofficial-52a4582f46de42ff19086760ac13303dfecb1593.zip
Restore yeeted constructors on sickblaze (#3367)
Diffstat (limited to 'src/main/java/gtPlusPlus')
-rw-r--r--src/main/java/gtPlusPlus/core/entity/projectile/EntityToxinballSmall.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/gtPlusPlus/core/entity/projectile/EntityToxinballSmall.java b/src/main/java/gtPlusPlus/core/entity/projectile/EntityToxinballSmall.java
index 44b2e8f694..8c34e0dd1b 100644
--- a/src/main/java/gtPlusPlus/core/entity/projectile/EntityToxinballSmall.java
+++ b/src/main/java/gtPlusPlus/core/entity/projectile/EntityToxinballSmall.java
@@ -8,11 +8,23 @@ import net.minecraft.world.World;
public class EntityToxinballSmall extends EntityToxinball {
+ // required for any entity from vanilla code. please don't just randomly delete because intellij says no usages
+ public EntityToxinballSmall(World p_i1770_1_) {
+ super(p_i1770_1_);
+ this.setSize(0.3125F, 0.3125F);
+ }
+
public EntityToxinballSmall(World world, EntityLivingBase entity, double x, double y, double z) {
super(world, entity, x, y, z);
this.setSize(0.3125F, 0.3125F);
}
+ public EntityToxinballSmall(World p_i1772_1_, double p_i1772_2_, double p_i1772_4_, double p_i1772_6_,
+ double p_i1772_8_, double p_i1772_10_, double p_i1772_12_) {
+ super(p_i1772_1_, p_i1772_2_, p_i1772_4_, p_i1772_6_, p_i1772_8_, p_i1772_10_, p_i1772_12_);
+ this.setSize(0.3125F, 0.3125F);
+ }
+
/**
* Called when this EntityFireball hits a block or entity.
*/