Skip to content

Commit

Permalink
Merge branch '1.20.2' into 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Mar 31, 2024
2 parents 2cb5aec + b2a350b commit 88d2535
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import net.minecraft.client.network.OtherClientPlayerEntity;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.passive.AbstractHorseEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ArmorItem;
import net.minecraft.util.math.BlockPos;
Expand Down Expand Up @@ -80,7 +81,7 @@ protected void simulateStationary() {
if (isImmobile && (entity.isOnGround() || !entity.isSubmergedInWater()) && playbackImmobile()) {
Association assos = associations.findAssociation(0d, isRightFoot);

if (!assos.isSilent() || !isImmobile) {
if (assos.isResult() && (!assos.isSilent() || !isImmobile)) {
playStep(assos, State.STAND);
}
}
Expand Down Expand Up @@ -177,7 +178,7 @@ protected void simulateFootsteps() {
}

// Fix high speed footsteps (i.e. horse riding)
if (motionTracker.getHorizontalSpeed() > 0.1) {
if ((entity instanceof AbstractHorseEntity) && motionTracker.getHorizontalSpeed() > 0.1) {
distance *= 3;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1881,10 +1881,10 @@
},
"souls": {
"type": "events",
"wander": "@minecraft:block.soul_soil.step",
"land": "@minecraft:block.soul_soil.place",
"walk": "@minecraft:block.soul_soil.place",
"run": "@minecraft:block.soul_soil.place",
"wander": "@minecraft:block.soul_soil.place",
"land": "@minecraft:block.soul_soil.place"
"run": "@minecraft:block.soul_soil.place"
},
"bone": {
"type": "events",
Expand Down

0 comments on commit 88d2535

Please sign in to comment.