Jump to content

H_SerhatY

Members
  • Posts

    73
  • Joined

  • Last visited

Everything posted by H_SerhatY

  1. I don't work on that for 2 days. I make all of that in 2 days. And I have NO errors.
  2. https://github.com/HSerhatY/MoreStrenghtenedToolsMod/tree/master/com/H_SerhatY/MoreStrenghtenedToolsMod It's only thing I have in 2 days.
  3. Good idea. If you are know what are you making. You can understand me?
  4. Delete all of my threads and ban me, man. It's doesn't matters me. I really don't need this forum. If I want it, I'm wanting it. There is no other solution. You don't want understand me and you don't want to do this.
  5. .And I'm looking at that, there is NO solution???
  6. I want to make already enchanted items, and I say this in 3 topics, but nobody is helped to me. I really need it. I don't know anything about that. Please help.
  7. First one is for 1.11.2 and second one is not for 1.12.2
  8. Hello. 1- I need to make a crafting table this is only makes my mod items. 2- I need to make already enchanted items. How can I do that?
  9. I have tried all of tools(Sword, Axe, Pickaxe and Shovel) but it's don't works. But I think if anybody make a tool with that, it's doesn't need to enchant it
  10. I'm have an item set and this is the material of this set: public static final ToolMaterial MATERIAL_REINFORCED_EMERALD_MK4 = EnumHelper.addToolMaterial("material_reinforced_emerald_mk4", 219, 127544, 751.0F, 425.0F, 961); It's have a enchantability that's 961. And I can't enchant my item. When I try it, I'm taking a message in enchanting table "Limited Enchantability". What can I do?
  11. It's worked. Now I can continue with already enchanted items. I really need this one.
  12. This is my axe item: public static final ItemAxe REINFORCED_EMERALD_MK4_AXE = new ToolAxe("reinforced_emerald_mk4_axe", MATERIAL_REINFORCED_EMERALD_MK4); In there: new ToolAxe("reinforced_emerald_mk4_axe", MATERIAL_REINFORCED_EMERALD_MK4); It wants to add the n parameter to there or delete it from ToolAxe class.
  13. It's caused an error in ModItems class. And it's want to delete the n parameter.
  14. This code is sets all my axe's attack damage to 7. AND I DON'T WANT IT.
  15. I want to say this... public static final ToolMaterial MATERIAL_REINFORCED_EMERALD_MK4 = EnumHelper.addToolMaterial("material_reinforced_emerald_mk4", 219, 127544, 751.0F, 425.0F, 961); This is my tool material. In second FLOAT value, we're set an attack damage. It's set to 425.0F so my sword's attack damage is set to 429. And I want my axe's attack damage is set to 428. And another example: public static final ToolMaterial MATERIAL_REINFORCED_IRON_INGOT_MK4 = EnumHelper.addToolMaterial("material_reinforced_iron_ingot_mk4", 29, 3269, 76.0F, 72.0F, 184); This is my other tool material(I have a lot of this.). In second FLOAT value, we're set an attack damage. It's set to 72.0F so my sword's attack damage is set to 76. And I want my axe's attack damage is set to 75. Do you understand?
  16. No. For example, if I set n to 12, my tools' attack damage going to set like this; Sword: 15 Axe: 14(in previous versions, it's going to set like this.) Pickaxe: 13 Shovel: 12 I want to say this.
  17. Any value(in numbers).
  18. Hello. I'm making few tool sets. It is my ToolAxe class: package com.H_SerhatY.MoreStrenghtenedToolsMod.items.tools; import com.H_SerhatY.MoreStrenghtenedToolsMod.Main; import com.H_SerhatY.MoreStrenghtenedToolsMod.init.ModItems; import com.H_SerhatY.MoreStrenghtenedToolsMod.util.IHasModel; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.ItemAxe; public class ToolAxe extends ItemAxe implements IHasModel{ public ToolAxe(String name, ToolMaterial material) { super(material, 6.0F, -3.0F); setUnlocalizedName(name); setRegistryName(name); setCreativeTab(CreativeTabs.TOOLS); ModItems.ITEMS.add(this); } @Override public void registerModels() { Main.proxy.registerItemRenderer(this, 0, "inventory"); } } In the line: super(material, 6.0F, -3.0F); We need to use 2 float value. But I don't want to use values because these values sets all of my axes. I don't want it. I want this system: Sword: n+3 Axe: n+2 Pickaxe: n+1 Spade(Shovel): n How can I do it?
  19. I think I have a problem with comma. I forget it every time.
  20. This is the first code: { "type": "minecraft:crafting_shaped", "pattern": [ "LLL", "LLL" ], "key": { "L": { "item": "minecraft:dye" "data": 4 } }, "result": { "item": "mstm:lapis_ingot", "count": 1 } } This is the second code: { "type": "minecraft:crafting_shaped", "pattern": [ "WWW", "WWW", "WWW" ], "key": { "W": { "item": "minecraft:planks" "data": 0 } }, "result": { "item": "mstm:reinforced_wooden_planks_mk1", "count": 1 } }
  21. It gives another error. It's the error: [15:54:01] [main/ERROR] [FML]: Parsing error loading recipe mstm:lapis_ingot com.google.gson.JsonParseException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 10 column 14 path $.key.L.item at net.minecraft.util.JsonUtils.gsonDeserialize(JsonUtils.java:439) ~[JsonUtils.class:?] at net.minecraft.util.JsonUtils.fromJson(JsonUtils.java:485) ~[JsonUtils.class:?] at net.minecraftforge.common.crafting.CraftingHelper.lambda$loadRecipes$22(CraftingHelper.java:707) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.findFiles(CraftingHelper.java:821) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:667) ~[CraftingHelper.class:?] at java.util.ArrayList.forEach(Unknown Source) [?:1.8.0_181] at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:619) [CraftingHelper.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:329) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:581) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 10 column 14 path $.key.L.item at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[JsonReader.class:?] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:491) ~[JsonReader.class:?] at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:414) ~[JsonReader.class:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:738) ~[TypeAdapters$29.class:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[TypeAdapters$29.class:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[TypeAdapters$29.class:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) ~[TypeAdapters$29.class:?] at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:910) ~[TypeAdapters$35$1.class:?] at net.minecraft.util.JsonUtils.gsonDeserialize(JsonUtils.java:435) ~[JsonUtils.class:?] ... 23 more [15:54:01] [main/ERROR] [FML]: Parsing error loading recipe mstm:reinforced_wooden_planks_mk1 com.google.gson.JsonParseException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 11 column 14 path $.key.W.item at net.minecraft.util.JsonUtils.gsonDeserialize(JsonUtils.java:439) ~[JsonUtils.class:?] at net.minecraft.util.JsonUtils.fromJson(JsonUtils.java:485) ~[JsonUtils.class:?] at net.minecraftforge.common.crafting.CraftingHelper.lambda$loadRecipes$22(CraftingHelper.java:707) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.findFiles(CraftingHelper.java:821) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:667) ~[CraftingHelper.class:?] at java.util.ArrayList.forEach(Unknown Source) [?:1.8.0_181] at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:619) [CraftingHelper.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:329) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:581) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 11 column 14 path $.key.W.item at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[JsonReader.class:?] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:491) ~[JsonReader.class:?] at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:414) ~[JsonReader.class:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:738) ~[TypeAdapters$29.class:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[TypeAdapters$29.class:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[TypeAdapters$29.class:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) ~[TypeAdapters$29.class:?] at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:910) ~[TypeAdapters$35$1.class:?] at net.minecraft.util.JsonUtils.gsonDeserialize(JsonUtils.java:435) ~[JsonUtils.class:?] ... 23 more
  22. Okey, I will try it.
  23. I have 2 recipe that gives errors. First recipe: { "type": "minecraft:crafting_shaped", "pattern": [ "WWW", "WWW", "WWW" ], "key": { "W": { "item": "minecraft:planks" } }, "result": { "item": "mstm:reinforced_wooden_planks_mk1", "count": 1 } } First recipe's error: [15:30:21] [main/ERROR] [FML]: Parsing error loading recipe mstm:reinforced_wooden_planks_mk1 com.google.gson.JsonParseException: Missing data for item 'minecraft:planks' at net.minecraftforge.common.crafting.CraftingHelper.getItemStackBasic(CraftingHelper.java:262) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.lambda$init$16(CraftingHelper.java:536) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.getIngredient(CraftingHelper.java:201) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.lambda$init$14(CraftingHelper.java:473) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.getRecipe(CraftingHelper.java:408) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.lambda$loadRecipes$22(CraftingHelper.java:710) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.findFiles(CraftingHelper.java:821) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:667) ~[CraftingHelper.class:?] at java.util.ArrayList.forEach(Unknown Source) [?:1.8.0_181] at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:619) [CraftingHelper.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:329) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:581) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] Second recipe: { "type": "minecraft:crafting_shaped", "pattern": [ "LLL", "LLL" ], "key": { "L": { "item": "minecraft:lapis_lazuli" } }, "result": { "item": "mstm:lapis_ingot", "count": 1 } } Second recipe's error: [15:30:21] [main/ERROR] [FML]: Parsing error loading recipe mstm:lapis_ingot com.google.gson.JsonSyntaxException: Unknown item 'minecraft:lapis_lazuli' at net.minecraftforge.common.crafting.CraftingHelper.getItemStackBasic(CraftingHelper.java:259) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.lambda$init$16(CraftingHelper.java:536) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.getIngredient(CraftingHelper.java:201) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.lambda$init$14(CraftingHelper.java:473) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.getRecipe(CraftingHelper.java:408) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.lambda$loadRecipes$22(CraftingHelper.java:710) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.findFiles(CraftingHelper.java:821) ~[CraftingHelper.class:?] at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:667) ~[CraftingHelper.class:?] at java.util.ArrayList.forEach(Unknown Source) [?:1.8.0_181] at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:619) [CraftingHelper.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:742) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:329) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:581) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] What can I do for this errors?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.