Paper/paper-server/patches/sources/net/minecraft/world/entity/Shearable.java.patch

9 lines
345 B
Diff
Raw Normal View History

2021-10-17 21:39:48 +02:00
--- a/net/minecraft/world/entity/Shearable.java
+++ b/net/minecraft/world/entity/Shearable.java
@@ -8,4 +8,5 @@
void shear(ServerLevel world, SoundSource shearedSoundCategory, ItemStack shears);
boolean readyForShearing();
+ net.minecraft.world.level.Level level(); // Shearable API - expose default level needed for shearing.
}