Skip to content

Commit

Permalink
revert: reverted max step height changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBv committed Oct 24, 2023
1 parent de95f38 commit 9ac45a6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public EntityAmphithere(EntityType<EntityAmphithere> type, Level worldIn) {
pitch_buffer = new IFChainBuffer();
tail_buffer = new IFChainBuffer();
}
this.setMaxUpStep(1F);
switchNavigator(0);
}

Expand Down Expand Up @@ -581,8 +582,7 @@ public static AttributeSupplier.Builder bakeAttributes() {
//ATTACK
.add(Attributes.ATTACK_DAMAGE, IafConfig.amphithereAttackStrength)
//FOLLOW RANGE
.add(Attributes.FOLLOW_RANGE, 32.0D)
.add(ForgeMod.STEP_HEIGHT.get(), 1);
.add(Attributes.FOLLOW_RANGE, 32.0D);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ public static AttributeSupplier.Builder bakeAttributes() {
//FOLLOW RANGE
.add(Attributes.FOLLOW_RANGE, 32D)
//ARMOR
.add(Attributes.ARMOR, 20.0D)
.add(ForgeMod.STEP_HEIGHT.get(), 2.5F);
.add(Attributes.ARMOR, 20.0D);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public EntityDeathWorm(EntityType<EntityDeathWorm> type, Level worldIn) {
if (worldIn.isClientSide) {
tail_buffer = new ChainBuffer();
}
this.setMaxUpStep(1F);
this.switchNavigator(false);
}

Expand Down Expand Up @@ -146,8 +147,7 @@ public static AttributeSupplier.Builder bakeAttributes() {
//FOLLOW RANGE
.add(Attributes.FOLLOW_RANGE, IafConfig.deathWormTargetSearchLength)
//ARMOR
.add(Attributes.ARMOR, 3)
.add(ForgeMod.STEP_HEIGHT.get(), 1.0F);
.add(Attributes.ARMOR, 3);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public EntityHippocampus(EntityType<EntityHippocampus> t, Level worldIn) {
super(t, worldIn);
ANIMATION_SPEAK = Animation.create(15);
this.switchNavigator(true);
this.setMaxUpStep(1F);
if (worldIn.isClientSide) {
tail_buffer = new ChainBuffer();
}
Expand All @@ -117,8 +118,7 @@ public static AttributeSupplier.Builder bakeAttributes() {
//SPEED
.add(Attributes.MOVEMENT_SPEED, 0.3D)
//ATTACK
.add(Attributes.ATTACK_DAMAGE, 1.0D)
.add(ForgeMod.STEP_HEIGHT.get(), 1.0F);
.add(Attributes.ATTACK_DAMAGE, 1.0D);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public EntitySiren(EntityType<EntitySiren> t, Level worldIn) {
if (worldIn.isClientSide) {
tail_buffer = new ChainBuffer();
}
this.setMaxUpStep(1F);
}

@Override
Expand Down Expand Up @@ -441,8 +442,7 @@ public static AttributeSupplier.Builder bakeAttributes() {
//SPEED
.add(Attributes.MOVEMENT_SPEED, 0.25D)
//ATTACK
.add(Attributes.ATTACK_DAMAGE, 6.0D)
.add(ForgeMod.STEP_HEIGHT.get(), 2.0F);
.add(Attributes.ATTACK_DAMAGE, 6.0D);
}

@Override
Expand Down

0 comments on commit 9ac45a6

Please sign in to comment.