Skip to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

warjort

Members
  • Joined

  • Last visited

Everything posted by warjort

  1. https://forums.minecraftforge.net/topic/91712-supported-version-directory/
  2. First don't post text as images. Your problem is probably that you can't have uppercase characters in resource locations or minecraft asset file names.
  3. Download the latest optifine preview. If it still doesn't work talk to them. https://github.com/sp614x/optifine/issues/7009#issuecomment-1228057896
  4. You changed the **constructor** of PlayerDataStorage to public. You want to change the playerDataStorage field of MinecraftServer. The link I posted above shows an example of changing a field: So you need know what forge calls your field There is probably a more efficient way to do this, but this is how I do it: 1) Look at Mojang's deobfuscation mapping to see what they call field: https://piston-data.mojang.com/v1/objects/8e8c9be5dc27802caba47053d4fdea328f7f89bd/client.txt With some searching you will find: This tells you Mojang call the field "i" Now you need to find out what forge calls it: https://raw.githubusercontent.com/MinecraftForge/MCPConfig/master/versions/release/1.19.2/joined.tsrg and again some searching is required Now you have all the information you need: public net.minecraft.server.MinecraftServer f_129745_ # playerDataStorage Double check my logic is correct, I haven't tested this.
  5. Remove rubidium and other broken client side only mods from the server. You don't need them there.
  6. Issue with valhelsia_core, make sure you have the latest version then contact the mod author. It might be conflicting with another mod you have.
  7. To answer the original question. Try something like this **untested** code in your server starting event: MinecraftServer server = event.getServer(); File statsDir = server.getWorldPath(LevelResource.PLAYER_STATS_DIR).toFile(); // Needs an access transformer PlayerDataStorage storage = server.playerDataStorage; // For each player with an entry in the playerdata folder String[] uuids = storage.getSeenPlayers(); for (String uuid : uuids) { // Load, change and save the stats File playerStats = new File(statsDir, uuid + ".json"); ServerStatsCounter stats = new ServerStatsCounter(server, playerStats); // YOUR CODE HERE stats.save(); } As it says, you will need an access transformer to make the playerDataStorage field in MinecraftServer public. https://forge.gemwire.uk/wiki/Access_Transformers
  8. https://gist.github.com
  9. Not really. You could try to emulate what AnvilBlock.use() does. But you will hit a roadblock trying to implement the ContainerLevelAccess which AnvilMenu/ItemCombinerMenu uses for things like checking the AnvilBlock is still there, breaking the anvil block after crafting, etc.
  10. warjort replied to giro's topic in Support & Bug Reports
    Do you try to read the crash reports before posting them here? You also must be aware that you just installed this mod and hence it is likely the cause. You had a working installation without this mod an hour ago.
  11. warjort replied to giro's topic in Support & Bug Reports
    Something is taking a very long time on the server thread. The error does not identify what the problem is. Try installing the spark mod which can help you diagnose problems like this: https://www.curseforge.com/minecraft/mc-mods/spark Look at its documentation/wiki for how to use it.
  12. warjort replied to giro's topic in Support & Bug Reports
    java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.player.Player.m_150109_()" because "p_27596_" is null at net.minecraft.world.entity.animal.Animal.m_27595_(Animal.java:179) ~[server-1.18.2-20220404.173914-srg.jar%2393!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B} at dev.itsmeow.betteranimalsplus.common.CommonEventHandler.entityDeath(CommonEventHandler.java:85) ~[betteranimalsplus-1.18.2-11.0.5-forge.jar%2358!/:1.18.2-11.0.5] {re:classloading} at dev.architectury.event.forge.EventHandlerImplCommon.event(EventHandlerImplCommon.java:199) ~[architectury-4.9.83-forge.jar%2356!/:?] {re:classloading} Looks like an issue with better animals plus, or it could be architectury. Make sure you have the latest versions of these mods then contact the mod author(s).
  13. Your question is unanswerable. https://forums.minecraftforge.net/topic/89239-excessively-asked-questions-eaq/ Since you are connecting to a server you should post links to both the client's and server's logs/debug.log
  14. Update your java to a recent version.
  15. Download the 1.19.2 version of biomesoplenty the 1.19 won't work with your version of Minecraft. https://www.curseforge.com/minecraft/mc-mods/biomes-o-plenty/files/all?filter-game-version=1738749986%3a73407
  16. Your problem is that you didn't buy the game. 🙂
  17. That is not the minecraft code. Mojang don't give you that either. Minecraft is not an open source project. 🙂 The source code you can see is a decompiled/deobfuscated version created by ForgeGradle.
  18. Mod File: /C:/Users/I VAN HA/AppData/Roaming/.minecraft/mods/alexsmobs-1.19.0.jar Failure message: Alex's Mobs (alexsmobs) has failed to load correctly java.lang.reflect.InvocationTargetException: null Mod Version: 1.19.0 Mod Issue URL: https://github.com/Alex-the-666/AlexsMobs/issues Exception message: java.lang.ClassNotFoundException: net.minecraftforge.client.event.ParticleFactoryRegisterEvent Download the most recent mod file for your version of minecraft https://www.curseforge.com/minecraft/mc-mods/alexs-mobs/files if it still doesn't work, contact the mod author.
  19. Click "show all versions", then hover over the "i" next to the installer you want. It will show a direct download link.
  20. You just reposted the same thing and so my answer is the same as above. If you don't post the debug.log I can't give you anymore information.
  21. That's a lot of accusation for somebody who doesn't know what they are doing. 🙂 How do think other moders or resource pack developers get this information? You probably have many copies of these files on your disk right now. e.g. in your minecraft installation, you can find these assets in MINECRAFT_FOLDER/versions/1.19.2/1.19.2,jar another would be one in your gradle cache if you are using ForgeGradle YOUR_HOME_DIR/.gradle/caches/forge_gradle/minecraft_repo/versions/1.19.2/client.jar
  22. You need to upload your file to somewhere that doesn't want me to install flash (if that even is flash?) or have adverts to adult sites. Anyway, your have a conflict between majruszenchantments and universalenchants. They are both trying to change the same thing in horse armor. They can't both do it. Check you have the latest versions of these mods then contact the mod authors.

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.