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.

Aj3douglas

Members
  • Joined

  • Last visited

Everything posted by Aj3douglas

  1. Hello all, im using the ` RenderGameOverlayEvent.Post` in past this has had a .getResolution method, this method no longer exists, and im just wondering what method I should use to get the screen resolution so I Can scale text to the rig ht location
  2. Hello, I want to make a player walk to a location on an event, I'm fairly new to forge, however I am not new to java. I have setup the event listener, however the bit I do not know how to do is making the player walk to a location. Any help would be appreciated. Thanks!
  3. Aj3douglas posted a topic in Modder Support
    Hello, Im wanting to make a mod that has enchantment upgrades, ie. Sharpness upgrade, efficiency etc etc. I want it so when you craft an item with that it upgrades the enchantment level by one on the item. I do not want to be able to put sharpness on pickaxes however. Where should I get started with this? Each upgrade would need a different texture as well,
  4. Aj3douglas posted a topic in Modder Support
    Hello, Im making a mod that has alot of custom swords, the only thing that changes in the sword is the material used to craft it, it has the same crafting pattern for each sword, do I have to write out a json file for each sword?
  5. Hello, Im fairly new to modding, however I am not new to java. I Want to get an ingredient, in my config file I either wanna specify "minecraft:cobblestone" or "logs", I have these methods to try and deal with that private fun resolveItemTag(tagName:String):Tag<Item> = ItemTags.getCollection()[ResourceLocation(tagName)] ?: throw RuntimeException("The item tag $tagName does not exist!") private fun resolveIngredient(material:String):Ingredient = if(material.contains(":")) Ingredient.fromItems(resolveItem(material)) else Ingredient.fromTag(resolveItemTag(material)) private fun resolveItem(registryName:String):Item = ForgeRegistries.ITEMS.getValue(ResourceLocation("minecraft")) ?: throw RuntimeException("The item $registryName does not exist!") However I get "The item tag logs does not exist!"

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.