mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 02:07:37 +01:00
9 lines
345 B
Diff
9 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.
|
||
|
}
|