Everything posted by larsgerrits
-
[1.13.2] PlayerEvent.ItemCraftedEvent.craftMatrix is not actually the craftMatrix?
You can register IRecipes just fine, but you need to reference them from a JSON recipe file. To register a custom IRecipe you need to get a RecipeType usingRecipeType.get (look at VanillaRecipeTypes). You also need to register a custom IRecipeSerializer using RecipeSerializers.register. RecipeSerializers also contain the registering of all vanilla serializers. To use your custom IRecipe, set the type of your recipe to the ResourceLocation you specified from YourIRecipeSerializer#getName.
-
[SOLVED] [1.12.2] Every 100 packets there's a memory leak, relogging doesn't sync player capabilities
You don't. When the data changes on in the GUI, you send a packet from the client to the server containing the new information. The server will receive that packet and pass it to the packet handler together with the player, where you can verify if the data is correct (to prevent cheating) and set the capability data.
-
[1.13.2] how to create item
You don't have to with Java 8+. @DcZipPL don't provide copy/paste code like that. He doesn't learn anything from it and it's actually wrong in multiple places. @TheHex create your Items in a RegistryEvent.Register<Item> event handler instead of a static initializer.
-
[1.13.2] how to create commands?
Look at at net.minecraft.command.Commands. It registers all commands there and you can open each one of them to see how they work.
-
[1.13.2] Minecraft.getInstance() method not found
You shouldn't even have had that in the beginning, remove it. How are you building your mod?
-
[1.13.2] Question about Fluid handling
https://github.com/MinecraftForge/MinecraftForge/issues/5545 As Lex said, the current fluid system is completely broken, and they won't add support until 1.14. So you can try to figure out how to use the vanilla system, otherwise you're out of luck.
-
any way to downgrade forge?
Yes. Just pick another profile using a different version of Forge.
-
[1.13.2] Minecraft.getInstance() method not found
Why are you using LWJGL 2? Minecraft updated to LWJGL 3 in 1.13.
-
[1.13.2] Question about Fluid handling
Fluids are going to be completely reworked. You'll have to wait until Forge adds compatability.
-
[SOLVED] [1.13.2] getWorld for custom dimension type always returns null
mcServer is probaby null here.
-
Inconsistency in styling
I thought it was a vanilla method patched by Forge... My mistake!
-
Inconsistency in styling
Mojang obfuscates the vanilla source code. Forge uses a tool called MCP which supplies names for each variable/method/parameter. However, those names are supplied by the community, which is why there are consistency issues throughout the code.
-
The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED.
1.7.10 is no longer supported on this forum due to it's age. Update.
-
Mod fails to build [1.12.2]
BTW, this is not how you ask for help...
-
WorldSavedData help, forge docs weren't very helpful to me
The docs explain everything for WorldSavedData. What do you need help with?
-
Access transformers doesn't work with forge classes
That's a lot of variants... (85781777534284265411908227168123262515778152027948561985965565037726945255314758 variants)
-
Crashes my game
Always post the crash log whenever you crash.
-
Forge Server isn't starting
1.7.10 is no longer supported on this forum due to its age. Update.
-
client/server mod compatibility
Don't necro old threads. This is a 5 year old thread and completely unrelated to your problem.
-
Can anybody help with this crash report? im really bad with this kind of thing and i have no clue what any of it means.
1.7.10 is no longer supported on this forum due to it's age. Update.
-
gradlew (...) doesn't work
Why did you comment out the "apply plugin: 'forge'"? It needs to be there. Also, stop modding for 1.7.10. It's not supported anymore because of its age.
-
gradlew (...) doesn't work
Uhmmm... How does your build.gradle look like?
-
[1.13] How to setup workspace to contribute to Forge
So it's actually the same as before (gradlew setup) however I think something got corrupted because a clean clone and fresh setup works again. EDIT: It was caused by the Gradle daemon getting locked up. This has now been fixed in the newest ForgeGradle version.
-
[1.13] How to setup workspace to contribute to Forge
I have the MDK working fine, it's about contributing to Forge (submitting PRs).
-
[1.13] How to setup workspace to contribute to Forge
Hi, I've been wanting to contribute to Forge for 1.13, but I can't seem to setup a proper workspace. I couldn't find anything online on how to setup a workspace with the new ForgeGradle and everyting I've tried leads to the Forge source missing a lot of imports. Can anyone list out the steps to setup a Forge workspace?
IPS spam blocked by CleanTalk.