mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 19:58:34 +01:00
add hardness to the lamp, closes #15
This commit is contained in:
parent
c4afd8b229
commit
7ea9fa1416
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@ import de.ellpeck.naturesaura.api.aura.chunk.IAuraChunk;
|
|||
import de.ellpeck.naturesaura.blocks.tiles.TileEntitySpawnLamp;
|
||||
import de.ellpeck.naturesaura.packet.PacketHandler;
|
||||
import de.ellpeck.naturesaura.packet.PacketParticles;
|
||||
import net.minecraft.block.SoundType;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.BlockFaceShape;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
|
@ -30,6 +31,8 @@ public class BlockSpawnLamp extends BlockContainerImpl {
|
|||
super(Material.IRON, "spawn_lamp", TileEntitySpawnLamp.class, "spawn_lamp");
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
this.setLightLevel(1F);
|
||||
this.setSoundType(SoundType.METAL);
|
||||
this.setHardness(3F);
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
|
|
Loading…
Reference in a new issue