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. You are trying to reference an object that isn't registered (yet?) Blocks are registered before items. https://forge.gemwire.uk/wiki/Registration
  2. Don't paraphrase errors, post a link to your debug.log
  3. Look at vanilla's ErrorScreen. That's basically all it is, a button and some text. ๐Ÿ™‚
  4. Issue with the littletiles mod. Check you have the latest version then contact the mod author.
  5. Look at what vanilla items do with ItemStack.shrink() and InteractionResultHolder.sidedSuccess() e.g. BoatItem.use()
  6. You are still trying to access objects before they are registered.
  7. https://www.curseforge.com/minecraft/mc-mods/spark
  8. Can't help you if you don't post the debug.log
  9. Minecraft 1.12 and before had a limit of 65535 items (actually 4096 but you had 16 "colors" per item), 1.13 removed that limit.
  10. run/logs/debug.log
  11. As it says, you have duplicate mods installed. Since you don't post the debug.log I can't tell you what they are.
  12. https://johann.loefflmann.net/en/software/jarfix/index.html
  13. You have a conflict between mods (or any custom datapack you have) in the biome blending. Looks like one of them is biomesoplenty? You can use this mod to get more information: https://www.curseforge.com/minecraft/mc-mods/cyanide-forge
  14. https://github.com/sp614x/optifine/issues/7127
  15. Hard to say since you don't post the full debug.log Guess: You are trying to use the 1.18 version of kubejs with 1.19.2?
  16. Issue with the carryon mod. Check you have the latest version then contact the mod author.
  17. This is not a teaching forum. Nor do we write your mod for you. If we answered open ended questions based on random snippets of garbage code like your original question you would just keep coming back for more, proxying the creation of your mod to us. Instead, you need to think about what you are trying to do and research around the topic, e.g. look at where the methods in question are used in vanilla or other mods doing the same thing. When you have more specific questions that are real road blocks (not I spent 5 minutes trying to do this) you can ask here. Since your latest question is based on specifics (but not sadly not much research), I will answer them. There are FriendlyByteBuffer.read/writeUTF() methods for strings. UTF is the java network format of Strings. NOTE: It has a maximum size of 32K unicode characters. If you want more you need to split the string into multiple strings. An example can be found in TagNetworkSerialization.NetworkPayload where is serializes a Map<ResourceLocation, IntList> using read/write functions for the respective keys/values. There will be other examples if you search.

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.