You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FR] Implement Custom Item Stacks for Plugin Mode #280
Implement custom item stacks for plugin mode only, without adding component parsing. Invalid item name and format should still be marked as such.
Marked as valid:
minecraft:wooden_axe
minecraft:wooden_axe[]wooden_axewooden_axe[]wooden_axe[hide_tooltip={},custom_model_data=12,tool={default_mining_speed:2.0,damage_per_block:0}]wooden_axe[blabladujdejduied!!!?:::@@@]// no component parsing
Marked as invalid:
emerald_axe[hide_tooltip={}]// invalid itemwooden_axe[// invalid formatwooden_axe]// invalid format
Alternatively, we could implement more robust component format validation. However, I'm not sure whether this is worth the trouble. Let me know what you think.
Marked as valid:
minecraft:wooden_axe
minecraft:wooden_axe[]wooden_axewooden_axe[]wooden_axe[hide_tooltip={},custom_model_data=12,tool={default_mining_speed:2.0,damage_per_block:0}]wooden_axe[hide_tooltip=3]// no concrete component parsing; valid as long as the format is correctwooden_axe[this_field_is_made_up=3]// same as above
Activity
Dearliet commentedon Aug 22, 2024
Alternatively, we could implement more robust component format validation. However, I'm not sure whether this is worth the trouble. Let me know what you think.
Marked as valid:
Marked as invalid: