Make Villager profession unlocalized name use modids when not 'minecraft' Closes #5977

Fixed trees able to be generated through water. Closes #6000
Change Block#toString to use getRegistryName instead of getNameForObject Closes #5937
Allow Cooking Recipes to deserialize results with stack sizes. Closes #5960
This commit is contained in:
LexManos committed 2019-08-02 13:37:02 -07:00
1 parent 318fc6ffe8
commit 48fa2f458c
9 files changed
+60 -677

No files matched your search

@@ -365,7 +365,7 @@ public interface IForgeBlock
*/
default boolean canBeReplacedByLeaves(BlockState state, IWorldReader world, BlockPos pos)
{
return (isAir(state, world, pos) || state.isIn(BlockTags.LEAVES)) || !state.isOpaqueCube(world, pos);
return isAir(state, world, pos) || state.isIn(BlockTags.LEAVES);
}
/**