• Recently Browsing

    No registered users viewing this page.

  • Posts

    • How log have you let it sit once it freezes?
    • This is not going to be pretty, brace yourself.    I saw that I am adding the listener (From the forge example), but that didn't work- so I tried adding subscribe event,- which didn't work because it was a private method. This is the latest attempt at a... log message....    package no.pcservicetbg.advancementextreme; import net.minecraft.advancements.CriteriaTriggers; import net.minecraft.block.Block; import net.minecraft.block.Blocks; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.InterModComms; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.event.lifecycle.InterModEnqueueEvent; import net.minecraftforge.fml.event.lifecycle.InterModProcessEvent; import net.minecraftforge.fml.event.server.FMLServerStartingEvent; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.util.stream.Collectors; // The value here should match an entry in the META-INF/mods.toml file @Mod("advancementextreme") public class AdvancementExtreme { // Directly reference a log4j logger. private static final Logger LOGGER = LogManager.getLogger(); public AdvancementExtreme() { // Register the setup method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup); // Register the enqueueIMC method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::enqueueIMC); // Register the processIMC method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::processIMC); // Register the doClientStuff method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::doClientStuff); // Register ourselves for server and other game events we are interested in MinecraftForge.EVENT_BUS.register(this); } @SubscribeEvent public void setup(final FMLCommonSetupEvent event) { LOGGER.info("Common SETUP"); } private void doClientStuff(final FMLClientSetupEvent event) { } private void enqueueIMC(final InterModEnqueueEvent event) { } private void processIMC(final InterModProcessEvent event) { // some example code to receive and process InterModComms from other mods } // You can use SubscribeEvent and let the Event Bus discover methods to call @SubscribeEvent public void onServerStarting(FMLServerStartingEvent event) { // do something when the server starts } // You can use EventBusSubscriber to automatically subscribe events on the contained class (this is subscribing to the MOD // Event bus for receiving Registry Events) @Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD) public static class RegistryEvents { @SubscribeEvent public static void onBlocksRegistry(final RegistryEvent.Register<Block> blockRegistryEvent) { // register a new block here LOGGER.info("HELLO from Register Block"); } } }  
    • Hola buenas, les pido ayuda porque al abrir Minecraft y lanzar el instalador, me sale el siguiente error "The game crashed whilst unexpected error, Error: java.lang.IndexOutOfBoundsExcception". Les dejo a continuación el informe de error: ========================================================================================== Description: Unexpected error java.lang.IndexOutOfBoundsException     at java.nio.Buffer.checkIndex(Buffer.java:540)     at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:253)     at org.lwjgl.input.Keyboard.isKeyDown(Keyboard.java:407)     at mcp.mobius.waila.overlay.WailaTickHandler.tickClient(WailaTickHandler.java:56)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_14_WailaTickHandler_tickClient_ClientTickEvent.invoke(.dynamic)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)     at net.minecraftforge.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:344)     at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1708)     at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1098)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)     at net.minecraft.client.main.Main.main(SourceFile:123)     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:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 2554592456 bytes (2436 MB) / 5066719232 bytes (4832 MB) up to 8589934592 bytes (8192 MB)     JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.42 Powered by Forge 14.23.5.2854 Optifine OptiFine_1.12.2_HD_U_E3 22 mods loaded, 22 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State  | ID                   | Version           | Source                                 | Signature                                |     |:------ |:-------------------- |:----------------- |:-------------------------------------- |:---------------------------------------- |     | LCHIJA | minecraft            | 1.12.2            | minecraft.jar                          | None                                     |     | LCHIJA | mcp                  | 9.42              | minecraft.jar                          | None                                     |     | LCHIJA | FML                  | 8.0.99.99         | forge-1.12.2-14.23.5.2854.jar          | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCHIJA | forge                | 14.23.5.2854      | forge-1.12.2-14.23.5.2854.jar          | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCHIJA | creativecoredummy    | 1.0.0             | minecraft.jar                          | None                                     |     | LCHIJA | otgcore              | 1.12.2 - v8.3     | minecraft.jar                          | None                                     |     | LCHIJA | foamfixcore          | 7.7.4             | minecraft.jar                          | None                                     |     | LCHIJA | ambientsounds        | 3.0               | AmbientSounds_v3.0.9_mc1.12.2.jar      | None                                     |     | LCHIJA | betternether         | 0.1.8.6           | betternether-0.1.8.6.jar               | None                                     |     | LCHIJA | ctm                  | MC1.12.2-0.3.3.22 | CTM-MC1.12.2-0.3.3.22.jar              | None                                     |     | LCHIJA | chisel               | MC1.12.2-0.2.1.35 | Chisel-MC1.12.2-0.2.1.35.jar           | None                                     |     | LCHIJA | creativecore         | 1.9.9             | CreativeCore_v1.9.68_mc1.12.2.jar      | None                                     |     | LCHIJA | ptrmodellib          | 1.0.4             | PTRLib-1.0.4.jar                       | None                                     |     | LCHIJA | props                | 2.6.3             | Decocraft-2.6.3_1.12.2.jar             | None                                     |     | LCHIJA | extrautils2          | 1.0               | extrautils2-1.12-1.9.9.jar             | None                                     |     | LCHIJA | openterraingenerator | v8.3              | OpenTerrainGenerator-1.12.2+-+v8.3.jar | None                                     |     | LCHIJA | farfromhome          | 1.0               | Far_From_Home-1.12.2-5.0.jar           | None                                     |     | LCHIJA | foamfix              | 0.10.7-1.12.2     | foamfix-0.10.7-1.12.2.jar              | None                                     |     | LCHIJA | waila                | 1.8.26            | Hwyla-1.8.26-B41_1.12.2.jar            | None                                     |     | LCHIJA | jei                  | 4.15.0.268        | jei_1.12.2-4.15.0.268.jar              | None                                     |     | LCHIJA | journeymap           | 1.12.2-5.5.4      | journeymap-1.12.2-5.5.4.jar            | None                                     |     | LCHIJA | tombstone            | 4.0.0             | tombstone-4.0.0-1.12.2.jar             | None                                     |     Loaded coremods (and transformers):  (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.7-1.12.2.jar)   pl.asie.foamfix.coremod.FoamFixTransformer OTGCorePlugin (OTG-Core.jar)   com.pg85.otg.forge.asm.excluded.OTGClassTransformer CreativePatchingLoader (CreativeCore_v1.9.68_mc1.12.2.jar)    CTMCorePlugin (CTM-MC1.12.2-0.3.3.22.jar)   team.chisel.ctm.client.asm.CTMTransformer     GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4963' Renderer: 'Intel(R) HD Graphics 4600'     Launched Version: 1.12.2-forge-14.23.5.2854     LWJGL: 2.9.4     OpenGL: Intel(R) HD Graphics 4600 GL version 4.3.0 - Build 20.19.15.4963, Intel     GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported.     Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'fml,forge'     Type: Client (map_client.txt)     Resource Packs:      Current Language: Español (España)     Profiler Position: N/A (disabled)     CPU: 4x Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz     OptiFine Version: OptiFine_1.12.2_HD_U_E3     OptiFine Build: 20181210-121000     Render Distance Chunks: 12     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: null     OpenGlVersion: 4.3.0 - Build 20.19.15.4963     OpenGlRenderer: Intel(R) HD Graphics 4600     OpenGlVendor: Intel     CpuCount: 4
    • I'm going to assume there's no other way to fix this, yeah?
    • You're trying to register a String to the Event bus, I can't even fathom why someone would do this. Please post your debug.log, before you ask where it's located, your OS's file explorer has a search function.
  • Topics

  • Who's Online (See full list)