Skip to content

Commit

Permalink
3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
baguchi committed Apr 6, 2024
1 parent 76c63e9 commit 72d99bd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ halplibe_version=3.5.1
dragonfly_version=1.4.7-7.1
terrain_api_version=1.4.4-7.1
# Mod
mod_version=3.0.1
mod_version=3.0.2
mod_group=baguchan
mod_name=better_with_aquatic
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import net.minecraft.core.entity.Entity;
import net.minecraft.core.entity.monster.EntityZombie;
import net.minecraft.core.entity.player.EntityPlayer;
import net.minecraft.core.util.helper.DamageType;
import net.minecraft.core.util.helper.MathHelper;
import net.minecraft.core.util.phys.Vec3d;
import net.minecraft.core.world.World;
Expand Down Expand Up @@ -208,6 +209,11 @@ protected void defaultPlayerActionState() {
}
}

@Override
public boolean hurt(Entity attacker, int i, DamageType type) {
return super.hurt(attacker, i, type);
}

@Override
public boolean canBreatheUnderwater() {
return true;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"depends": {
"fabricloader": ">=0.13.3",
"halplibe": ">=3.4.14",
"dragonfly": ">=1.4.2-7.1",
"dragonfly": ">=1.4.5-7.1",
"better_ai": ">=2.0.1",
"terrain-api": ">=1.4.2-7.1"
},
Expand Down

0 comments on commit 72d99bd

Please sign in to comment.