How do commands work in Bedrock edition?
I have done a lot of research on a command to summon a horse with specific attributes (increased health, etc.) but it all is in Java. To me, the Java commands make a lot of sense but the Bedrock commands don't. This is the command I'm trying to execute (it's in Java):
/summon EntityHorse ~ ~ ~ {Tame:1,Variant:9,Attributes:[{Name:generic.movementSpeed,Base:2},{Name:horse.jumpStrength,Base:7}]},{Health:25.0f},{Invulnerable:1}
Can anyone help my confusion and describe/give examples of how to include tags/modify entities in bedrock edition?
I guess what I'm asking is for an example of how to translate a Java command to a Bedrock command. For instance, if I have the bedrock command:
/summon <entityType: EntityType> [spawnPos: x y z] [spawnEvent: string] [nameTag: string]
Which parts of that general structure correspond with my previous command above?
I'm wondering stuff like: 1) What is a spawnEvent
? 2) What is the nameTag
?
The Java commands are relatively straight forward:
Q: Need a different attribute?
A: Use {}
, etc.
I think that most of it is improper formatting; how are the Bedrock commands formatted compared to the Java commands?
After some more research and personal experimentation, I have concluded that the Bedrock command coding is just not as sophisticated as in the Java edition. Thus, I believe I/we will just have to wait for future updates. I come to this conclusion because, as shown in https://www.digminecraft.com/spawn_events/horse.php, there are very limited coloring/attribute tags. Plus, if you try to spawn a horse that is both black and tame using the command:
/summon horse ~ ~1 ~ minecraft:make_black minecraft:on_tame
You just get a black horse whose name is: "minecraft:on_tame"
If you try separating the two attributes with a comma:
/summon horse ~ ~1 ~ minecraft:make_black,minecraft:on_tame
You just get an error message about how it expects whitespace where the comma is.
Thus I conclude that Minecraft Bedrock edition version 1.16.1 is just not capable of the desired command yet.