Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added some stuff specifically in BlockCanvas.java that makes it so any painted block acts more like the block that they were originally instead of a canvas. For example, painted netherrack can still sustain fire, leaves will disappear if they are not attached to wood, painted wood can still sustain leaves.
I think the best addition however is that the mining speed is the same as the original block. This prevents cheating. I was using this mod on my server and people would paint obsidian and then mine the now canvas block. They would then get a piece of obsidian as a drop without nearly any mining time. Users would also do this for things that they couldn't mine such as iron and diamond.
Another neat thing is that the mod 'waila' now recognizes the painted block as the same block before they were painted. So if you are looking at say, a piece of dirt. Waila will tell you you are looking at a piece of dirt and it is best harvested by a shovel. Now, if you paint it, Waila will say the same thing. Users will never even know that the block was replaced by a whole new one! :D
This addition makes many more blocks paintable and adds some fairness to the mod. It's not perfect, but I think it's better.
Feel free not to accept the PaintUtils.java.superzanti file that I added, this is simply the file that I'm using to make many more blocks paintable without having to parse through all my mods.