Hopper Minecarts are 4x slower if at BlockPos [0,0,0]
What I expected to happen was...:
My hopper minecart would be the regular speed
What actually happened was...:
My hopper minecart was 4x slower
Steps to Reproduce:
1. Place rail at 0,0,0 & one at 2,0,0
2. Place chests above the rails
3. Fill the chests with items
4. Place hopper minecart on each rail
3. Enjoy
Code Analysis (Yarn - 1.18.2)
net.minecraft.entity.vehicle.HopperMinecartEntity.java
public void tick() {
super.tick();
if (!this.world.isClient && this.isAlive() && this.isEnabled()) {
BlockPos blockPos = this.getBlockPos();
if (blockPos.equals(this.currentBlockPos)) {
--this.transferCooldown;
} else {
this.setTransferCooldown(0);
}
if (!this.isCoolingDown()) {
this.setTransferCooldown(0);
if (this.canOperate()) {
this.setTransferCooldown(4);
this.markDirty();
}
}
}
}
this.currentBlockPos
is only modified at one point in the code, and it's set toΒ BlockPos.ORIGIN
which is [0,0,0]
I'm going to guess that this is remnants of old code
Thank you for your report!
We're tracking this issue in MC-235260, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.