Commit 18b36ebe authored by Bailey's avatar Bailey 🚟

Decreased the amount of light the helmet gives off, and reduced the amount of...

Decreased the amount of light the helmet gives off, and reduced the amount of times the helmet checks for updates
parent 804077af
......@@ -30,7 +30,7 @@ public class MiningHelmetEvents
{
LivingEntity entity = event.getEntityLiving();
if (!entity.world.isRemote)
if (entity.world.isRemote && entity.ticksExisted % 2 == 0)
{
ItemStack headSlot = entity.getItemStackFromSlot(EquipmentSlotType.HEAD);
......
......@@ -21,7 +21,7 @@ public class MiningHelmetRegistry
{
public static final Item MINING_HELMET = new MiningHelmetItem(HelmetArmorMaterial.IRON, EquipmentSlotType.HEAD, new Item.Properties().group(ItemGroup.COMBAT));
public static final Block LIGHT_AIR = new LightAirBlock(Block.Properties.from(Blocks.AIR).lightValue(15));
public static final Block LIGHT_AIR = new LightAirBlock(Block.Properties.from(Blocks.AIR).lightValue(12));
@SubscribeEvent
public static void onRegisterItems(Register<Item> event)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment