Repatch missed hasTileEntity redirects. And cleanup related patches. Closes #5369

This commit is contained in:
LexManos committed 2019-01-25 13:11:06 -08:00
1 parent d04df43b27
commit 7a651b8c1f
16 files changed
+307 -761

No files matched your search

@@ -190,6 +190,7 @@ public interface IForgeBlock
* @param state State of the current block
* @return True if block has a tile entity, false otherwise
*/
@SuppressWarnings("deprecation")
default boolean hasTileEntity(IBlockState state)
{
return this instanceof ITileEntityProvider;
@@ -204,6 +205,7 @@ public interface IForgeBlock
* @param world The world to create the TE in
* @return A instance of a class extending TileEntity
*/
@SuppressWarnings("deprecation")
@Nullable
default TileEntity createTileEntity(IBlockState state, IBlockReader world)
{