PaperMC/paper-server/patches/sources/net/minecraft/world/entity/Shearable.java.patch
2021-10-17 15:39:48 -04:00

8 lines
345 B
Diff

--- 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.
}