missed these somehow

This commit is contained in:
granny
2025-06-30 12:22:39 -07:00
parent 723eac8dfc
commit fe00a838e5
2 changed files with 0 additions and 18 deletions

View File

@@ -1,14 +1,5 @@
--- a/net/minecraft/world/entity/EntityType.java --- a/net/minecraft/world/entity/EntityType.java
+++ b/net/minecraft/world/entity/EntityType.java +++ b/net/minecraft/world/entity/EntityType.java
@@ -1089,7 +_,7 @@
@Nullable
private Component description;
private final Optional<ResourceKey<LootTable>> lootTable;
- public EntityDimensions dimensions;
+ private final EntityDimensions dimensions;
private final float spawnDimensionsScale;
private final FeatureFlagSet requiredFeatures;
@@ -1105,6 +_,16 @@ @@ -1105,6 +_,16 @@
return register(vanillaEntityId(key), builder); return register(vanillaEntityId(key), builder);
} }

View File

@@ -156,15 +156,6 @@
this.hurt(this.damageSources().flyIntoWall(), f); 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 @@ @@ -4507,6 +_,12 @@
? slot == EquipmentSlot.MAINHAND && this.canUseSlot(EquipmentSlot.MAINHAND) ? slot == EquipmentSlot.MAINHAND && this.canUseSlot(EquipmentSlot.MAINHAND)
: slot == equippable.slot() && this.canUseSlot(equippable.slot()) && equippable.canBeEquippedBy(this.getType()); : slot == equippable.slot() && this.canUseSlot(equippable.slot()) && equippable.canBeEquippedBy(this.getType());