From ede82eb77c27806ee70ce8af9d5f692d9e5b298c Mon Sep 17 00:00:00 2001 From: MATRIX-feather Date: Sat, 3 Feb 2024 13:55:16 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"misc:=20=E4=BD=BFLivingEntityValues?= =?UTF-8?q?=E4=B8=AD=E5=80=BC=E7=9A=84=E9=A1=BA=E5=BA=8F=E5=92=8C=E5=8E=9F?= =?UTF-8?q?=E5=A7=8BLivingEntity=E4=B8=AD=E7=9A=84=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E9=A1=BA=E5=BA=8F=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 8d3dc1030836cc99392ac0fab180bd7f774f0e13. --- .../datawatcher/values/basetypes/LivingEntityValues.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/xiamomc/morph/backends/server/renderer/network/datawatcher/values/basetypes/LivingEntityValues.java b/src/main/java/xiamomc/morph/backends/server/renderer/network/datawatcher/values/basetypes/LivingEntityValues.java index 9b667935..340ed97c 100644 --- a/src/main/java/xiamomc/morph/backends/server/renderer/network/datawatcher/values/basetypes/LivingEntityValues.java +++ b/src/main/java/xiamomc/morph/backends/server/renderer/network/datawatcher/values/basetypes/LivingEntityValues.java @@ -8,11 +8,11 @@ public class LivingEntityValues extends EntityValues { public final SingleValue LIVING_FLAGS = getSingle("living_flags", (byte)0); + public final SingleValue HEALTH = getSingle("living_health", 1f); public final SingleValue POTION_COLOR = getSingle("living_option_color", 0); public final SingleValue POTION_ISAMBIENT = getSingle("living_potion_is_ambient", false); public final SingleValue STUCKED_ARROWS = getSingle("living_stucked_arrows", 0); public final SingleValue BEE_STINGERS = getSingle("living_bee_stingers", 0); - public final SingleValue HEALTH = getSingle("living_health", 1f); public final SingleValue> BED_POS = getSingle("living_bed_pos", Optional.of(new BlockPos(0,0,0))); public LivingEntityValues()