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.

Cornell

Members
  • Joined

  • Last visited

Everything posted by Cornell

  1. Hey. I'm new in 1.15.2 and i just want to find an item by its name. In 1.12.2 i did it like this: Item.REGISTRY.getObject(new ResourceLocation(unlocalizedName)). So, how can i do the same in 1.15.2 ?
  2. Thanks for the answer. I have already done everything exactly like this. I only had a problem with ForgeGradle plugin version 1.2, which refused to work on gradle versions older than 4.0. However, the issue has already been resolved by replacing ForgeGradle 1.2 with a fork by anatawa12. However, I had to install version 5.0 in the gradle wrapper, the fork does not work with the version below.
  3. Hey. I want to write a mod for all versions of the game. I am designing a modular system using gradle and would like to keep all versions of the game in one project at once. I noticed that many forge versions support different versions of Gradle Wrapper, and some versions depend on certain ones (example 1.7.10 depends on Gradle Wrapper versions earlier than 4.0). Can I implement what I have in mind or is it impossible in principle? p.s. version support is required from 1.7.10 to current p.p.s. I managed to fit two versions in one project: 1.7.10 and 1.12.2. I dare to assume that I can also place the versions between these in my project. But versions higher than 1.12.2 simply refuse to work on gradle4.0
  4. I just want to change the result returned by the method
  5. Hey. I need to change the code of the getLocationCape method in the AbstractClientPlayer class, but I have no idea how to do it. Can someone help with this? P.s. I know about the existence of asm lib, but I do not know how to use it for modifying the code

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.