From fe00a838e547b5df1a8f50faaf60fc1cb477b460 Mon Sep 17 00:00:00 2001 From: granny Date: Mon, 30 Jun 2025 12:22:39 -0700 Subject: [PATCH] missed these somehow --- .../net/minecraft/world/entity/EntityType.java.patch | 9 --------- .../net/minecraft/world/entity/LivingEntity.java.patch | 9 --------- 2 files changed, 18 deletions(-) diff --git a/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/EntityType.java.patch b/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/EntityType.java.patch index 6bd4281b3..5fc5f32fc 100644 --- a/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/EntityType.java.patch +++ b/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/EntityType.java.patch @@ -1,14 +1,5 @@ --- a/net/minecraft/world/entity/EntityType.java +++ b/net/minecraft/world/entity/EntityType.java -@@ -1089,7 +_,7 @@ - @Nullable - private Component description; - private final Optional> lootTable; -- public EntityDimensions dimensions; -+ private final EntityDimensions dimensions; - private final float spawnDimensionsScale; - private final FeatureFlagSet requiredFeatures; - @@ -1105,6 +_,16 @@ return register(vanillaEntityId(key), builder); } diff --git a/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/LivingEntity.java.patch b/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/LivingEntity.java.patch index 59427016b..e1f8f1495 100644 --- a/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/LivingEntity.java.patch +++ b/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/LivingEntity.java.patch @@ -156,15 +156,6 @@ this.hurt(this.damageSources().flyIntoWall(), f); } } -@@ -3628,7 +_,7 @@ - } - } - -- public boolean canGlide() { -+ protected boolean canGlide() { - if (!this.onGround() && !this.isPassenger() && !this.hasEffect(MobEffects.LEVITATION)) { - for (EquipmentSlot equipmentSlot : EquipmentSlot.VALUES) { - if (canGlideUsing(this.getItemBySlot(equipmentSlot), equipmentSlot)) { @@ -4507,6 +_,12 @@ ? slot == EquipmentSlot.MAINHAND && this.canUseSlot(EquipmentSlot.MAINHAND) : slot == equippable.slot() && this.canUseSlot(equippable.slot()) && equippable.canBeEquippedBy(this.getType());