Skip to content

Instantly share code, notes, and snippets.

@Levertion
Last active February 21, 2018 20:59
Show Gist options
  • Save Levertion/7ea7e4618c32e371ec05febd1d717512 to your computer and use it in GitHub Desktop.
Save Levertion/7ea7e4618c32e371ec05febd1d717512 to your computer and use it in GitHub Desktop.
Preferable changes to exposed command data

Changes

  • resource_location: type of resource. Prevents having to hardcode based on path.
  • entity/bossbar parsers being stuffed under resource_location
  • execute run redirect - at the moment has to be done manually - Boo, hardcoding is bad.
  • minecraft:nbt is misnamed. It is really snbt
  • The current handling of choosing which entity to summon is anachronistic. The snbt should be following the name of the entity, not following the coordinates. Both block_state and item_stack (in give) have this, but not entities. Also, arguments after is no excuse - see /give count argument.
  • MrYurihi also suggested a different nbt type for each argument in data merge (which may or may not be needed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment