Jump to content

Fowlron

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by Fowlron

  1. Actually, since I've always used eclipse, and am much more used to it, I think I'm going to start using it instead of idea. And btw, do you recommend me learning some more about grandle? I've never really delved into it much. Is it worth it to use it outside forge, in regular java projects?
  2. Hey everyone. I have a background in java and I'm learning from crayfish's 1.8 tutorials, but I can't seem to sort this out. Anything I do I keep getting: [Client thread/ERROR] [FML]: Model definition for location tm:test_item#inventory not found Here's my projects src folder. https://www.dropbox.com/s/26d55nphcm2olxa/src.zip?dl=0 I'm using Intellij IDEA btw.
  3. Bump. I just need someone to point me in the right direction
  4. Bump. I really need help, I don't know what to do.
  5. Hey there. I need help with setting up a new dimension with forge for 1.7.2. A lot of things changed since 1.6.4, and wuppy29's tutorials haven't helped me at all, since there isn't a 1.7.2 version for this. Can someone help me out?
  6. Thanks you guys, I get it now. I needed update my cube, but wanted more information about block updates. See ya around
  7. Hey there When is a block updated? More specifically, when are methods like getCollisionBoundingBoxFromPool, and others be called again during gameplay? Do they get called on the random ticks from "setTickRandomly(true)"? If not, can I force the game to update by calling something from update tick? Thanks in advance Edit: I do know now that they do get called from the random ticks. But the rest is still on.
  8. Ok, I decided to change my approach. I added a time handler, made a method get called every tick in a lagless way. Some pseudo code: if(getworld != null || worldServers.length > 0){ if(it's day){ if(alreadyupdatedday){ updateDay() alreadyupdatedday = true alreadyupdatednight = false } } else { if(alreadyupdatednight){ updateNight() alreadyupdatednight = true alreadyupdatedday = false } } } The problem is I don't know what to put on the update night day and update day methods so that it will change the bouding boxes, make the block invisible, and remove that black frames. Also, the use can't be allowed to break the block. I don't know what do do now. Help someone?
  9. I can make something non-solid by returning null on a method, but the bouding box is still on and I don't know how to make it happen only at night or day. I tried this: @Override public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_) { // TODO Auto-generated method stub if (MinecraftServer.getServer().worldServers[0].getWorldInfo() .getWorldTime() <= 14000) { return super.getCollisionBoundingBoxFromPool(p_149668_1_, p_149668_2_, p_149668_3_, p_149668_4_); } else { return null; } } Though I belive the method is called only once, and won't update in runtime while the player is playing. I don't know how to solve this. Help please?
  10. Hey there. For my new mod project I need a block to completely disappear during the night/day. I need it to be completely hidden, no hit-box no impossible to break, etc. I need a block to get thouse properties during the day, and an opposite one that will do the same during the night. How would I do this?
  11. I didn't mess with anything. I am running linux, and you mac while the log talks about the native libraries. Could our os be a problem? If so, is it possible to solve?
  12. That hurts to hear, but until they release a stable release I think you are right. Then there will be more info on modding. I'll train my java until then. Thanks for the help.
  13. Hello everyone Sorry if already asked but i couldn't find any info on this. As you know, a lot has changed in this update. I already managed to find that i should use net.minecraft.item.Item.ToolMaterial instead of net.minecraft.item.EnumToolMaterial, which isn't there anymore, but apart from that i'm quite lost. I know that now there aren't id's anymore, but do I need to do anything instead? What others changes have been made? I notice I can't use @NetworkMod. Luckly I was using @EventHandler already. What do i need to do different than in 1.6.4 to declare items and blocks? Where should i put my textures? What to name them? I already had this problem in 1.6.4: Do i still need to set an unlocalized name? If I do, what is it used for? Thanks in advance for your help. Again, if it was asked before or answered somewhere, then sorry, but i could not find it anywhere.
  14. Hello everyone I'm planning on modding for minecraft 1.7.2. I already now java, and used to mod for minecraft 1.6.4 The problem is that after downloading minecraft forge src latest for 1.7.2 and running gradlew (I'm on linux ubuntu 32 bits) and setting everything up on eclipse, it crashes on running minecraft. It could be a bug on my mod, but i doubt seriously, because minecraft crashes before loading the mod so i dint thing it is a mod problem. I tried updating LWJGL for 2.9. Here is the log: (Sorry, somewhy the buttons are not working correctly) [18:01:55] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [18:01:55] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [18:01:55] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [18:01:55] [main/INFO]: Forge Mod Loader version 7.2.29.977 for Minecraft 1.7.2 loading [18:01:55] [main/INFO]: Java is Java HotSpot Server VM, version 1.7.0_45, running on Linux:i386:3.11.0-13-generic, installed at /usr/local/java/jre1.7.0_45 [18:01:55] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [18:01:55] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:01:55] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [18:01:55] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:01:55] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:01:55] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [18:01:56] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [18:02:03] [main/ERROR]: The minecraft jar file:/home/pedro/Programas/forge/build/deobfuscated-bin.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [18:02:03] [main/ERROR]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [18:02:03] [main/ERROR]: Technical information: ClientBrandRetriever was at jar:file:/home/pedro/Programas/forge/build/deobfuscated-bin.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [18:02:03] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing [18:02:03] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [18:02:03] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [18:02:08] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main} [18:02:19] [main/ERROR]: Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['accessToken'] at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:447) ~[OptionParser.class:?] at joptsimple.OptionParser.parse(OptionParser.java:437) ~[OptionParser.class:?] at net.minecraft.client.main.Main.main(Main.java:44) ~[Main.class:?] ... 6 more
  15. Its this one: There are comments with the lines that give me errors. Well, errors when running, eclipse doesnt find any. I now the problem is with this: I just dont know why he returns a Null Pointer Exception. Edit: But your repository only updates if you use the git pull command, and it wont commit with the push command unless you have the latest version of the file available in the repository. So if someones pushes, you wont know it, and when you push it you will receive an error, and you need to pull and lose ALL the work youve done since the last commit. This is very hard to handle, that's why we should code eveything in separated class files. If you want to have a look at all the code, have a look at this: https://github.com/Wild-Kingdoms/Dungeons-and-Digging
  16. Sorry my bad. Solved that. Can you help me here?
  17. Hi. I created this account to ask help in this matter. Im creating a mod with my mod team, but we have a BIG problem. As we have many modders, we need to work on separated classes, otherwise we cant work at the same time. We have everything set up with github btw. But I'm getting a null pointer exception when calling gameRegistry.addRecipe Main class: DDItems Class: DDBlocks Class: The error log: Thanks in advance for any help
×
×
  • Create New...

Important Information

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