Jump 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.

Novârch

Members
  • Joined

  • Last visited

Everything posted by Novârch

  1. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  2. There's a comment right above the constructor saying what you should use instead, use the supplier constructor or use as Ugdhar said.
  3. The pitch DOES change, the issue is that it snaps back to 0 every tick.
  4. A few things I notice at first glance, I usually register my packets in my main constructor, don't know if that's relevant. Why do you have a static boolean for if the key is pressed, your keybind most likely won't work in multiplayer if you use it. The int parameter in your key class is completely useless, you should remove it. I think ctx.get.setPacketHandled(true) should always be called, whether or not your requirement was met, call it at the end of the handle method.
  5. I've created a custom entity that I want to remotely control, I've accomplished this by sending packets from InputEvent and ClientTickEvent to move and setting it as the renderViewEntity, the issue is that when I set the entity's pitch from ClientTickEvent ingame it always tries to snap back to 0, the packet in question can be found here and the event I call it from here. Edit: SOLVED by calling setRotation from inside the entities tick method, have no idea why this changed anything.
  6. It seems you tried to use KeyBind on the Server, keybinds are client side, also why are you registering your packet on a key press? You should register it somewhere else, I've always done it in my main constructor.
  7. Thanks for the reply, seems like almost what I'm looking for, but the effect looks like it's permanent as I'm binding it to the player, is there a way I can make it toggleable?
  8. I want to make the game look black and white temporarily, like with the old Super Secret Settings, how would I do this?
  9. Please learn basic Java before modding, also read the documentation, it explains basic concepts such as networking and events.
  10. WorldTickEvent, get the ServerWorld and check all entities using getEntities, then check if an entity is instanceof your entity.
  11. Pretty sure that directory has to be called your modid.
  12. In all of your item and blockstate jsons you put "help" in the part that should contain your modid instead of your actual modid ("helpmeplease"). And the directory it's in has a capital letter and isn't your modid.
  13. Could you post your mod as a git repo? It would be much easier to inspect every json then, btw the modid in the build.gradle doesn't matter, it's just what your output jar will be called.
  14. Please learn basic Java, all the problems listed here a basic Java syntax errors, you will not receive help here if you don't know Java.
  15. Stop using that pile of trash immediately, if you want to learn to code stick to Java and ONLY Java. I can't describe how bad the code that abomination generates is.
  16. 1.8 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  17. 1.8 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  18. It doesn't matter where you put the class, packages are just for sorting.
  19. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  20. NBT tags for what, items, entities? Be more specific.
  21. How could that be relevant to your issue? Think about it, every mod is made by someone. Please provide logs for more context.
  22. I'm already using it, wouldn't have if it wasn't for the helpful code comment above it.
  23. Look at how vanilla handles ice physics, it's all there,

Important Information

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

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.