9
0
mirror of https://github.com/Dreeam-qwq/Gale.git synced 2025-12-23 08:49:28 +00:00

Skip entity move if movement is zero

This commit is contained in:
MartijnMuijsers
2022-11-30 14:28:43 +01:00
parent f5d2c2f010
commit 250f52faeb
25 changed files with 58 additions and 6 deletions

View File

@@ -6,8 +6,9 @@ Subject: [PATCH] Reduce lambda and Optional allocation in
License: LGPL-3.0 (https://www.gnu.org/licenses/lgpl-3.0.html)
This patch is based on the following commit:
"new: remove lambda allocation in EntityExplosionBehavior"
This patch is based on the following mixin:
"alloc/explosion_behavior/EntityExplosionBehaviorMixin"
Original commit: "new: remove lambda allocation in EntityExplosionBehavior"
By: 2No2Name <2No2Name@web.de>
As part of: Lithium (https://github.com/CaffeineMC/lithium-fabric)
Licensed under: LGPL-3.0 (https://www.gnu.org/licenses/lgpl-3.0.nl.html)