mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
45 lines
921 B
Java
45 lines
921 B
Java
package com.hbm.blocks.machine;
|
|
|
|
import com.hbm.interfaces.IItemHazard;
|
|
import com.hbm.modules.ItemHazardModule;
|
|
import com.hbm.tileentity.machine.TileEntityDemonLamp;
|
|
|
|
import net.minecraft.block.BlockContainer;
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.tileentity.TileEntity;
|
|
import net.minecraft.world.World;
|
|
|
|
public class DemonLamp extends BlockContainer implements IItemHazard {
|
|
|
|
ItemHazardModule module;
|
|
|
|
public DemonLamp() {
|
|
super(Material.iron);
|
|
this.module = new ItemHazardModule();
|
|
}
|
|
|
|
@Override
|
|
public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) {
|
|
return new TileEntityDemonLamp();
|
|
}
|
|
|
|
@Override
|
|
public ItemHazardModule getModule() {
|
|
return module;
|
|
}
|
|
|
|
@Override
|
|
public int getRenderType(){
|
|
return -1;
|
|
}
|
|
|
|
@Override
|
|
public boolean isOpaqueCube() {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public boolean renderAsNormalBlock() {
|
|
return false;
|
|
}
|
|
} |