Open n-noguchi opened 5 years ago
minecraft1.12でのアイテム登録方法を確認
現在のソース
GameRegistry.registerItem(egg, egg.getUnlocalizedName().substring(5)); GameRegistry.registerItem(unko, unko.getUnlocalizedName().substring(5)); GameRegistry.registerItem(brush, brush.getUnlocalizedName().substring(5)); GameRegistry.registerItem(furball, furball.getUnlocalizedName().substring(5)); GameRegistry.registerItem(feather_toy, feather_toy.getUnlocalizedName().substring(5));
アイテム登録方法についてのフォーラム http://www.minecraftforge.net/forum/topic/59195-112-minecraft-creating-and-registering-items-and-blocks/
仕様 https://mcforge.readthedocs.io/en/latest/concepts/registries/
サンプル https://github.com/Choonster-Minecraft-Mods/TestMod3/blob/1.12/src/main/java/choonster/testmod3/init/ModItems.java#L165-L237
minecraft1.12でのアイテム登録方法を確認
現在のソース