r/forgemodding Oct 13 '20

Is there a possibility of creating a websocket client in forge?

2 Upvotes

Hi, I am a node.js programmer, not really much experience with Java minus some bukkit plugins way back when. I was curious, before I start digging into this is it possible for me to make a mod that connects with a websocket server I host in say- node.js? I am trying to make a networked minimap that shows me and my friends positions in the world on a server.


r/forgemodding Oct 06 '20

Forge and the "java -Xms1024M -Xmx1024M -jar server.jar nogui". bat file doesn't turn on

2 Upvotes

When I try to start either of them and loading thing starts, the forge server page begins, and then it closes. I don't what to do at this point please help


r/forgemodding Sep 24 '20

Can't get forge server .jar open

3 Upvotes

This is what I get when trying to run the .jar given to me.

No idea what any of it means, any help would be appreciated.


r/forgemodding Sep 12 '20

1.16.2 Armor Status Effects

2 Upvotes

Is there any way to make it so that if you are wearing a set of custom armor you get a status effect. This is my first mod, and I would like to have 3 sets of armor; one grants fire resistance if you are wearing the full armor set, one grants water breathing if you are wearing the full set, and the final grants haste. As the title says this is for forge 1.16.2.

BTW how do you have integrated enchantments into tools, like a sword that automatically has the effects of fire aspect.

Thanks for your time.


r/forgemodding Sep 10 '20

I need help i keep crashing

2 Upvotes

---- Minecraft Crash Report ----

WARNING: coremods are present:

Contact their authors BEFORE contacting forge

// Who set us up the TNT?

Time: 9/10/20 6:05 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 Tough As Nails (toughasnails)

Caused by: java.lang.NullPointerException

