Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Useful Tutorial?


Recommended Posts

Hi, I am COMPLETELY new to Forge modding, I've used bukkit before but Forge is still different. I have no idea what I'm doing. All of the tutorials I've found give code that does not work, for example: "import cpw.mods.fml.common.Mod;". I use that, and it gives me an error, this is of course because that class is not in the "common" package. If anyone knows of a tutorial that WILL work, could you direct me to this?

Link to comment
Share on other sites

To find tutorials let me advertise my own pet project: http://www.mazetar.com/mctuts/displayTutorials.php

There you can find a bunch of forge tutorials in a searchable list :)


For beginners I would recommend the following:


1. Learn java http://see.stanford.edu/see/lecturelist.aspx?coll=824a47e1-135f-4508-a5aa-866adcae1111


2. Get into modding with forge:


If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

Copy everything but the imports.


Import classes as needed (hit ctrl-O I think it is, to organize imports.  It'll automagically import any class it recognizes and will promt when there's more than one possible match).

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.


Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.


DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hazmat Suit from Mekanism is the problem. I just found it populating itself to the max over and over raising havok in my Refined storage. Not sure why but i deleted it through transmutation and then unistalled it again. This was in Vault hunters
    • [19mai2022 11:08:54.412] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Bee_Lytho, --version, 1.16.5-forge-36.2.34, --gameDir, C:\Users\vivie\AppData\Roaming\.minecraft, --assetsDir, C:\Users\vivie\AppData\Roaming\.minecraft\assets, --assetIndex, 1.16, --uuid, 9ca0e0921a5c4760809353131bad1432, --accessToken, ????????, --userType, msa, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.34, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550] [19mai2022 11:08:54.421] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 1.8.0_51 by Oracle Corporation [19mai2022 11:08:54.475] [main/WARN] [cpw.mods.modlauncher.SecureJarHandler/]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED [19mai2022 11:08:54.814] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad [19mai2022 11:08:54.817] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file URL: file:/C:/Users/vivie/AppData/Roaming/.minecraft/mods/OptiFine_1.18.1_HD_U_H4.jar [19mai2022 11:08:54.819] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file: C:\Users\vivie\AppData\Roaming\.minecraft\mods\OptiFine_1.18.1_HD_U_H4.jar [19mai2022 11:08:54.824] [main/INFO] [optifine.OptiFineTransformer/]: Target.PRE_CLASS is available [19mai2022 11:08:55.172] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [19mai2022 11:08:55.296] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/vivie/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=CLIENT [19mai2022 11:08:55.321] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.initialize [19mai2022 11:08:56.863] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.AbstractMethodError: Method optifine/OptiFineTransformationService.beginScanning(Lcpw/mods/modlauncher/api/IEnvironment;)V is abstract [19mai2022 11:08:56.863] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at optifine.OptiFineTransformationService.beginScanning(OptiFineTransformationService.java) [19mai2022 11:08:56.863] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.api.ITransformationService.runScan(ITransformationService.java:74) [19mai2022 11:08:56.867] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:114) [19mai2022 11:08:56.870] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:115) [19mai2022 11:08:56.870] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler$$Lambda$204/901205084.apply(Unknown Source) [19mai2022 11:08:56.871] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267) [19mai2022 11:08:56.872] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) [19mai2022 11:08:56.873] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) [19mai2022 11:08:56.874] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) [19mai2022 11:08:56.874] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) [19mai2022 11:08:56.875] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [19mai2022 11:08:56.876] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) [19mai2022 11:08:56.877] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:116) [19mai2022 11:08:56.877] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63) [19mai2022 11:08:56.878] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.Launcher.run(Launcher.java:76) [19mai2022 11:08:56.879] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)     Thank you  
    • So something like this is what you meant right? I tested it and this setup works I just wanna make sure I did it correctly New Tile: https://pastebin.com/XHduUJcA InputStackHandler: https://pastebin.com/JKZiSska
    • This is how I fixed it not sure this is the correct way, but it works boolean flag = fluidstate.getType() != Fluids.EMPTY; boolean flag = fluidstate.getType() != Fluids.EMPTY; Added this method @Override public boolean canPlaceLiquid(BlockGetter p_54325_, BlockPos p_54326_, BlockState p_54327_, Fluid p_54328_) { return false; }  
    • Hello, I also want to increase the reach attack of some tools. I would like you to help me especially with the PacketHandler and put it in the tools
  • Topics

  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.