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

Fake_Name131

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Fake_Name131

  1. Here is code and an explanation of how to draw to a screen. PoseStack matrices = event.getMatrixStack(); // Just get a matrix stack int x1 = 0, y1 = 0, x2 = 100, y2 = 100; // Cooordinates to draw the texture at ResourceLocation texture = new ResourceLocation("mod", "path/to/texture.png"); // Texture RenderSystem.setShaderTexture(0, texture); // Bind texture Gui.blit(matrices, x1, y1, x1, y1, x2, y2, x2, y2); // Render texture Hope this helps
  2. I am trying to apply FORWARD velocity to the player, but I am not sure how to do it. I can apply velocity in XYZ directions using player#setVelocity() but I am not sure how to dynamically add velocity based on the player's direction. My current code: EDIT: Fix formatting
  3. ive had problems with different versions of forge having launch problems and what usually fixes it is a different java version or a reinstall of java i dont know anything about the new mac chips (because i am a linux user) so it might not work but it cant hurt if you give it a try
  4. In older Forge versions, you could use a config file called splash.properties to change the splash screen. Is this still a thing, and if it isn't, is there any alternative?
  5. [mException in thread "main" [32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: net.minecraftforge.fml.loading.moddiscovery.InvalidModFileException: Missing ModLoader in file (main) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at net.minecraftforge.fml.loading.moddiscovery.ModFileInfo.lambda$new$0(ModFileInfo.java:64) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at java.base/java.util.Optional.orElseThrow(Optional.java:408) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at net.minecraftforge.fml.loading.moddiscovery.ModFileInfo.<init>(ModFileInfo.java:64) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.modsTomlParser(ModFileParser.java:62) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.readModList(ModFileParser.java:46) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at net.minecraftforge.fml.loading.moddiscovery.ModFile.identifyMods(ModFile.java:113) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:116) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:213) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at net.minecraftforge.fml.loading.FMLServiceProvider.runScan(FMLServiceProvider.java:107) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:114) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:115) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1675) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:116) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:75) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [m[32m[17:21:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105)
  6. I get this error whenever I try to run some test mod that I made because I decided to learn Forge modding \ license="All rights reserved" #issueTrackerURL="http://my.issue.tracker/" #optional [[mods]] #mandatory modId="somerandommodid" #mandatory version="1.0.0" #mandatory displayName="T E S T" #mandatory #updateJSONURL="http://myurl.me/" #optional #displayURL="https://example.com/" #optional modLoader="javafml" loaderVersion="[31,)" #logoFile="examplemod.png" #optional #credits="Thanks for this example mod goes to Java" #optional authors="Fake_Name131" description=''' commands _fc/_fakechat Adds a fake message to chat. (Accepts & color codes) ''' [[dependencies.somerandommodid]] #optional modId="forge" #mandatory mandatory=true #mandatory versionRange="[34,)" #mandatory ordering="NONE" side="Client" [[dependencies.somerandommodid]] modId="minecraft" mandatory=true versionRange="[1.16.3]" ordering="NONE" side="BOTH"
×
×
  • Create New...

Important Information

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