Jump to content

Cornell

Members
  • Posts

    4
  • Joined

  • Last visited

Cornell's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.