Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ThexXTURBOXx

Members
  • Joined

  • Last visited

Everything posted by ThexXTURBOXx

  1. Looks like the zip, that got downloaded is broken. Try to delete the zip from the cache and then run it again (and make sure your internet connection doesn't get interrupted somehow). But maybe the zip on the server is corrupted... Haven't tried it myself
  2. 1. Use Techne or the Tabula-mod to create a 3D-Model. I recommend Tabula, because Techne is a bit outdated 2. Export it as a Java-class 3. Copy the Java-class to your mod 4. Write a Renderer like this (adjust it with your things): https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/render/RenderJavelin.java 5. Write an Entity 6. Registering everything: In your CommonProxy (IN THE PRE-INIT-METHOD) : private void registerEntities() { int count = 1; EntityRegistry.registerModEntity(CLASSOFTHEENTITY, "NAMEOFTHEENTITY", count++, YOURMODCLASS.instance, 120, 3, true); } In your ClientProxy (IN THE INIT-METHOD) : private void registerEntities() { RenderManager manager = Minecraft.getMinecraft().getRenderManager(); RenderingRegistry.registerEntityRenderingHandler(CLASSOFTHEENTITY, new CLASSOFTHERENDERER(manager))); }
  3. Hello guys, I want to register an Item, when the entry "oreCopper" is found in the OreDictionary. My code: public static void registerOreDic() { String[] oreNames = OreDictionary.getOreNames(); for(String ore : oreNames) { if(ore == "oreCopper" || ore == "oreCOPPER") { //Called in preInit ==> registratonList gets looped and every item registered in it gets registered registratonList.add(TEMPORARY = new ItemBulletMusket()); } } } The problem is, that I do this in the preInit-method and the other mods don't have their Copper Ore registered, when called. How can I fix this? Can I put this in my init-method or is there a method, which waits for all other mods for having their ores/blocks/items/etc. registered? Or is there something completely different?
  4. But I have a new question now Why is my console spamming "match: [null,null,null,null,]" now, when I throw the entity?
  5. WOW, dude you are amazing! Thanks! You helped me VERY lot!
  6. I am modding for minecraft 1.8 What do you mean with "How should you render the model"? I want to make a javelin as a EntityThrowable. What is a tileEntity? ^^
  7. Hello guys, how can I use a code made by Tabula/Techne to render a NON-MOB entity? The entity I want to render is something like a javelin. The problem I have is the following: I think, that Tabula/Techne can only be used for mobs, not for normal entities P.S.: The Javelin-Entity-class extends EntityThrowable
  8. Thanks for the answer, got it working now.
  9. Hello guys, I tried to make a class, which registers my EventHandlers (there is only one yet). But I can't get it working. Here is, what I coded until now: Main Class: package de.Femtopedia.titantoolbox; import de.Femtopedia.titantoolbox.Constants.Constants; import de.Femtopedia.titantoolbox.Skype.skypemethods; import net.minecraftforge.fml.common.FMLCommonHandler; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.Instance; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; @Mod(modid=Constants.MODID, version=Constants.VERSION, name=Constants.NAME) public class titantoolbox { @Instance public static titantoolbox instance = new titantoolbox(); @EventHandler public void preInit(FMLPreInitializationEvent e) { } @EventHandler public void init(FMLInitializationEvent e) { FMLCommonHandler.instance().bus().register(new titantoolboxDCHandler()); } @EventHandler public void postInit(FMLPostInitializationEvent e) { } } EventHandler-Class: package de.Femtopedia.titantoolbox; import de.Femtopedia.titantoolbox.Constants.Constants; import de.Femtopedia.titantoolbox.Skype.skypemethods; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.network.FMLNetworkEvent.ClientConnectedToServerEvent; public class titantoolboxDCHandler { @SubscribeEvent public void clientConnection(ClientConnectedToServerEvent e) { System.out.println("Message"); } }
  10. Sorry, thought they would be interfaces Ok, no problem [sOLVED]
  11. Thank you, but Eclipse can't find them. Where are those interfaces located?
  12. Hello guys, I want to add a Join-message for a specific server to my mod. I know the IConnectionHandler-Interface from Minecraft 1.6, but I can't find anything similar in 1.8. Does someone know, how I can make a EventHandler, with a method, which gets executed on a server join? Please help
  13. Oh, you guys were faster than me I wanted to announce that OptiFine update (which could be release because of me ), but you did it already! Niceeee
  14. No problem, man ^^ If I find any bugs related to this topic, I just write again Thanks to you for fixing it! Nice work! Edit 1: Sorry for reporting a bug again With the Texture pack "Vanilla BD Craft" the furnace is dark again. I don't know if it's the fault of the texture pack or of Forge But that's only a little bug Edit 2: Same thing with bookcases and note blocks btw
  15. Very nice It works great! The bug with OptiFine still exists, but like LexManos said, it's the task of the OptiFine-guy. The only question: Will he still make updates for 1.8, when he made version for 1.8.1, 1.8.3, 1.8.4, 1.8.7 and 1.8.8? I will contact him But big thanks to you guys ^^ Edit: I have contacted him, I will tell you about any updates in this thread. Edit 2: I found another VERY LITTLE texture bug in 1525 . When I put wheat next to a solid block, 1 side of it is dark again. (Change: Please see Edit 3) Screenshot: If You need a log again, just write it ^^ Edit 3: The same thing is with doors, etc. I bet, that next to EVERY solid block is a dark texture.
  16. Ok, I send you the logs with and without OptiFine, only that you have both ^^ BTW.: I have only tested it with a server join. If you want me to test it in singleplayer, write again and I will try to manage it. With OptiFine: http://pastebin.com/PAzqsJH6 Without OptiFine: http://pastebin.com/ewwD7vat In the log with OptiFine there is the crash again
  17. So, I installed Forge 11.14.3.1524 for Minecraft 1.8 and then I installed some mods (Optifine, etc) It crashed. (Crash report: http://pastebin.com/jQZz87ht ) I uninstalled Optifine, nearly everything works. Now I have those weird dark textures: As you can see, it is only at "full" blocks (unlike chests...). I made the screenshot with only Forge installed. Any suggestions?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.