Everything posted by Animefan8888
-
[SOLVED] Inventory not saved after relog
You have two options update the mod you are dependent on or looking around on previous posts/tutorials.
-
[1.7.10] Entity Is Invulnerable Unless Hit With Damage Source
All this does is perpetuate the laziness of sticking to old versions. Just update and move on. The problem is, this modpack relies on mods that are not being updated to versions further than 1.7.10, notably Enviromine. It isn't laziness, it's the inability to update at all. Yes, but it doesn't really matter as forge only supports modding final versions of Minecraft above 1.7.10. At current, but you should do what I said in my last post after me saying update.
-
[SOLVED] Inventory not saved after relog
Are you in 1.7.10 not quite sure if so update, if not use the capability system as after 1.8.9 IEEP was removed.
-
[1.8.9] [UNSOLVED] Multi texture block
Look at the craftingTable JSON that minecraft uses it is in the minecraft jar file under assets/minecraft/models/block/crafting_table.json
-
Scarecrow rendering incorrectly.
When you call translate add 1 or .5, and in the block class override isOpaqueCube() to false and getRenderType() to -1 You should use the new model system as TESRs should be for dynamic rendering.
-
onEntityCollide not working 1.10
You did not copy the cactus class mind you. I'm not sure if this can be done with a normal sized block, because what happens if the collision goes into another block.
-
onEntityCollide not working 1.10
onEntityCollided is called when the Entity is inside the bounding box that is its hit box.
-
[1.7.10] Entity Is Invulnerable Unless Hit With Damage Source
Since this forum no longer supports 1.7.10 it will get locked when a mod gets on. Though I will give you a hint look at attackEntityFromDamageSource in other EntityLiving...class and you will find your issue. Any more 1.7.10- problems figurre them out yourself from previous tutorials/forum posts and of course from VANILLA SOURCE. Just thought I would stress that as it is the best source if you are making something similar.
-
[Solved] [1.10.2] Can't color custom armor with ItemArmor#getColor
Post the solution so other that have this problem can fix it as well.
-
[1.10.2] Blockstates
Look at the furnace JSON's and code or even BlockColored JSON's and code for some examples notice some similarities in the code.
-
[1.10] RegisterEntityRenderingHandler
You don't need to know every notch and cranny you just need to know enough to know what you are doing.
-
[1.8.9] Creating a txt file, and accessing with a command.
What do you think is null on line 30, maybe the variable you haven't initialized yet, that you are trying to use to initialize itself.
-
[1.10] RegisterEntityRenderingHandler
Of course it will, that is the language that minecraft and forge use.
-
[1.8.9] Creating a txt file, and accessing with a command.
Sorry I left out the word "be" in that sentence it should have been "You need the variable in your main mod class to be the substring stuff." That means public void preInit(FMLPreInitializationEvent event) { path = event.getSourceFile().getAbsolutePath().substring(0,absolutePath.lastIndexOf(File.separator)); Then go about adding the files name to the end in your Command. Sorry for not being helpful, but if you don't understand Java you need to learn before coming here and asking for help.
-
My capabilities REFUSE to work. 5 devs checked it and all failed to find a clue.
It is not registered.
-
[1.8.9] Creating a txt file, and accessing with a command.
No I can not, if you don't understand you need to learn java.
-
[1.8.9] Creating a txt file, and accessing with a command.
You need the variable in your main mod class to the substring stuff.
-
[1.8.9] Creating a txt file, and accessing with a command.
You did not implement this File file = File("C:\\abcfolder\\textfile.txt"); String absolutePath = file.getAbsolutePath(); String filePath = absolutePath.substring(0,absolutePath.lastIndexOf(File.separator)); // ^Important part
-
[1.8.9] Creating a txt file, and accessing with a command.
Show me the preInit
-
[1.8.9] Creating a txt file, and accessing with a command.
Sorry I must have misread the title of this forum thread, I was fairly sure it said "Modder Support". Though if you don't know Java we won't teach it, there are plenty of tutorials out there for that. Now the last step is to modify the snippet of code I gave to suit your own needs if you run into any trouble after that come back.
-
[1.8.9] Creating a txt file, and accessing with a command.
Actually I understand // Use this method preInit(FMLPreInitializationEvent event) // ^ preevent
-
[1.8.9] Creating a txt file, and accessing with a command.
That is not what I meant make a static variable in your main mod class, then initialize it like I told you to.
-
[1.8.9] Creating a txt file, and accessing with a command.
That was just a guess, but what you will want to do is make a String set it equal to preevent.getSourceFile().getAbsolutePath() And use something like this to get rid of the file name on the end then add your own file name to the end. File file = File("C:\\abcfolder\\textfile.txt"); String absolutePath = file.getAbsolutePath(); String filePath = absolutePath. substring(0,absolutePath.lastIndexOf(File.separator));
-
[1.8.9] Creating a txt file, and accessing with a command.
You need to set the path. This path is probably in your c drive "wpartylist.txt".
-
[1.8.9] Creating a txt file, and accessing with a command.
Poof a tutorial thanks google. https://www.caveofprogramming.com/java/java-file-reading-and-writing-files-in-java.html Look at the tutorial, until you understand it. Then edit it to your desires.
IPS spam blocked by CleanTalk.