330: Fireflies in a jar as a light source. [Minecraft Map Making]

Опубликовано: 03 Март 2026
на канале: Infernal Device
687
19

Ep330: Making a jar with some fireflies in it to give off a little light.

Version: 1.19.4

Inpsired by Episode 327: Will o the Wisp:    • 327: Updated: Will o the wisp that leads p...  

Using CloudWolf's Homing missle command:    • Homing Missiles in Minecraft  

Commands, builds and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel:    / coppitj  

Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord:   / discord  

The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.

Since angled brackets are not allowed in YouTube descriptions you will have to replace "greater than" with the appropriate angled bracket. Ascii code: 62

Commands used:

Create Jar:
IUN: summon block_display ~ ~ ~3 {Tags:["jar","base"], Passengers:[{Tags:["jar"], id:"item_display",item:{id:"glass",Count:1},
transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,-0.075f,0f],scale:[0.6f,0.85f,0.6f]}},{Tags:["jar"], id:"item_display",item:{id:"spruce_log",Count:1},
transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0.425f,0f],scale:[0.3f,0.15f,0.3f]}}]}
CUA: setblock 58 56 -9946 barrier
CUA: summon marker 58 56.35 -9946 {Tags:["jar","origin"]}
CUA: summon marker 58 56.35 -9946.2 {Tags:["jar","fly","fly1"]}
CUA: summon marker 58 56.6 -9946 {Tags:["jar","fly","fly2"]}
CUA: setblock 58 57 -9946 light[level=9]

Remove Jar:
IUN: kill @e[tag=jar]
CUA: fill 58 56 -9946 58 57 -9946 air

Controller:
RUA: execute at @e[tag=fly1] run particle dust_color_transition 0 1 0 0.4 1 1 1 ~ ~ ~ 0.01 0.01 0.01 0 5
CUA: execute at @e[tag=fly2] run particle dust_color_transition 0.8 0.9 0 0.4 1 1 1 ~ ~ ~ 0.01 0.01 0.01 0 5
CUA: execute as @e[tag=fly] at @s facing entity @e[tag=origin,sort=nearest,limit=1] eyes positioned ^ ^ ^2 rotated as @s positioned ^ ^ ^6 facing entity @s eyes facing ^ ^ ^-1 positioned as @s run tp @s ^ ^ ^0.05 ~ ~

Give Egg Place Jar:
IUN: give @p slime_spawn_egg{display:{Name:'{"text":"Place Jar"}'}, EntityTag:{id:"minecraft:marker", Tags:["jar_place"]}}

Give Egg Remove Jar:
IUN: give @p strider_spawn_egg{display:{Name:'{"text":"Remove Jar"}'}, EntityTag:{id:"minecraft:marker", Tags:["jar_remove"]}}

Controller Place:
RUA: execute at @e[tag=jar_place] run summon block_display ~ ~0.5 ~ {Tags:["jar","base"], Passengers:[{Tags:["jar"], id:"item_display",item:{id:"glass",Count:1},
transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,-0.075f,0f],scale:[0.6f,0.85f,0.6f]}},{Tags:["jar"], id:"item_display",item:{id:"spruce_log",Count:1},
transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0.425f,0f],scale:[0.3f,0.15f,0.3f]}}]}
CUA: execute at @e[tag=jar_place] run setblock ~ ~ ~ barrier
CUA: execute at @e[tag=jar_place] run summon marker ~ ~0.35 ~ {Tags:["jar","origin"]}
CUA: execute at @e[tag=jar_place] run summon marker ~ ~0.35 ~-0.2 {Tags:["jar","fly","fly1"]}
CUA: execute at @e[tag=jar_place] run summon marker ~ ~0.6 ~ {Tags:["jar","fly","fly2"]}
CUA: execute at @e[tag=jar_place] run setblock ~ ~ ~ light[level=9]
CUA: kill @e[tag=jar_place]

Controller Remove:
RUA: execute at @e[tag=jar_remove] at @e[tag=base, sort=nearest, limit=1, distance=0..2] run fill ~ ~ ~ ~ ~1 ~ air
CUA: execute at @e[tag=jar_remove] at @e[tag=base, sort=nearest, limit=1, distance=0..2] run kill @e[tag=jar, sort=nearest, limit=6]
CUA: kill @e[tag=jar_remove]