Jump to content

Nevac

Members
  • Posts

    5
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • URL
    http://clash-of-nations.net/index.php
  • Location
    Switzerland
  • Personal Text
    Creativity and patience, what a great combination!

Nevac's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Nevermind, brought it to work! There were just simple logic problems in the classes, because i seperatet them. Everything works fine now! Thanks to everyone helping me trough this. If you have also questions, you can ask me too now . Have a nice day everyone!
  2. Well, here is an update of my status. I took the code as it was and did change the structure a bit. I placed all classes in the ModelLoaderRegistryDebug.java file in sepereta java files. I placed the java files in an own package: net.clash_of_nations.forge.confacilities.obj -> CustomModelBlock.java OBJCustomDataBlock.java OBJDirectionBlock.java OBJDirectionEye.java OBJDynamicEye.java OBJDynamicEyeTileEntity.java (temporarily placed here) OBJTesseractBlock.java OBJTesseractBlockTileEntity.java OBJVertexColoring1.java OBJVertexColoring2.java OBJVertexColoring2TileEntity.java (I didn't change any code and implemented all necessary packages) So my ModelLoaderRegistryDebug.java file (renamed to ObjReg.java) only contains this code (It serves as a list for the initialization in my main java file called CoNFacilities.java): They are like I said initialized in my main CoNFacilities java file: I did this because I think it makes it easier for me to keep everything in sight and makes my main file less messy. I also placed all obj models in the package: assets.confacilities.models.obj all textures in the package: assets.confacilities.textures.objs all .json (blockstates) in the package: assets.confacilities.blockstates I updated all references for textures and models in the .json files. So, when I try to start this whole thing, the game starts, but without loading my OBJ's. It is loading my simple Block that I created which is loaded here: ... @EventHandler public void init(FMLInitializationEvent e){ System.out.println("[ModInit] Loading Mod."); BlockLoader.loadBlocks(); } ... BlockLoader.loadBlocks(); is the important line. When I take a look to the console, it smashes out one error: EDIT: I solved this problem. Was an unimportant mcmod.info error. I don't get any errors. Did I do something wrong? Please let me know if you need something else to see the error. I'm glad for everyone who helps and thank you guys!
  3. Thank you for your help, I surely will ask you if I have anything messy. Thanks again, and see you later!
  4. Thank you very much sir! That's at least something to begin with!
  5. Hello community! I glaldy heard that it is now possible to use Obj's with forge again since Forge 1.8-11.14.4.1563 I'm a newbie in that case and heared there are differences between 1.7.10 and 1.8 Obj model implementation. I hoped that eventually a tutorial for 1.7.10 would work in 1.8 either but yeah, I was wrong. Can someone guide me trough this?
×
×
  • Create New...

Important Information

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