457: Count free inventory slots [Minecraft Map Making]

Subscribers:
3,930
Published on ● Video Link: https://www.youtube.com/watch?v=bjgsZbvQ46I



Minecraft
Game:
Minecraft (2011)
Duration: 0:00
170 views
9


Membership:

Ep457: Count the number of used and free slots in the players inventory.

00:00 Intro
00:40 Setup
01:05 Count used slots
02:05 Count free slots

Version: 1.21

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

Check out my collabs on Coppit's channel:

The Discord server I am usually on: 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.

Commands used:

Summon:
IUN: summon minecraft:item_display x y.5 z {Tags:["my_display"]}

Remove:
IUN: kill @n[type=minecraft:item_display, tag=my_display]

Copy:
IUN: loot replace entity @n[type=minecraft:item_display] container.0 mine x y z minecraft:shears[enchantments={"minecraft:silk_touch":1}]







Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 182,977 views spread across 869 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.