on place of pumpkin: if block below event-block is netherrack: if block 2 meters below event-block is gold block: if block 1 north below event-block is coal block: if block 1 south below event-block is coal block: if block 2 meters north below event-block is coal block: if block 2 meters south below event-block is coal block: spawn chicken above event-block strike lightning at last spawned entity set event-block to air set block below event-block to air set block 2 meters below event-block to air set block 1 north below event-block to air set block 2 meters north below event-block to air set block 1 south below event-block to air set block 2 meters south below event-block to air spawn 1 wither skeleton below event-block set the name of last spawned entity to "&4BOSS" else if block 1 east below event-block is coal block: if block 1 west below event-block is coal block: if block 2 meters east below event-block is coal block: if block 2 meters west below event-block is coal block: spawn chicken above event-block strike lightning at last spawned entity set event-block to air set block below event-block to air set block 2 meters below event-block to air set block 1 east below event-block to air set block 2 meters east below event-block to air set block 1 west below event-block to air set block 2 meters west below event-block to air spawn 1 wither skeleton below event-block set the name of last spawned entity to "&4BOSS"