From 6cc6973bc89cb40b6dcc0da7d0b4798f7724eec9 Mon Sep 17 00:00:00 2001 From: Snownee <1850986885@qq.com> Date: Wed, 11 Nov 2020 11:54:04 +0800 Subject: [PATCH] Fix BeltInventory.eject different behavior in orientations --- .../contraptions/relays/belt/transport/BeltInventory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/transport/BeltInventory.java b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/transport/BeltInventory.java index 8271b56b8..85775cead 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/transport/BeltInventory.java +++ b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/transport/BeltInventory.java @@ -392,7 +392,7 @@ public class BeltInventory { float movementSpeed = Math.max(Math.abs(belt.getBeltMovementSpeed()), 1 / 8f); Vec3d outMotion = new Vec3d(belt.getBeltChainDirection()).scale(movementSpeed) .add(0, 1 / 8f, 0); - outPos.add(outMotion.normalize()); + outPos = outPos.add(outMotion.normalize().scale(0.001)); ItemEntity entity = new ItemEntity(belt.getWorld(), outPos.x, outPos.y + 6 / 16f, outPos.z, ejected); entity.setMotion(outMotion); entity.setDefaultPickupDelay();