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.

s0meg

Members
  • Joined

  • Last visited

  1. Update: The issue seems to have fixed itself. Thank you for your help
  2. I have made sure that there are no typos in any of the Java files or the JSON files that I edited. I took a closer look at it and it seems that the mod itself is not loading when booting the game through the IDE.
  3. s0meg started following Draco18s
  4. Hello. I recently added another music disc to the mod that I have been working on. When I ran the mod, the items, blocks, dimensions and biomes that I coded were not being loaded and according to the log, they are missing IDs. I'm not sure what caused this error and am extremely freaked out because I don't want to restart! I have attached a copy of the log from IntelliJ. As it is too large of a file, I have only attached the part of it that I think is relevant to this situation. Please let me know if you would like to see the whole thing. Any help would be greatly appreciated!
  5. That helps a lot, thanks!
  6. I'm trying to implement durability on an item which transports the player to another dimension on right click. I want the durability to decrease every time it is used, but I do not want the item to disappear once the durability is 0. Here is the current code I have: public class TeleportationStickItem extends Item { public TeleportationStickItem(Properties properties) { super(properties); } @Override public ActionResult<ItemStack> onItemRightClick(World world, PlayerEntity player, Hand hand) { if (!world.isRemote) { player.changeDimension(world.dimension.getType() == DimensionType.byName(WoAiNiMod.DRUG_DIM_TYPE) ? DimensionType.OVERWORLD : DimensionType.byName(WoAiNiMod.DRUG_DIM_TYPE), new VoidTeleporter((ServerWorld) player.getEntityWorld())); } return super.onItemRightClick(world, player, hand); } } Please let me know if there is anything that can help!
  7. Aight thanks mate!
  8. Do you have a specific class I could start with?
  9. I've tried looking on this website as well as many others, but I cannot seem to find an answer for this. I was hoping to create a portal similar to one for the Nether using different blocks instead of Obsidian. I already have created a dimension, but the only thing that is missing is the portal for said dimension. Please let me know if there is a way I can do this!

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.