Everything posted by akdubh
-
[1.11.2] Mod path
thank you! It's late now, ill try to implement tomorrow and post here to be sure it's right, also sorry for uploading photos. GN (in here)
-
[1.11.2] Mod path
I'm sorry if i was unclear, I'll explain: i uploaded the code, i want to access the file from ItemMap.java, right now i'm using absolute path, but only as a temporary solution. If i give it relative path It outputs: java.io.FileNotFoundException. (uploded another photo of what I'm trying to do). do you mean akdubh.WITI (name.modname)? I'm not sure myself but i attached a picture of the client and i think it's how i launch the mod (not directly ofc), so where should I put them (or how should I launch o/w?) I'm asking if there needs to be packages (akdubh.WITI - name.modname) between src/main/resources to the minecraft.csv like in src/main/java You can see the tree in the picture i added to the the original question, I used the scripts inside of it to make resources for the mod (minecraft.csv). The script themselves aren't a part of the mod but a tool for it. Thanks! I'm hoping I am clearer (as you may have guessed English isn't my mother tongue and even though i understand and talk i barely write and it shows). If I'm still confusing tell me and thank you!
-
[1.11.2] Mod path
HI, i am not sure how to arrange my mod or if i did arranged it correctly (and now it's more important because i want to connect it to git). 1. I have data in minecraft.csv bu ti cant seem to make relative path work, how can i make it work (I'm accessing it from ItemMap.java) 2. I'm not sure if WITI_Cleint.luanch or WITI_Cleint.luanch should be there, where should they be? 3. Did i build the resources correctly without putting akdubh.WITI in there? 4. I have in the folder util a file that collects data but isn't relevant to the mod distributions etc. itself, where should i put it? 5. and lastly, as I said i wish to connect it to git, to what folder should I (and where should I put the git ignore)? I know It's allot of questions, It's my first mod and I'm appriciting the help in the forum. Many thanks! akdubh
-
[1.11.2] How to add and change tooltip of an exsistin item?
It worked! but i still have a question, where should i call MinecraftForge.EVENT_BUS.register(new EventHandler()); ?
-
[1.11.2] How to add and change tooltip of an exsistin item?
thanks! it's very late so ill try tomorrow, ill post my followup / questions here tomorrow. It's my first try at doing something like that so thank you for your help!
-
[1.11.2] How to add and change tooltip of an exsistin item?
Can you please elaborate? From my understanding ItemTooltipEvent is used to determine if the player has toggeed the option to check if advanced information is being shown. Am i missing something? how do i need to use it to do it? Is there another way? thanks, akdubh forgeevents.html
-
[1.11.2] How to add and change tooltip of an exsistin item?
I mean how to change the tooltip of an item that's already in the game like torch for ex., not a new one. I am aware of the item.addInformation method but i don't understand how to use it to change an existing item (maybe I need to use another method). Many thanks! akdubh
IPS spam blocked by CleanTalk.