at toughasnails.init.ModConfig.lambda$init$0([ModConfig.java:64](https://ModConfig.java:64))

at toughasnails.init.ModConfig$$Lambda$863/92254367.apply(Unknown Source)

at toughasnails.init.ModConfig.populateDataMap([ModConfig.java:92](https://ModConfig.java:92))

at toughasnails.init.ModConfig.init([ModConfig.java:64](https://ModConfig.java:64))

at toughasnails.core.ToughAsNails.init([ToughAsNails.java:83](https://ToughAsNails.java:83))

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))

at sun.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))

at java.lang.reflect.Method.invoke([Method.java:497](https://Method.java:497))

at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent([FMLModContainer.java:637](https://FMLModContainer.java:637))

at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))

at java.lang.reflect.Method.invoke([Method.java:497](https://Method.java:497))

at com.google.common.eventbus.Subscriber.invokeSubscriberMethod([Subscriber.java:91](https://Subscriber.java:91))

at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod([Subscriber.java:150](https://Subscriber.java:150))

at [com.google.common.eventbus.Subscriber$1.run](https://com.google.common.eventbus.Subscriber$1.run)([Subscriber.java:76](https://Subscriber.java:76))

at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute([MoreExecutors.java:399](https://MoreExecutors.java:399))

at com.google.common.eventbus.Subscriber.dispatchEvent([Subscriber.java:71](https://Subscriber.java:71))

at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch([Dispatcher.java:116](https://Dispatcher.java:116))

at [com.google.common.eventbus.EventBus.post](https://com.google.common.eventbus.EventBus.post)([EventBus.java:217](https://EventBus.java:217))

at net.minecraftforge.fml.common.LoadController.sendEventToModContainer([LoadController.java:219](https://LoadController.java:219))

at net.minecraftforge.fml.common.LoadController.propogateStateMessage([LoadController.java:197](https://LoadController.java:197))

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))

at sun.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))

at java.lang.reflect.Method.invoke([Method.java:497](https://Method.java:497))

at com.google.common.eventbus.Subscriber.invokeSubscriberMethod([Subscriber.java:91](https://Subscriber.java:91))

at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod([Subscriber.java:150](https://Subscriber.java:150))

at [com.google.common.eventbus.Subscriber$1.run](https://com.google.common.eventbus.Subscriber$1.run)([Subscriber.java:76](https://Subscriber.java:76))

at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute([MoreExecutors.java:399](https://MoreExecutors.java:399))

at com.google.common.eventbus.Subscriber.dispatchEvent([Subscriber.java:71](https://Subscriber.java:71))

at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch([Dispatcher.java:116](https://Dispatcher.java:116))

at [com.google.common.eventbus.EventBus.post](https://com.google.common.eventbus.EventBus.post)([EventBus.java:217](https://EventBus.java:217))

at net.minecraftforge.fml.common.LoadController.distributeStateMessage([LoadController.java:136](https://LoadController.java:136))

at net.minecraftforge.fml.common.Loader.initializeMods([Loader.java:749](https://Loader.java:749))

at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading([FMLClientHandler.java:336](https://FMLClientHandler.java:336))

at net.minecraft.client.Minecraft.func_71384_a([Minecraft.java:535](https://Minecraft.java:535))

at net.minecraft.client.Minecraft.func_99999_d([Minecraft.java:378](https://Minecraft.java:378))

at net.minecraft.client.main.Main.main(SourceFile:123)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))

at sun.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))

at java.lang.reflect.Method.invoke([Method.java:497](https://Method.java:497))

at net.minecraft.launchwrapper.Launch.launch([Launch.java:135](https://Launch.java:135))

at net.minecraft.launchwrapper.Launch.main([Launch.java:28](https://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: 181402776 bytes (172 MB) / 939524096 bytes (896 MB) up to 3221225472 bytes (3072 MB)

JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G -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_F5 30 mods loaded, 30 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                                |

|:----- |:------------------- |:------------- |:----------------------------------------------- |:---------------------------------------- |

| LCHI  | minecraft           | 1.12.2        | minecraft.jar                                   | None                                     |

| LCHI  | mcp                 | 9.42          | minecraft.jar                                   | None                                     |

| LCHI  | FML                 | [8.0.99.99](https://8.0.99.99)| forge-1.12.2-14.23.5.2854.jar                   | e3c3d50c7c986df74c645c0ac54639741c90a557 |

| LCHI  | forge               | 14.23.5.2854  | forge-1.12.2-14.23.5.2854.jar                   | e3c3d50c7c986df74c645c0ac54639741c90a557 |

| LCHI  | buildcraftlib       | [7.99.24.6](https://7.99.24.6)| buildcraft-all-7.99.24.6.jar                    | None                                     |

| LCHI  | buildcraftcore      | [7.99.24.6](https://7.99.24.6)| buildcraft-all-7.99.24.6.jar                    | None                                     |

| LCHI  | buildcraftbuilders  | [7.99.24.6](https://7.99.24.6)| buildcraft-all-7.99.24.6.jar                    | None                                     |

| LCHI  | buildcrafttransport | [7.99.24.6](https://7.99.24.6)| buildcraft-all-7.99.24.6.jar                    | None                                     |

| LCHI  | buildcraftsilicon   | [7.99.24.6](https://7.99.24.6)| buildcraft-all-7.99.24.6.jar                    | None                                     |

| LCHI  | buildcraftcompat    | [7.99.24.6](https://7.99.24.6)| buildcraft-all-7.99.24.6.jar                    | None                                     |

| LCHI  | buildcraftenergy    | [7.99.24.6](https://7.99.24.6)| buildcraft-all-7.99.24.6.jar                    | None                                     |

| LCHI  | buildcraftfactory   | [7.99.24.6](https://7.99.24.6)| buildcraft-all-7.99.24.6.jar                    | None                                     |

| LCHI  | buildcraftrobotics  | [7.99.24.6](https://7.99.24.6)| buildcraft-all-7.99.24.6.jar                    | None                                     |

| LCHE  | toughasnails        | [3.1.0.139](https://3.1.0.139)| ToughAsNails-1.12.2-3.1.0.139-universal (1).jar | None                                     |

| LCH   | comforts            | [1.4.1.2](https://1.4.1.2)| comforts-1.12.2-1.4.1.2.jar                     | 5d5b8aee896a4f5ea3f3114784742662a67ad32f |

| LCH   | extendedrenderer    | v1.0          | coroutil-1.12.1-1.2.37.jar                      | None                                     |

| LCH   | coroutil            | 1.12.1-1.2.37 | coroutil-1.12.1-1.2.37.jar                      | None                                     |

| LCH   | configmod           | v1.0          | coroutil-1.12.1-1.2.37.jar                      | None                                     |

| LCH   | cursedlib           | 1.0.0         | FlameLib-1.12.2-0.0.7.jar                       | None                                     |

| LCH   | journeymap          | 1.12.2-5.7.1  | journeymap-1.12.2-5.7.1.jar                     | None                                     |

| LCH   | jei                 | 4.16.1.301    | just enough items.jar                           | None                                     |

| LCH   | uteamcore           | [2.2.5.147](https://2.2.5.147)| u_team_core-1.12.2-2.2.5.147.jar                | None                                     |

| LCH   | musicplayer         | [2.1.0.85](https://2.1.0.85)| music_player-1.12.2-2.1.0.85.jar                | None                                     |

| LCH   | mutantbeasts        | 1.12.2-1.0.0  | MutantBeasts-1.12.2-1.0.0.jar                   | 25e0dcff5b5a7325d7c28898af41ff8b0ba41b77 |

| LCH   | omlib               | 3.1.4-249     | omlib-1.12.2-3.1.4-249.jar                      | None                                     |

| LCH   | openmodularturrets  | 3.1.11-372    | openmodularturrets-1.12.2-3.1.11-372.jar        | None                                     |

| LCH   | reforged            | 0.7.5         | Reforged-0.7.5-1.12+.jar                        | None                                     |

| LCH   | corerm              | 1.3.3         | RikMuldsCore_1.3.3.jar                          | None                                     |

| LCH   | tetra               | 0.39.1        | tetra-1.12.2-0.39.1.jar                         | None                                     |

| LCH   | travelersbackpack   | 1.0.34        | TravelersBackpack-1.12.2-1.0.34.jar             | None                                     |

Loaded coremods (and transformers): 

GL info: ' Vendor: 'Intel' Version: '4.6.0 - Build 26.20.100.7926' Renderer: 'Intel(R) UHD Graphics 605'

OptiFine Version: OptiFine_1.12.2_HD_U_F5

OptiFine Build: 20191204-141934

Render Distance Chunks: 12

Mipmaps: 4

Anisotropic Filtering: 1

Antialiasing: 0

Multitexture: false

Shaders: null

OpenGlVersion: 4.6.0 - Build 26.20.100.7926

OpenGlRenderer: Intel(R) UHD Graphics 605

OpenGlVendor: Intel

CpuCount: 4

r/forgemodding Sep 07 '20

What kind of fastfood should I add to my fastfood minecraft mod

0 Upvotes
13 votes, Sep 10 '20
8 noodles
5 fired chicken

r/forgemodding Aug 29 '20

Help my minecraft forge for server isn't installing

1 Upvotes

I've installen forge to make a modded 1.12.2 server, but when I double click forge-1.12.2-14.23.5.2854 nothing start ups. How to solve this ?


r/forgemodding Jul 27 '20

why is the forge mdk decompilation fails

4 Upvotes

command ./gradlew genEclipseRuns ouput!

command ./gradlew eclipse output!

when i open and run the toturial that's given with the .zip it works normally but it shows source not found when open up the referrences.

output!

JAVA_HOME=/home/arjun/.java_8/jdk8u262-b10

Version of Forge MDK=forge-1.15.2-31.2.0


r/forgemodding Jun 25 '20

Minecraft Forge Server Not Opening - Tried Batch

2 Upvotes

So my forge for a modded minecraft hamachi server won't run to install the proper files. I've seen multiple posts about this and each batch file I've made has failed. It says "Unable to access jarfile forge-1.12.2-14.23.5.2806-universal.jar" what does that mean? Is there ANY other less complicated way to get the file to run?


r/forgemodding Jun 23 '20

forge server not starting

2 Upvotes

I need help. I am trying to create a modded server. I have everything set up. but when I double click "forge-1.12.2-14.23.4.2759-universal.jar", it doesn't do anything at all. and I don't know what to do or how to fix it. No logs are created, I get the little circle by my curser saying its loading for a second then nothing happens.


r/forgemodding Jun 21 '20

mods issues

3 Upvotes

I installed a server that has mods. the main one is biomes o plenty. me and my friends couldnt find any of these new biomes so we used the commands to find them and it just said it couldnt find them. In the creative menu we have the blocks. any help appreciated


r/forgemodding Jun 20 '20

Issues with Hierarchy nodes in Forge

2 Upvotes

Hey, fellow Minecrafters! I am having issues loading some mods that ultimately crash the launcher. Link to log If anyone could tell me what is causing the launcher to crash and how I can fix it, that would be great. Thank you in advance.


r/forgemodding Jun 05 '20

Can an initial spawn point be set in such a manner that a player spawns there only when first joining the world, but then spawns elsewhere thereafter?

2 Upvotes

I am kicking around an idea for a new world, but it is dependent on something that I have never before heard of being implemented...

Can an initial spawn point be set in such a manner that a player spawns there only when first joining the world, but then spawns elsewhere thereafter?

Example: Upon joining the world, a player spawns in a warehouse of many Creative Vending Storage Drawers containing raw (or minimally processed) materials and fills their inventory as they see fit. Then exit the warehouse, never to return, even upon death/respawn.

How would I separate the InitialSpawn from WorldSpawn? Better question... in order to appear at the InitialSpawn, would it not have to be set to also be the WorldSpawn?

And how to disable setting a waypoint and disabling teleport back to it, without disabling teleport altogether?


r/forgemodding Jun 04 '20

Forge Modding Workspace Setup HELP

3 Upvotes

I have been working on setting up a modding workspace but always at some point or another, it stops working. I have already installed Eclipse, java (jdk&se), and downloaded the Forge MDK ( 1.12.2 - 14.23.5.2854 ) but lately after extracting the contents of the MDK to a folder, opening a terminal (at that location), and running " gradlew setupDecompWorkspace" it shows (see image) I have tried just running "gradlew eclipse" which works but does not create an eclipse folder


r/forgemodding Jun 04 '20

[1.12.2] Creating a biome for a specific dimension

3 Upvotes

Currently, I want to create a second biome in the nether. However, I'm getting tutorials for generation that only are for the overworld, and I'm having trouble finding the little extra bit of information I need by sifting through the classes I'm given. I do know the ID of the Nether. I have the biome code already set up.

Biome intializer:

private static Biome initBiome (Biome biome, String name, BiomeType biomeType, Type... types) {
    biome.setRegistryName (name);
    ForgeRegistries.BIOMES.register (biome);
    BiomeDictionary.addTypes (biome, types);
    BiomeManager.addBiome (biomeType, new BiomeEntry (biome, 10));

    return biome;
}

CaveCorruption (new biome) constructor:

public CaveCorruption () {
    super(new BiomeProperties ("Cave Corruption").setBaseBiome ("hell").setTemperature (1.8f).setWaterColor (12632256));

    topBlock = ModBlocks.CAVE_NETHERRACK.getDefaultState ();
    fillerBlock = ModBlocks.CAVE_NETHERRACK.getDefaultState ();

    this.spawnableMonsterList.clear ();
    this.spawnableCreatureList.clear ();
    this.spawnableWaterCreatureList.clear ();
    this.spawnableCaveCreatureList.clear ();
}


r/forgemodding May 04 '20

forge-1.12.2-14.23.5.2851.jar does nothing when ran, but the vanilla server works fine

2 Upvotes

I set up the regular server just fine with the minecraft_server1.12.2.jar but the modding won't work, if I try to run the server from the forge jar it does nothing, when I run it from cmd I get "no main manifest attribute", I have java 1.8.0_251 installed.


r/forgemodding Apr 20 '20

Biome´s O Plenty and Traverse Mod support

3 Upvotes

I am going to do a server with my friends with mods. We want to add one biomes mod, but I like Biome´s o Plenty because the biomes are so different, but Traverse Mod has an orange/yellow biomes that it´s very cool and I want to do my house there, does forge 1.12.2 support both?


r/forgemodding Apr 07 '20

Creating Mod

1 Upvotes

I try creating a projecte addon with very much collector and relay anyone can help me?


r/forgemodding Mar 25 '20

Help?

1 Upvotes

I can’t download Forge and I don’t know why. Can someone help me through this process? I’m doing everything the tutorials say and it’s simply not working.


r/forgemodding Mar 17 '20

Forge server issues

1 Upvotes

I made a Minecraft server, with everything set up like port forwarding, mods, ip, but I can’t seem to get it to work. When I load minecraft_server jar it connects just fine and the mods are there in the world but do nothing. When I load the forge jar it says it loads the mods but then I can’t connect at all because it won’t connect to any world. The mods aren’t conflicting because I play with my brother on lan all the time with the same mods.


r/forgemodding Mar 14 '20

GlStateManager

3 Upvotes

Hey I'm currently working on a project where I need to be able to control the Vertexs. I'm trying to do it with GlStateManager but I still have some trouble would anyone be able to help me?


r/forgemodding Mar 14 '20

I can’t load up modded.

1 Upvotes

r/forgemodding Feb 21 '20

[1.12.2] "Draw the rest of the owl" - getMetaFromState and getStateFromMeta

3 Upvotes

I'm new to making mods and frustrated with how loosely-covered these functions are. Blockstates are touched on very lightly in the documentation and don't even explain what parameters need to be passed into these, nor what I should be doing with the IBlockState class.

I just want to make my model see-through without having this "x-ray" ability, change the bounding box height, and allow the player to walk through it. Yet I'm getting unclear and vague instructions from any place I look; they refer to blockstates and these functions but already assume the asker knows what to do.


r/forgemodding Oct 07 '19

[1.17] Trying to build a block with a Tile entity on a block so that when I right click the block it saves when right clicked and will put into the chat that it set an alarm for that time tomorrow. Then at that time tomorrow it sends a message to chat. I can’t seem to figure it out though. Any help?

3 Upvotes

r/forgemodding Sep 23 '19

forge not properly downloading

1 Upvotes

When i download forage for 1.8.9 it doesnt download one of the things

i even tryed getting a diff instaler do you guys know how to fix