I would love to do that, but my mod would be incompatible with infiniteinvo mod. Why? What he does is, when the inventory button is pressed, open a brand new inventory instead of the vanilla one. With this, if I did the same, the game would get confused and crash. I will be adding some custom tabs to the vanilla inventory, so you can select my inventory without affecting mods like infiniteinvo.
Well, considering my mod adds weight and not expanded inventory (at the moment), it wouldn't work too well. I would love to directly modify the player inventory, but in doing that my mod would become incompatible with every other mod.
Very good ideas, however I do not plan to add inventory slots to the backpacks at the moment. A LOT of mods do this, and while it is a good idea, I want my backpacks to affect my player's separately. Thank you for the suggestions!
What you're attempting to do is a basic functionality of Java itself. I started programming with Minecraft mods by looking up every tutorial I could on YouTube, and looking through the Minecraft forge docs. ScratchForFun has a very good series on Minecraft modding, but it will take a good few years to understand how most of Minecraft works. I feel I am too familiar with Java, so I do not understand how it feels to first be learning it, so for that I am very sorry. Just search YouTube for some modding tutorials, and look up the Java stuff you want to research. A lot of my trouble came with things called Vector3's. I never could quite understand what they did until I got into game development, which explained a lot. If you're interested in that, a Vector3 is a 3D point in space (x, y, z), BUT it can also hold the rotation, and scale of an object. Whenever you see something like "Vector3.normalize", this means they are retrieving the rotation of the object, and not the position. Anyway, try just starting a project and setting a bunch of completely outrageous goals for it, then try to achieve them. If you can't, you still learned a whole lot about how that certain aspect works, and solved a lot of problems. Goodluck!
It's very simple actually. What you want to do is literally BASIC Java: create the stack, enchant the stack, give the stack. I gave you the proper code to complete your task, and you didn't use it. Don't blame Java, blame yourself for not looking into it more.
Currently working on the next update which will include some extra toggles, hunger mechanics, and some general fixes. I am also working on downgrading the mod to 1.8.0, and possibly 1.7.10. I do apologize if it takes a bit long for the next version to be released, as I am working on a few other projects. Keep enjoying the mod!
I was thinking about just having the player stop, but I believe that would make it a bit too difficult. I might add a toggle for that in the next update though.
What is this? You can't just call a void method that enchants a stack, and expect it to do something. You have to create the stack within the #currentItemAndArmor, then return that stack. If you're going to start modding, please get familiar with Java.
i would say just stick to 1.8 if you are going to do it and add in any new features plus bug fixes and tweaks. It doesn't really make sense to spend a lot of time making too many versions when you can make one or two versions really great.
That really depends. I prefer to create mods for people's enjoyment, which would include making a it in some earlier versions so everyone can play it. I would expect with 1.8 being out for so long, most mods would have updated. But I guess some refuse to embrace the change within the code. I will be releasing an update in the next week with some huger mechanics changed, FOV toggles, tooltip changes, and a downgrade to 1.8.0. If I have to time before the next version's release, I will port it over to 1.7.10 for all you oldies out there.
1.7.10 is a very far downgrade from 1.8 considering the overwhelming amount of code changes. But, I will consider this after I finish the downgrade to 1.8.0.
I am actually working on decreasing hunger faster with the more weight you have. I was thinking to perhaps have an enchantment that would allow you to use up stamina to walk at a normal speed when over-encumbered. I've never heard of Vanilla IMO, could you direct me to it?
2
I would love to do that, but my mod would be incompatible with infiniteinvo mod. Why? What he does is, when the inventory button is pressed, open a brand new inventory instead of the vanilla one. With this, if I did the same, the game would get confused and crash. I will be adding some custom tabs to the vanilla inventory, so you can select my inventory without affecting mods like infiniteinvo.
0
Well, considering my mod adds weight and not expanded inventory (at the moment), it wouldn't work too well. I would love to directly modify the player inventory, but in doing that my mod would become incompatible with every other mod.
0
Very good ideas, however I do not plan to add inventory slots to the backpacks at the moment. A LOT of mods do this, and while it is a good idea, I want my backpacks to affect my player's separately. Thank you for the suggestions!
0
What you're attempting to do is a basic functionality of Java itself. I started programming with Minecraft mods by looking up every tutorial I could on YouTube, and looking through the Minecraft forge docs. ScratchForFun has a very good series on Minecraft modding, but it will take a good few years to understand how most of Minecraft works. I feel I am too familiar with Java, so I do not understand how it feels to first be learning it, so for that I am very sorry. Just search YouTube for some modding tutorials, and look up the Java stuff you want to research. A lot of my trouble came with things called Vector3's. I never could quite understand what they did until I got into game development, which explained a lot. If you're interested in that, a Vector3 is a 3D point in space (x, y, z), BUT it can also hold the rotation, and scale of an object. Whenever you see something like "Vector3.normalize", this means they are retrieving the rotation of the object, and not the position. Anyway, try just starting a project and setting a bunch of completely outrageous goals for it, then try to achieve them. If you can't, you still learned a whole lot about how that certain aspect works, and solved a lot of problems. Goodluck!
0
It's very simple actually. What you want to do is literally BASIC Java: create the stack, enchant the stack, give the stack. I gave you the proper code to complete your task, and you didn't use it. Don't blame Java, blame yourself for not looking into it more.
0
I can't say anything just yet.
1
Currently working on the next update which will include some extra toggles, hunger mechanics, and some general fixes. I am also working on downgrading the mod to 1.8.0, and possibly 1.7.10. I do apologize if it takes a bit long for the next version to be released, as I am working on a few other projects. Keep enjoying the mod!
0
I was thinking about just having the player stop, but I believe that would make it a bit too difficult. I might add a toggle for that in the next update though.
0
What is this? You can't just call a void method that enchants a stack, and expect it to do something. You have to create the stack within the #currentItemAndArmor, then return that stack. If you're going to start modding, please get familiar with Java.
0
Please, show how you're doing it. This worked just fine for me.
0
Very close. Basically, do something like this:
Not sure if ItemStack has the addEnchantment method, but you get the gist of it.
1
No problem man, thank you for letting me know people still want mods for 1.7.10.
That really depends. I prefer to create mods for people's enjoyment, which would include making a it in some earlier versions so everyone can play it. I would expect with 1.8 being out for so long, most mods would have updated. But I guess some refuse to embrace the change within the code. I will be releasing an update in the next week with some huger mechanics changed, FOV toggles, tooltip changes, and a downgrade to 1.8.0. If I have to time before the next version's release, I will port it over to 1.7.10 for all you oldies out there.
0
1.7.10 is a very far downgrade from 1.8 considering the overwhelming amount of code changes. But, I will consider this after I finish the downgrade to 1.8.0.
0
Oh wow, I forgot "IMO" meant "in my opinion" so, I thought it was a mod.
0
I am actually working on decreasing hunger faster with the more weight you have. I was thinking to perhaps have an enchantment that would allow you to use up stamina to walk at a normal speed when over-encumbered. I've never heard of Vanilla IMO, could you direct me to it?