• Recently Browsing

    No registered users viewing this page.

  • Posts

    • I tried removing the second getCapability() constructor(the one that returns capability) and referring to capability directly. Made no difference. Also added the @Nullable annotation to see if that did anything. Made no difference either. Current code for CommonCapabilityProvider.java package com.lk1905.gielinorcraft.capability; import javax.annotation.Nullable; import net.minecraft.nbt.INBT; import net.minecraft.util.Direction; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.ICapabilitySerializable; import net.minecraftforge.common.util.LazyOptional; public class CommonCapabilityProvider<HANDLER> implements ICapabilitySerializable<INBT>{ protected final Capability<HANDLER> capability; protected final Direction side; protected final HANDLER instance; protected final LazyOptional<HANDLER> lazyOptional; public CommonCapabilityProvider(final Capability<HANDLER> capability, @Nullable final Direction side, @Nullable final HANDLER instance) { this.capability = capability; this.side = side; this.instance = instance; if(this.instance != null) { lazyOptional = LazyOptional.of(() -> this.instance); }else { lazyOptional = LazyOptional.empty(); } } @Override public <T> LazyOptional<T> getCapability(final Capability<T> cap, @Nullable final Direction side) { return capability.orEmpty(cap, lazyOptional); } @Nullable @Override public INBT serializeNBT() { return capability.writeNBT(getInstance(), getFacing());//<-- THIS LINE } @Override public void deserializeNBT(INBT nbt) { capability.readNBT(getInstance(), getFacing(), nbt); } @Nullable public Direction getFacing() { return side; } @Nullable public HANDLER getInstance() { return instance; } }  
    • I'm using eclipse I understand i should be using the forge logger   import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; static final Logger Logger= LogManager.getLogger(MODID);   as an example i do ; Logger.debug("Help Me");   where does the file go?   it doesn't show up on my Eclipse console, or any log file i can find in  project directory..   probably a silly question but i haven't had a log file since 1.13
    • I watched so many different videos on how to make a mc forge 1.12.2 server so I can play with friends, but everytime when I think ive got everything fixed and correct. It crashed and I dont even know where to begin on looking for a fix. There is so many thing that are all different info and dont understand what its saying and dont get where the problem is.  Ive attached my most recent crash log. Please help me understand. crash-2020-02-22_00.52.22-server.txt
    • i've been seeking to play all the mods 4 (or whatever the new one is) for 1.14.four however whenever i try to launch it, the sport just crashes. i have attempted putting in forge 1.14.4 through itself, and the sport nevertheless crashes... is there a problem with 1.14.four or am i doing something wrong?
    • ---- Minecraft Crash Report ---- WARNING: coremods are present: Contact their authors BEFORE contacting forge // My bad. Time: 2/21/20 11:50 PM Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from CodeChicken Lib (codechickenlib) Caused by: codechicken.lib.configuration.ConfigFile$ConfigException: codechicken.lib.configuration.ConfigParseException: Invalid value type d, @Line:20, dump_asm=true     at codechicken.lib.configuration.ConfigFile.load(ConfigFile.java:61)     at codechicken.lib.configuration.ConfigFile.<init>(ConfigFile.java:43)     at codechicken.lib.configuration.ConfigFile.<init>(ConfigFile.java:29)     at codechicken.lib.configuration.ConfigFile.<init>(ConfigFile.java:19)     at codechicken.lib.CodeChickenLib.preInit(CodeChickenLib.java:50)     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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:624)     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)     at com.google.common.eventbus.EventBus.post(EventBus.java:217)     at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218)     at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)     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 com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)     at com.google.common.eventbus.EventBus.post(EventBus.java:217)     at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)     at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:627)     at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)     at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:466)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377)     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) Caused by: codechicken.lib.configuration.ConfigParseException: Invalid value type d, @Line:20, dump_asm=true     at codechicken.lib.configuration.ConfigTag.parseTag(ConfigTag.java:92)     at codechicken.lib.configuration.ConfigFile.load(ConfigFile.java:59)     ... 44 more 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 8 (amd64) version 6.2     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 1464653072 bytes (1396 MB) / 1946157056 bytes (1856 MB) up to 5368709120 bytes (5120 MB)     JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx5G -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.2768 Optifine OptiFine_1.12.2_HD_U_E3 35 mods loaded, 35 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                                |     |:----- |:----------------------- |:----------------- |:--------------------------------------------------- |:---------------------------------------- |     | UCH   | minecraft               | 1.12.2            | minecraft.jar                                       | None                                     |     | UCH   | mcp                     | 9.42              | minecraft.jar                                       | None                                     |     | UCH   | FML                     | 8.0.99.99         | forge-1.12.2-14.23.5.2768.jar                       | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | UCH   | forge                   | 14.23.5.2768      | forge-1.12.2-14.23.5.2768.jar                       | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | UCH   | securitycraft           | v1.8.7            | [1.12.x]+SecurityCraft+v1.8.7.jar                   | None                                     |     | UCH   | abyssalcraft            | 1.9.16            | AbyssalCraft-1.12.2-1.9.16.jar                      | 220f10d3a93b3ff5fbaa7434cc629d863d6751b9 |     | UCH   | aether_legacy           | 1.4.4             | aether_legacy-1.12.2-v1.4.4.jar                     | None                                     |     | UCH   | airplanes               | 0.9.0             | airplanes_a0.9.jar                                  | None                                     |     | UCH   | baubles                 | 1.5.2             | Baubles-1.12-1.5.2.jar                              | None                                     |     | UCH   | cfm                     | 6.0.0             | cfm-6.0.0-mc1.12.2.jar                              | None                                     |     | UCEE  | codechickenlib          | 3.2.2.353         | CodeChickenLib-1.12.2-3.2.2.353-universal.jar       | f1850c39b2516232a2108a7bd84d1cb5df93b261 |     | UC    | customnpcs              | 1.12              | CustomNPCs_1.12.2(26aug18).jar                      | None                                     |     | UC    | morearmorandtools       | 1.3.2             | Ecnanos'+More+Armor++Tools+Mod+[1.12.2]+{1.3.2}.jar | None                                     |     | UC    | motnt                   | 1.0.1             | EvenMoreTNT-1.0.1.jar                               | None                                     |     | UC    | golems                  | 7.1.8             | ExtraGolems-1.12-7.1.8.jar                          | None                                     |     | UC    | mantle                  | 1.12-1.3.3.55     | Mantle-1.12-1.3.3.55.jar                            | None                                     |     | UC    | tconstruct              | 1.12.2-2.13.0.179 | TConstruct-1.12.2-2.13.0.179.jar                    | None                                     |     | UC    | extrautils2             | 1.0               | extrautils2-1.12-1.9.9.jar                          | None                                     |     | UC    | forgemultipartcbe       | 2.5.0.71          | ForgeMultipart-1.12.2-2.5.0.71-universal.jar        | f1850c39b2516232a2108a7bd84d1cb5df93b261 |     | UC    | microblockcbe           | 2.5.0.71          | ForgeMultipart-1.12.2-2.5.0.71-universal.jar        | None                                     |     | UC    | minecraftmultipartcbe   | 2.5.0.71          | ForgeMultipart-1.12.2-2.5.0.71-universal.jar        | None                                     |     | UC    | mclib                   | 1.0               | mclib-1.0-1.12.2.jar                                | None                                     |     | UC    | moreplayermodels        | 1.12.2            | MorePlayerModels_1.12.2(18jan18).jar                | None                                     |     | UC    | mrtjpcore               | 2.1.3.35          | MrTJPCore-1.12.2-2.1.3.35-universal.jar             | None                                     |     | UC    | patchouli               | 1.0-20            | Patchouli-1.0-20.jar                                | None                                     |     | UC    | projectred-core         | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-Base.jar                 | None                                     |     | UC    | projectred-integration  | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-integration.jar          | None                                     |     | UC    | projectred-transmission | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-integration.jar          | None                                     |     | UC    | projectred-illumination | 4.9.1.92          | ProjectRed-1.12.2-4.9.1.92-lighting.jar             | None                                     |     | UC    | scp                     | 2.1.1             | SCP+Lockdown-1.12.2-2.1.1-beta.jar                  | None                                     |     | UC    | thaumcraft              | 6.1.BETA26        | Thaumcraft-1.12.2-6.1.BETA26.jar                    | None                                     |     | UC    | variedcommodities       | 1.12.2            | VariedCommodities_1.12.2(15may18.jar                | None                                     |     | UC    | worldedit               | 6.1.8             | worldedit-forge-mc1.12-6.1.8-dist (1).jar           | None                                     |     | UC    | wrcbe                   | 2.3.1             | WR-CBE-1.12.2-2.3.1.29-universal.jar                | f1850c39b2516232a2108a7bd84d1cb5df93b261 |     | UC    | zerascp                 | 1.0.0             | zeras-SCPs-1.6.jar                                  | None                                     |     Loaded coremods (and transformers):     GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.6.13587 Compatibility Profile Context 20.2.1 26.20.15019.1003' Renderer: 'Radeon RX 590 Series'     Pulsar/tconstruct loaded Pulses:         - TinkerCommons (Enabled/Forced)         - TinkerWorld (Enabled/Not Forced)         - TinkerTools (Enabled/Not Forced)         - TinkerHarvestTools (Enabled/Forced)         - TinkerMeleeWeapons (Enabled/Forced)         - TinkerRangedWeapons (Enabled/Forced)         - TinkerModifiers (Enabled/Forced)         - TinkerSmeltery (Enabled/Not Forced)         - TinkerGadgets (Enabled/Not Forced)         - TinkerOredict (Enabled/Forced)         - TinkerIntegration (Enabled/Forced)         - TinkerFluids (Enabled/Forced)         - TinkerMaterials (Enabled/Forced)         - TinkerModelRegister (Enabled/Forced)  
  • Topics

  • Who's Online (See full list)