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. One of your mods is trying to load client classes on the server. Impossible to say which with so little information shown.
  2. You truncated the crash report. There is no error shown. But I can tell you are using the wrong version of optifine for forge 40.1.80
  3. And what about your debugging I suggested you do? This works fine for me. I get a spinning diamond when I jump. @Mod.EventBusSubscriber(modid = MOD_ID, value=Dist.CLIENT) public class Test { @SubscribeEvent public static void livingJump(LivingJumpEvent event) { var entity = event.getEntity(); if (entity instanceof LocalPlayer) { Minecraft.getInstance().gameRenderer.displayItemActivation(new ItemStack(Items.DIAMOND, 1)); } } }
  4. I suggest, you download the mdk and modify that. https://docs.minecraftforge.net/en/latest/gettingstarted/ It's almost like you are deliberately trying to make your mod have every possible misconfiguration/error. While at the same time forcing us to continually ask for information rather than you posting the relevant files you have changed. And you must have seen the footnote to my posts multiple times now. Most likely this problem is caused by you not specifying your minecraft dependency or run configuration properly in the build.gradle or the mods.toml? Or you changed something important and didn't regenerate your ide run configurations. But I can only guess with you drip feeding information.
  5. Looks like your class is not in a package? For some reason Forge doesn't like mod classes in the root package.
  6. You can attach a capability to a LevelChunk. See Data Storage here: https://forge.gemwire.uk/wiki/Main_Page
  7. Nope. It doesn't even show the StringIndexOutOfBoundException you partially quoted earlier.
  8. Mixin doesn't like you using java 19. Use java 17
  9. Why don't you show the full error message? One obvious thing is you can't have uppercase characters in block names or any ResourceLocation. But AFAIK you don't get that error message for this.
  10. Remove rubidium, oculus and other broken client side only mods from the server. You don't need them there.
  11. ok, you are using 1.18 which doesn't have that event. So you will need to setTarget(null) manually.
  12. You tried something different. It is LivingChangeTargetEvent which is cancellable. You should learn to do your own research/debugging instead of asking us to fix every little problem you come across.
  13. https://github.com/sp614x/optifine/issues/7103
  14. FMLCommonSetupEvent or FMLClientSetupEvent runs after the config loading (I assume you are not using server configs which are loaded with the world) . See: https://forge.gemwire.uk/wiki/Stages_of_Modloading You should read that wiki in general.
  15. Looks like one of your mods is messing around with the block break progress and has broken it. That is where this error is occurring. I have highlighted the mods that have changed the affected class. But this could be any of your mods. Check you have the latest version of your mods and see if one of them has this already reported as a bug. Otherwise, you will have to experiment with removing mods until you find the problem one. (Backup your world before doing this). Start with mods that modify block breaking, e.g. I can see you have multimine and reap.
  16. That looks like you are calling this from a command? Unless you have specifically implemented this as a client command, that is wrong. Commands run on the server so you can't do anything with rendering directly. You need a network packet to tell the client to do something for you. But assuming you are trying this in single player, you should check what ItemStack is actually being used by your code and if it is even being called.
  17. Your question is unclear. You don't say what problem you are having. If you want to know how to apply an effect to an entity look at WitherSkeleton.doHurtTarget() as an example.
  18. ForgeRegistries.ITEMS.getValues()
  19. Just use an ide. ForgeGradle creates a decompiled/deobfuscated version of the minecraft source.
  20. Your question is too unfocused and is not really a support question. It's a please teach me question. Here's some pointers: On the getShapeForEachState(), look at how vanilla uses it, e.g. BigDripleafBlock For the "double" block entity, the example from vanilla I can think of is the double chest that animates the chest opening for "2 blocks". See ChestRenderer. If you have specific problems feel free to ask, but "please write my mod for me" type questions like your original post will probably just get ignored. Especially so if they are please teach me how to do complicated rendering/animations. ๐Ÿ™‚
  21. You have the wrong versions of forge, flywheel and sophistacatedcore for some of your installed mods. For example, create requires at least forge 40.1.60: https://github.com/Creators-of-Create/Create/blob/1f06034b47d6aabd86196e3673e6fafba9262a36/src/main/resources/META-INF/mods.toml#L22 Check you have the latest versions of your mods and forge. Also create had a major rewrite about a month or so ago. If you have create addon mods whose latest release is before then, they probably won't work.
  22. Then you did it wrong. Double check you did each step correctly. Otherwise, your question is unanswerable. We have no idea what you did/did not do correctly or what error you are getting. You don't show any useful information. We have no psychic powers. "It does not work" style posts are a waste of your time and ours.
  23. https://docs.minecraftforge.net/en/latest/gettingstarted/

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.