{"action":"created","issue":{"url":"https://api.github.com/repos/Chicken-Bones/NotEnoughItems/issues/270","labels_url":"https://api.github.com/repos/Chicken-Bones/NotEnoughItems/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/Chicken-Bones/NotEnoughItems/issues/270/comments","events_url":"https://api.github.com/repos/Chicken-Bones/NotEnoughItems/issues/270/events","html_url":"https://github.com/Chicken-Bones/NotEnoughItems/issues/270","id":104063738,"number":270,"title":"[1.8 API Request] Add new variant of existing Item","user":{"login":"Choonster","id":878073,"avatar_url":"https://avatars.githubusercontent.com/u/878073?v=3","gravatar_id":"","url":"https://api.github.com/users/Choonster","html_url":"https://github.com/Choonster","followers_url":"https://api.github.com/users/Choonster/followers","following_url":"https://api.github.com/users/Choonster/following{/other_user}","gists_url":"https://api.github.com/users/Choonster/gists{/gist_id}","starred_url":"https://api.github.com/users/Choonster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Choonster/subscriptions","organizations_url":"https://api.github.com/users/Choonster/orgs","repos_url":"https://api.github.com/users/Choonster/repos","events_url":"https://api.github.com/users/Choonster/events{/privacy}","received_events_url":"https://api.github.com/users/Choonster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-31T14:25:24Z","updated_at":"2015-08-31T14:56:28Z","closed_at":null,"body":"My [test mod](https://github.com/Choonster/TestMod3) creates an upgraded version of the vanilla Stone Sword ([implementation](https://github.com/Choonster/TestMod3/blob/master/src/main/java/com/choonster/testmod3/util/SwordUpgrades.java)) using the AttributeModifier system (so it's the same `Item` with some custom NBT) and adds this to its creative tab.\r\n\r\nHowever, NEI ignores this variant of the Stone Sword and adding it with `API.addItemListEntry` replaces the default Stone Sword entry.\r\n\r\nWould it be possible to implement a way to add a new variant of an existing `Item` without overwriting the default entries for it?"},"comment":{"url":"https://api.github.com/repos/Chicken-Bones/NotEnoughItems/issues/comments/136397363","html_url":"https://github.com/Chicken-Bones/NotEnoughItems/issues/270#issuecomment-136397363","issue_url":"https://api.github.com/repos/Chicken-Bones/NotEnoughItems/issues/270","id":136397363,"user":{"login":"Chicken-Bones","id":388233,"avatar_url":"https://avatars.githubusercontent.com/u/388233?v=3","gravatar_id":"","url":"https://api.github.com/users/Chicken-Bones","html_url":"https://github.com/Chicken-Bones","followers_url":"https://api.github.com/users/Chicken-Bones/followers","following_url":"https://api.github.com/users/Chicken-Bones/following{/other_user}","gists_url":"https://api.github.com/users/Chicken-Bones/gists{/gist_id}","starred_url":"https://api.github.com/users/Chicken-Bones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chicken-Bones/subscriptions","organizations_url":"https://api.github.com/users/Chicken-Bones/orgs","repos_url":"https://api.github.com/users/Chicken-Bones/repos","events_url":"https://api.github.com/users/Chicken-Bones/events{/privacy}","received_events_url":"https://api.github.com/users/Chicken-Bones/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T14:56:28Z","updated_at":"2015-08-31T14:56:28Z","body":"The only difficulty I can see would be the default ordering in the items list. You specifically want to add variants of existing items, but they're not returned by the item's getSubItems method, and you don't want to override the entire list for that item"}}