mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Repatch missed hasTileEntity redirects. And cleanup related patches. Closes #5369
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user