Applied-Energistics-2-tiler.../debug/BlockChunkloader.java

39 lines
1.1 KiB
Java
Raw Normal View History

2014-01-20 17:41:37 +01:00
package appeng.debug;
import java.util.EnumSet;
import java.util.List;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
2014-01-20 17:41:37 +01:00
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeChunkManager;
import net.minecraftforge.common.ForgeChunkManager.LoadingCallback;
import net.minecraftforge.common.ForgeChunkManager.Ticket;
import appeng.block.AEBaseBlock;
import appeng.core.AppEng;
import appeng.core.features.AEFeature;
public class BlockChunkloader extends AEBaseBlock implements LoadingCallback
{
public BlockChunkloader() {
super( BlockChunkloader.class, Material.iron );
2014-07-14 05:21:28 +02:00
setfeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
2014-01-20 17:41:37 +01:00
setTileEntiy( TileChunkLoader.class );
ForgeChunkManager.setForcedChunkLoadingCallback( AppEng.instance, this );
}
@Override
public void ticketsLoaded(List<Ticket> tickets, World world)
{
}
@Override
public void registerBlockIcons(IIconRegister iconRegistry)
{
registerNoIcons();
}
2014-01-20 17:41:37 +01:00
}