9986ffc458
Deprecates the old usage of the AEItemDefinitions via the direct method access of * blocks() * parts() * items() * materials() and thus use the new re-direct via definitions(). All definitions are now initialized, no matter what. But SubItems, Items and Blocks are not registered, if by chance are disabled.
16 lines
313 B
Java
16 lines
313 B
Java
package appeng.api.definitions;
|
|
|
|
|
|
import net.minecraft.tileentity.TileEntity;
|
|
|
|
import com.google.common.base.Optional;
|
|
|
|
|
|
public interface ITileDefinition extends IBlockDefinition
|
|
{
|
|
/**
|
|
* @return the {@link TileEntity} Class if applicable.
|
|
*/
|
|
Optional<? extends Class<? extends TileEntity>> maybeEntity();
|
|
}
|