Jump to content

Search the Community

Showing results for tags 'libraries'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Minecraft Forge
    • Releases
    • Support & Bug Reports
    • Suggestions
    • General Discussion
  • Mod Developer Central
    • Modder Support
    • User Submitted Tutorials
  • Non-Forge
    • Site News (non-forge)
    • Minecraft General
    • Off-topic
  • Forge Mods
    • Mods

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


XMPP/GTalk


Gender


URL


Location


ICQ


AIM


Yahoo IM


MSN Messenger


Personal Text

Found 8 results

  1. Hi, Forge refuses to recognize the mods "moonlight" and "enhancedcelestial" in my friend's modpack for essential, we have double checked that the modpack we're using has both those mods, and it still won't recognize, saying I don't have them. If I try to manually add these mods into my game, it gives me the "Unexpected custom data from client" error. I am stuck in a loop here. -- Unexpected custom data from client Missing required datapack registries: moonlight:soft_fluids, enchancedcelestials:lunar/event, enhancedcelestials:lunar/dimension_settings, moonlight:map_markers -- Logs https://pastebin.com/rvFnk4n3
  2. I downloaded moonlight and all mods in server, but i can't enter server. I've run minecraft the same forge version with server, but it still error Forge 1.20.1 https://imgur.com/vRRX6qd
  3. I keep getting missing toml files, I've tried reinstalling, tried different forge versions and tried it locally always ending in the same results. This is also using the official installer with the "install server" selection. main/WARN Configuration file /home/amp/.ampdata/instances/toml01/Minecraft/config/fml.toml is not correct. Correcting Incorrect key [defaultConfigPath]: was corrected from null to defaultconfigs Mod file /home/amp/.ampdata/instances/toml01/Minecraft/libraries/net/minecraftforge/fmlcore/1.20-46.0.14/fmlcore-1.20-46.0.14.jar is missing mods.toml file Mod file /home/amp/.ampdata/instances/toml01/Minecraft/libraries/net/minecraftforge/javafmllanguage/1.20-46.0.14/javafmllanguage-1.20-46.0.14.jar is missing mods.toml file Mod file /home/amp/.ampdata/instances/toml01/Minecraft/libraries/net/minecraftforge/lowcodelanguage/1.20-46.0.14/lowcodelanguage-1.20-46.0.14.jar is missing mods.toml file Mod file /home/amp/.ampdata/instances/toml01/Minecraft/libraries/net/minecraftforge/mclanguage/1.20-46.0.14/mclanguage-1.20-46.0.14.jar is missing mods.toml file
  4. Hello swarm intelligence, For some context... I have been trying to develop a Minecraft Forge Mod for 1.20.1 (Forge mdk Version 47.2.20) for three weeks now... In theory everything works. Code (at least from my understanding) works, I always get 'BUILD SUCCESFUL IN ... ' when setting up the workspace.. Now I think that's where my problem lies. But I do not know what I am doing wrong. Using what-feels-like every tutorial (including the forge documentation) out there to setup my workspace, the example mod compiles and builds, but as soon as I create a new class (or even change something in the main class; add new code that requires new imports) being told by IntelliJ that Cannot resolve method 'getDistanceSq(PlayerEntity)' [or any other Method, that requires an input] Cannot resolve symbol 'PlayerEntity' etc. or when using Eclipse... PlayerEntity cannot be resolved to a type [and probably related: The import net.minecraft.entity cannot be resolved] world cannot be resolved or is not a field etc. I am starting to question my sanity since I feel like I did everything I could... Yes, I have got a JDK installed (17, added to %PATH% and JAVA_HOME, tried different) Yes, I used .\gradlew --refresh-dependencies (multiple times) I have even setup the same thing on a fresh setup VM... still no success... Now if I am doing a rookie mistake, I'm sorry for wasting your time.. But if you could point me to what I'm doing wrong, or anything that might resolve this I would be so thankful Thanks in advance (Heres the code, if interested) // here was a package declaration, bevore I uploaded this here import net.minecraft.client.Minecraft; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.util.math.BlockPos; import net.minecraft.util.text.StringTextComponent; import java.util.List; public class DistanceCalculator { public static double getSumOfDistancesToNearbyPlayers() { // Get the Minecraft instance Minecraft minecraft = Minecraft.getInstance(); // Get the player controlled by the mod PlayerEntity player = minecraft.player; // Get all players in the world List<PlayerEntity> players = minecraft.world.getPlayers(); double sumDistance = 0; // Iterate over all players for (PlayerEntity otherPlayer : players) { // Check if the other player is within 50 blocks range double distance = player.getDistanceSq(otherPlayer); if (distance <= 50 * 50) { // Compare squared distances to avoid expensive square root calculations sumDistance += Math.sqrt(distance); } } return sumDistance; } public static void displaySumOfDistancesToNearbyPlayers() { double sumDistance = getSumOfDistancesToNearbyPlayers(); Minecraft.getInstance().player.sendMessage(new StringTextComponent("Sum of distances to nearby players within 50 blocks: " + sumDistance)); } private double calculateWeight(double distance) { // (2.718^(0.13*distance))-1 double calculatedWeight = -1; calculatedWeight = Math.exp(0.13 * distance) - 1; return calculatedWeight; } }
  5. In my custom made modpack, every time I try to test the pack itself it crashes not per se on launch. Minecraft loads, but after scanning for mod candidates it crashes the game giving me an Exit Code: 1 error. The game doesn't generate any crashlogs or anything, except for the 'latest.log' In the link, you can find the pastebin of my latest.log Please! I need help. Here is the modlist (usually latest versions are being used!): Advancement Plagues [Forge] *Grend_G AI Improvements *QueenOf AmbientSounds 5 *CreativeMD Amplified Nether *Starmute Anvil Restoration *Serilum AppleSkin *squeek502 Aquamirae (Forge) *Obscuria Architectury API *shedaniel Armor Statues *Fuzs Ars Creo *baileyholl2 Ars Elemental *Alexth99 ...... (and more, don't have the time right to complete the list)
  6. Hello, Im trying to use PythonInterpreter from "jython-standalone" library in my Forge mod. I want to run Python scripts from Java code using Jython. I have added the dependency for jython-standalone in my build.gradle file, but I still get a "NoClassDefFoundError" when I try to use PythonInterpreter. Intellij IDEA does not show any errors in the editor, but the error occurs at runtime. I have tried to sync, rebuild, and invalidate caches, but nothing works. Here is the part of my build.gradle file: dependencies { minecraft 'net.minecraftforge:forge:1.19.2-43.2.4' implementation 'org.python:jython-standalone:2.7.3' } The error: Exception in thread "Thread-11" java.lang.NoClassDefFoundError: org/python/util/PythonInterpreter The part of code: import org.python.util.PythonInterpreter; public class p1 { public static void LoadPart() { PythonInterpreter interpreter = new PythonInterpreter(); ...other I have searched for a solution, but I could not find anything that works for me. what im doing wrong?(Mb I imported this wrong?)
  7. I have a problem when installing forge client. Do you know why is it? And how can I solve it? Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.