Minecraft Data Packs / Adventure

Miner helmet/Portable lantern

  • check_circle Functions
  • check_circle Predicates
  • 1,343 views, 1 today
  • 49 downloads, 0 today
  • 4
  • 2
sch233's Avatar sch233
Level 7 : Apprentice Miner
0
use

You can carry a lantern to provide lighting, and carry a soul lantern to provide extra underwater lighting

You can also attach them to an iron helmet to free up your hands

Crossing a few weeds or obstacles will not extinguish the light

Miner helmet/Portable lantern Minecraft Data Pack

Both types of lanterns provide illumination up to 15 levels

the only difference between them is whether they provide underwater illumination

It works by placing the light block. No mods required.

The following blocks near the player will be replaced, and the original state is restored when the player leaves
  • air
  • cave_air
  • void_air
  • structure_void
  • water[​level=0]
  • light
When only holding or equipped with ordinary lanterns, it will only provide lighting when the player’s `Air` is full

Miner helmet/Portable lantern Minecraft Data Pack

make

You can hold the lantern directly, but you can also attach it to an iron helmet:

Put a lantern and any iron helmet in your hands and press F (the helmet is in the offhand), you'll get a helmet with a special enchantment

It does not change the original enchantments and other special NBT

It looks like this:
Miner helmet/Portable lantern Minecraft Data Pack
disassemble

Put a stick and a helmet in your hands and press F (the helmet is in the offhand), it will cost a stick

compatibility
  • This datapack works only on Minecraft 1.17 Java Edition or newer version.
  • The `0 0` chunk of `overworld` was force loaded
  • Namespaces `s3` and `mh` are used on scoreboards and entity tags
the summoned entities:

temp: area_effect_cloud with tag `mh.light`
global: armor_stand at forceloaded chunk with tag `s3.world_armor_stand`

scoreboard objectives add tmp dummy
scoreboard objectives add int dummy
scoreboard objectives add mh.ready_normal dummy
scoreboard objectives add mh.ready_soul dummy
scoreboard objectives add mh.ready_sep dummy
scoreboard objectives add mh.light_type dummy
CompatibilityMinecraft 1.17
toMinecraft 1.19
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome