[26.2] fixed shearing sulfur cubes with custom shears#10826
Conversation
|
Overall looks good/simple enough. |
|
Okay, back at a computer, reviewing the whole IForgeShearable system. 26.2...MinecraftForge:MinecraftForge-Experimental:shears If there is no major object to this I can do so. |
Entities use vanilla's Shearable interface Blocks use loot table conditions or useItemOn if you need positional information
|
@cech12, this pull request has conflicts, please resolve them for this PR to move forward. |
This PR fixes shearing sulfur cubes with custom shears. Interacting with sulfur cubes containing a block didn't result in shearing off the block as vanilla shears.
I reused the tool action SHEARS_HARVEST, because I don't think an extra tool action for handling sulfur cube shearing is necessary.
I also added a corresponding automated test.