mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Item and NBT patches, IShearable blocks are responsible for setting themselves to air, to allow for setting other states.
This commit is contained in:
1 parent
bf9158172f
commit
a3c8e04ee6
92 files changed
+1008
-2205
No files matched your search
@@ -23,6 +23,7 @@ import java.util.List;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.IWorld;
|
||||
import net.minecraft.world.IWorldReader;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
@@ -71,5 +72,5 @@ public interface IShearable
|
||||
* @return A List containing all items from this shearing. May be empty.
|
||||
*/
|
||||
@Nonnull
|
||||
List<ItemStack> onSheared(@Nonnull ItemStack item, IWorldReader world, BlockPos pos, int fortune);
|
||||
List<ItemStack> onSheared(@Nonnull ItemStack item, IWorld world, BlockPos pos, int fortune);
|
||||
}
|
||||
Reference in new issue
Block a user