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.

TastyCake

Members
  • Joined

  • Last visited

Everything posted by TastyCake

  1. This is what you need to run java -Xmx1024M -Xms1024M -jar forge-1.10.2-12.18.3.2511.jar
  2. I'm afraid I can't figure that out for you. Sorry. Hope you get the problem fixed
  3. How is it "Disabled" Could you post a screenshot perhaps?
  4. It is likely a network problem
  5. please post how you are starting the server
  6. Thanks! I have no idea how that happened.
  7. Here is my code
  8. Hi. I am developing a mod but now every time I test it it crashes when moving from Constructing to Preinitialisation. I have gone through my code twice and there are no errors. I am not seeing anything in the crash report to tell me where to look. Thanks in advance! Crash Report
  9. Figured it out. I didn't think to look at vanilla examples.
  10. Hi. I want to make a command that when executed it prints text in the chat. I already have the command I only need to know how to print to chat.
  11. Really sorry but I'm still confused. Could you show me what I need to change in my code? ModBlocks.obsidian_compressed needs a damage value of 1 public class CompressedObsidianSingleCraftEvent { @SubscribeEvent public void onEvent(PlayerEvent.ItemCraftedEvent event) { if (event.crafting.getItem() == Item.getItemFromBlock(ModBlocks.obsidian_compressed)) { event.player.addStat(AchievementHandler.achievementCompressedObsidianSingle, 1); } } }
  12. Sorry. I don't quite understand. What should I put for "whatever" I need metadata for a block.
  13. I have an event that when a specific block gets crafted it gives the player an achievement. My problem is that "ModBlocks.obsidian_compressed" has metadata giving it 2 types and I don't know how to tell it which one. public class CompressedObsidianSingleCraftEvent { @SubscribeEvent public void onEvent(PlayerEvent.ItemCraftedEvent event) { if (event.crafting.getItem() == Item.getItemFromBlock(ModBlocks.obsidian_compressed)) { event.player.addStat(AchievementHandler.achievementCompressedObsidianSingle, 1); } } }
  14. Hi. I have a block with 2 variants and the blocks both have multiple textures. The items for the blocks show up ok but when I place the blocks the 2 variant show the 1 variant's texture. block_breaker.json block_breaker_advanced.json block_breaker_basic.json block_breaker_advanced.json block_breaker_basic.json ModBlocks.java EnumHandler.java IMetaBlockName.java ItemBlockBlockBreaker.java BlockBlockBreaker.java ClientProxy.java
  15. Oh. Turns out I put them in the wrong spots. The tutorial wasn't wrong.
  16. Thanks. I was following a tutorial and it all worked for the person who posted it. I will try your suggestions.
  17. Minecraft Version is 1.11.2 The error is Time: 10/24/17 8:02 AM Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Le Big Boss (lbb) Caused by: java.lang.NullPointerException at com.tastycake.lebigboss.init.ModItems.registerRender(ModItems.java:44) at com.tastycake.lebigboss.init.ModItems.registerRenders(ModItems.java:31) at com.tastycake.lebigboss.proxy.ClientProxy.registerRenders(ClientProxy.java:14) at com.tastycake.lebigboss.ModMain.preInit(ModMain.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:649) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:647) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:276) at net.minecraft.client.Minecraft.init(Minecraft.java:478) at net.minecraft.client.Minecraft.run(Minecraft.java:387) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) IntelliJ IDEA doesn't show any errors in my code. More Files ModItems.java Reference.java ModMain.java CommonProxy.java ClientProxy.java ItemObsidianIngot.java
  18. What version is the mod for? Could you link the website?
  19. Hi. Start by giving your server more ram. The amount of ram you give depends on the amount your computer has. Change the server's JVM Flags so that -Xmx is 2G if you computer has 4GB total and add -Xms2G Change the server's JVM Flags so that -Xmx is 3G if you computer has 6GB total and add -Xms3G Change the server's JVM Flags so that -Xmx is 4G if you computer has 8GB total and add -Xms4G "-Xms" for minimum memory instead of 1G default Also, how are you starting your server? If you use a script, could you post it?
  20. Hi. I've been having a lot of trouble with registering item renders in my ModItems class. I get an error in the end of the file at registerRender(Item item). It doesn't give much info about the error. It just crashes. If you need more information I can post more of the classes that get referenced. Please help. ModItems.java -- Pastebin

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.