-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation cleanup and removal of a FQN
- Loading branch information
1 parent
7a7c510
commit 049ca55
Showing
3 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
--- a/net/minecraft/world/entity/Shearable.java | ||
+++ b/net/minecraft/world/entity/Shearable.java | ||
@@ -2,8 +_,11 @@ | ||
@@ -2,8 +_,20 @@ | ||
|
||
import net.minecraft.sounds.SoundSource; | ||
|
||
-public interface Shearable { | ||
+@Deprecated // Forge: Use IShearable | ||
+/** | ||
+ * @deprecated Neo: Use {@link net.neoforged.neoforge.common.IShearable} instead. | ||
+ */ | ||
+@Deprecated | ||
+public interface Shearable extends net.neoforged.neoforge.common.IShearable { | ||
+ @Deprecated // Forge: Use IShearable | ||
+ /** | ||
+ * @deprecated Neo: Use {@link net.neoforged.neoforge.common.IShearable#onSheared(net.minecraft.world.entity.player.Player, net.minecraft.world.item.ItemStack, net.minecraft.world.level.Level, net.minecraft.core.BlockPos, int)} instead. | ||
+ */ | ||
+ @Deprecated | ||
void shear(SoundSource p_21749_); | ||
|
||
+ @Deprecated // Forge: Use IShearable | ||
+ /** | ||
+ * @deprecated Neo: Use {@link net.neoforged.neoforge.common.IShearable#isShearable(net.minecraft.world.item.ItemStack, net.minecraft.world.level.Level, net.minecraft.core.BlockPos)} instead. | ||
+ */ | ||
+ @Deprecated | ||
boolean readyForShearing(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters