mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
missed these somehow
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user