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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. The word is "your" it has four letters. This isn't twitter where you only have 144 characters, you can afford the time and effort to use proper spelling. Unless you mean the Mesopotamian city-state. No, you will need to rewrite it from the ground up. There is no way around this, as a standalone mod is going to be doing things that are fundamentally incompatible with the Forge ethos.
  2. The base issue is that you aren't synchronizing the entity's inventory to the client (it does not happen automatically until the player interacts with the entity).
  3. Christ, use the given-to-you-logger. It does all that for you.
  4. Then save it under the minecraft ID. Advancements are just json files, put it with the same name, in the correct place, and it'll override.
  5. Basically, this: https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/CogHelper.java#L56
  6. Have you tried this? Have you contacted the authors? What do you expect us to do?
  7. You don't need to. The TileEntity can query the blockstate of its own position any time it wants.
  8. You can't just do this. Override hasTileEntity and CreateTileEntity in your block class.
  9. Use the debugger and make sure that your event handler method is being called.
  10. I don't know why you're having so much trouble. https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/java/com/draco18s/harderfarming/EventHandlers.java#L42-L57
  11. LootTableLoadEvent. So you don't overwrite other mods' additional seeds. Change the number of "rolls"
  12. There's only two options: FORGE and MOD. You're using the wrong one.
  13. @Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD) That is not the correct bus for that event.
  14. When you create a dimension, you have to pass a DimensionType to DimensionManager.registerDimension() Why not...hold onto it? If you have access to the world, you can also query that world for its dimension information, which includes the DimensionType.
  15. Talk to the mod author. Those of us here have no idea what that mod is, where the problem could be, or how to fix it. This is the Forge forums. We deal with Forge.
  16. No. Your client code is sending information to make the server do things. Your server code is telling the server to do those same things (again).
  17. You'll note that your code is being called twice on the integrated server now: once from the logical client side (which sends a command, whichlikely makes the server execute code) and once from the logical server side.
  18. This will always be true on the client
  19. ^^^^^^^^^^^^^^^^^^^^^^^ The class ^^^ Line number Learn to read stack traces.
  20. Items are not proxies. Proxies are proxies, Items are Items. The Item is supposed to call a method in the proxy, it is not the proxy itself.
  21. https://mcforge.readthedocs.io/en/1.13.x/networking/
  22. And all of those examples are terrible. Because all three of those things are main mod class tasks. Check out this and this instead. Or even better, this. Yes. That's how proxies work.
  23. Events don't return values. Second, I'm pretty sure getMoonPhase() is client side only.
  24. You're calling new on an object that likely does not have equals overridden, which means that the two will never be equal. You will need to iterate over the array and remove it via identification.

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.