Class CustomSignsTest.CustomStandingSignBlock

    • Method Detail

      • hasTileEntity

        public boolean hasTileEntity​(BlockState stateIn)
        Description copied from interface: IForgeBlock
        Called throughout the code as a replacement for block instanceof BlockContainer Moving this to the Block base class allows for mods that wish to extend vanilla blocks, and also want to have a tile entity on that block, may. Return true from this function to specify this block has a tile entity.
        Parameters:
        stateIn - State of the current block
        Returns:
        True if block has a tile entity, false otherwise