mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
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:
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user