225: Floor enchanting. [Minecraft Map Making]
Ep225: Enchanting an item by throwing it on the floor next to an enchanted book.
Java Version: 1.19.4
BDStudio: https://eszesbalint.github.io/bdstudio/editor
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ
Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/amU84KykEu
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:
Setup:
IUN: scoreboard objectives add dropped.book dropped:enchanted_book
CUA: scoreboard objectives add enchanted dummy
Give item:
IUN: give @p netherite_sword{enchantable:true}
Give books:
IUN: give @p enchanted_book{StoredEnchantments:[{id:"minecraft:mending",lvl:1s}]}
CUA: give @p enchanted_book{StoredEnchantments:[{id:"minecraft:unbreaking",lvl:1s}]}
Controller [Original]:
RUA: execute at @a[scores={dropped.book=1..},limit=1] as @e[type=item,nbt={OnGround:true,Item:{tag:{enchantable:true}}},limit=1,distance=..6] at @s
store success score @s enchanted
store success entity @s Motion[1] double 0.25
store success entity @e[type=item,nbt={Item:{id:"minecraft:enchanted_book"}},distance=..0.5,limit=1] Age short 6000
run data modify entity @s Item.tag.Enchantments set from entity @e[type=item,nbt={Item:{id:"minecraft:enchanted_book"}},distance=..0.5,limit=1] Item.tag.StoredEnchantments
CUA: execute at @a[scores={dropped.book=1..},limit=1] at @e[type=item,scores={enchanted=1},distance=..6] run particle smoke ~ ~.2 ~ 0.2 0.2 0.2 0 10 normal
CUA: execute at @a[scores={dropped.book=1..},limit=1] at @e[type=item,scores={enchanted=1},distance=..6] run playsound block.amethyst_block.break master @a
CUA: execute at @a[scores={dropped.book=1..},limit=1] run scoreboard players reset @e[type=item,scores={enchanted=1},distance=..6] enchanted
CUA: scoreboard players add @a[scores={dropped.book=1..}] dropped.book 1
CUA: scoreboard players reset @a[scores={dropped.book=600..}] dropped.book
Controller [Modified]:
RUA: execute at @a[scores={dropped.book=1..},limit=1] as @e[type=item,nbt={OnGround:true,Item:{tag:{enchantable:true}}},limit=1,distance=..6] at @s
store success score @s enchanted
store success entity @e[type=item,nbt={Item:{id:"minecraft:enchanted_book"}},distance=..0.5,limit=1] Age short 6000
run data modify entity @s Item.tag.Enchantments set from entity @e[type=item,nbt={Item:{id:"minecraft:enchanted_book"}},distance=..0.5,limit=1] Item.tag.StoredEnchantments
CUA: execute at @a[scores={dropped.book=1..},limit=1] at @e[type=item,scores={enchanted=1},distance=..6] run particle smoke ~ ~.2 ~ 0.2 0.2 0.2 0 10 normal
CUA: execute at @a[scores={dropped.book=1..},limit=1] at @e[type=item,scores={enchanted=1},distance=..6] run playsound block.amethyst_block.break master @a
CUA: data modify entity @e[type=item,scores={enchanted=1..},limit=1] Motion[1] set value 0.25
CUA: execute at @a[scores={dropped.book=1..},limit=1] run scoreboard players reset @e[type=item,scores={enchanted=1},distance=..6] enchanted
CUA: scoreboard players add @a[scores={dropped.book=1..}] dropped.book 1
CUA: scoreboard players reset @a[scores={dropped.book=600..}] dropped.book
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 181,722 views spread across 860 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.