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.

Cadiboo

Members
  • Joined

  • Last visited

Posts posted by Cadiboo

  1. 37 minutes ago, Laike_Endaril said:

     

    I can also think of a byte code edit that would do it, but would also very likely make your mod incompatible with many other mods, so that's not a good approach either.

    No, we don’t talk about ASM here. Also it’s less likely to make your mod incomparable than replacing the class with reflection if done right.

     

    Also, don’t catch & print, crash the game!

     

    You could also create a PR to forge to add a hook? What’s wrong with the onEntityJoinWorld event?

  2. Try looking at http://hopper.minecraft.net/help/pixel-format-not-accelerated/

    Causes

    Graphics drivers are outdated, they do not support required OpenGL support to run Minecraft.

    Invalid memory allocation, if you set any Java arguments in your Profile Settings, please remove them.

    On Windows 10, driver updates are automatically installed on your PC whereas previously they were optional. Sometimes the drivers obtained through Windows Update may not contain the proper OpenGL required for Minecraft. You should in this case update your PC's graphics driver as explained below.

    On first- and second- generation Intel HD graphics chipsets, a Java version below 8u60 is needed on Windows 10. The new Minecraft launcher available on minecraft.net/download as a .MSI should automatically resolve issues on these chipsets.

  3. Spoiler

    [09:21:18] [main/ERROR]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$ClientTickEvent@5d2f5051: java.lang.NullPointerException: null at java.lang.String.replace(String.java:2228) ~[?:1.8.0_51] at com.gitlab.cdagaming.craftpresence.handler.server.ServerHandler.updateServerPresence(ServerHandler.java:206) ~[ServerHandler.class:?] at com.gitlab.cdagaming.craftpresence.handler.server.ServerHandler.updateServerData(ServerHandler.java:124) ~[ServerHandler.class:?] at com.gitlab.cdagaming.craftpresence.handler.server.ServerHandler.onTick(ServerHandler.java:58) ~[ServerHandler.class:?] at com.gitlab.cdagaming.craftpresence.handler.CommandHandler.reloadData(CommandHandler.java:30) ~[CommandHandler.class:?] at com.gitlab.cdagaming.craftpresence.CraftPresence.onTick(CraftPresence.java:89) ~[CraftPresence.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1442_CraftPresence_onTick_ClientTickEvent.invoke(.dynamic) ~[?:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?] at net.minecraftforge.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:344) [FMLCommonHandler.class:?] at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1707) [bib.class:?] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1097) [bib.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397) [bib.class:?] at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

    try removing "com.gitlab.cdagaming.craftpresence"

  4. 10 hours ago, joan99 said:

    Hi, I also have the same problem of memory, while I have 7 GB disponible, did you find a solution ?

    Don't hijack someone else's thread, make a new thread.

     

    On 11/8/2018 at 1:28 AM, naturaGodhead said:

    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_51] at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_51] at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1087) [bib.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397) [bib.class:?] at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

    I assume a mod is adding a future task and that task does something bad that uses up all the memory. OR there's something really messed up with recipes.

    Try removing foam fix and/or JEI/NEI

  5. 10 hours ago, DocBrian said:

    Minecraft.getMinecraft().theWorld.getEntitiesWithinAABBExcludingEntity() and setting the AABB to the bounding box of the entity and excluding itself.  Seems to work most of the time, but not always.

    You could try interpolating the bounding boxes based on time, this might not work very well though.

    10 hours ago, DocBrian said:

    1.7

    Sorry we don't support 1.7 on this forum anymore due to its age (4+ years old). We simply don't know how to help you anymore.

    I think theres an onEntityCollideWithEntity method or something that you can override?

  6. It works fine in a dev environment, but when you try and play minecraft with the mod, it will not have the mods it needs so it will crash (and because it will not have told Forge that it depends on another mod, it won't be obvious that this is the problem)

  7. That’s how you add a jar to your workspace, not how you add a dependency to your mod. You need to tell Forge that you require this mod to be installed. You can also optionally package your dependency inside your mod with gradle

  8. ·

    Edited by Cadiboo

    STOP! If your still using the block that you got from McCreator just stop and learn java first.

     

    Edit: Sorry, you have the same Avatar & a similar name to someone with a different problem that would be solved by learning java

  9. What?? I was saying that resource location exists to prevent issues like this. If you don’t have anything special (Transformations / 3D models) for your time you should probably auto generate the models.

    55 minutes ago, MajesticMadman said:

    Them every block would be separated into a different category at this level

    I’ve gone all the way down this path and don’t recommend it. Vanilla does it with all models in a single folder and that’s the easiest way to do it.

    1 hour ago, MajesticMadman said:

    I was trying to find a way to do it in the JSON

    The only way to do it is with JSON.

    1 hour ago, MajesticMadman said:

    simpler than having to create a variable for each block and within that set the file path and then reference that in the ModelResourceLocation

    for(Item item : allModItems) ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation( item.getRegistryName(), “normal”));

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.