Skip to content

Instantly share code, notes, and snippets.

@misode
Created September 11, 2024 18:14
Show Gist options
  • Save misode/b79f7bf07a4af2dd2e79aebb1e8d25ca to your computer and use it in GitHub Desktop.
Save misode/b79f7bf07a4af2dd2e79aebb1e8d25ca to your computer and use it in GitHub Desktop.
  1. Add a walking_slowdown field to consumable to control the amount of slowdown while consuming the item.
  2. Add a slots field to death_protection to control when the protection is active.
  3. Add a consume_on_use (boolean) field to death_protection to control whether the item is consumed or not.
  4. Also allow individually choosing which attribute modifier is shown in the tooltip.
  5. Also allow individually choosing which enchantment is shown in the tooltip, either through the component or through the enchantment definition.
  6. Make it possible to define a fallback model for item_model, for example using item_model={model:"foo",fallback:"bar"}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment