3
I'm trying to make an unpickable item but when I summon it I instantly pick it up like when you use /give, I've never used a command like this before so I dont know why it's not working, anyone knows what I'm doing wrong?
The command I'm using is:
/summon minecraft:item ~ ~ ~ {Item:{id:"torch",Count:1b,tag:{Age:-32768,PickupDelay:32767}}}
idk if Age works because I keep picking the item up btw
I'm playing vanilla Minecraft on version 1.16.5 in a singleplayer world
And second question: what does "1b" mean in the command above? "1" also works the same way but in the wiki they put "1b" instead so I changed it but I dont know what that b means
The command I'm using is:
/summon minecraft:item ~ ~ ~ {Item:{id:"torch",Count:1b,tag:{Age:-32768,PickupDelay:32767}}}
idk if Age works because I keep picking the item up btw
I'm playing vanilla Minecraft on version 1.16.5 in a singleplayer world
And second question: what does "1b" mean in the command above? "1" also works the same way but in the wiki they put "1b" instead so I changed it but I dont know what that b means
7 replies
2
summon item ~ ~ ~ {Age:-32768,PickupDelay:32767,Item:{id:"minecraft:torch",Count:1b}}
The little letter after a data tag value has to do with what kind it is, for instance, b stands for "byte", where f is for "float". Sometimes the commands need them in order to work..
The little letter after a data tag value has to do with what kind it is, for instance, b stands for "byte", where f is for "float". Sometimes the commands need them in order to work..
1
Thank you! it works fine now!
but I still don't get the difference between "1", "1b" and "1f", what makes "byte" different from "float" and why does this command still work without the letter? I actually don't need to know this but I'm curious
btw I have a different question and was gonna make a new forum post about it but I guess I can ask you first and if you know how to help me with this too I won't need to make another forum, is there any way to rotate a falling block like normal stairs? The only answer I found for this was posted 5 years ago and apparently no longer works
but I still don't get the difference between "1", "1b" and "1f", what makes "byte" different from "float" and why does this command still work without the letter? I actually don't need to know this but I'm curious
btw I have a different question and was gonna make a new forum post about it but I guess I can ask you first and if you know how to help me with this too I won't need to make another forum, is there any way to rotate a falling block like normal stairs? The only answer I found for this was posted 5 years ago and apparently no longer works
2
I too am confused over the TAG definitions. You can read more about them at minecraft.gamepedia.com/NBT_format
Answering you're other question.
Depends on the block. Blocks that have "facing" property can be changed.
Stairs facing north: summon falling_block ~ ~ ~ {BlockState:{Name:"minecraft:acacia_stairs",Properties:{facing:"north"}},Time:1}
Dispenser facing up: summon falling_block ~ ~ ~ {BlockState:{Name:"minecraft:dispenser",Properties:{facing:"up"}},Time:1}
Blocks like dirt don't have this facing property.
Answering you're other question.
Depends on the block. Blocks that have "facing" property can be changed.
Stairs facing north: summon falling_block ~ ~ ~ {BlockState:{Name:"minecraft:acacia_stairs",Properties:{facing:"north"}},Time:1}
Dispenser facing up: summon falling_block ~ ~ ~ {BlockState:{Name:"minecraft:dispenser",Properties:{facing:"up"}},Time:1}
Blocks like dirt don't have this facing property.
1
ok, thanks a lot!
btw last question lol, if the block Im using is a trapdoor is there any way to make it look like it's open or closed?
btw last question lol, if the block Im using is a trapdoor is there any way to make it look like it's open or closed?
1
no one?