Open VladAndreiMorariu opened 2 months ago
@VladAndreiMorariu Can you please compile your fork into mod for me, because i dont know how to do it myself(i know about gradlew.bat, but where is the compiled mod after im running gradlew.bat)
@VladAndreiMorariu Can you please compile your fork into mod for me, because i dont know how to do it myself(i know about gradlew.bat, but where is the compiled mod after im running gradlew.bat)
You need to run the "gradle build" command, and once it's finished, go to the [project_name]/build/libs folder, and inside you'll find the jar file
@VladAndreiMorariu Can you please compile your fork into mod for me, because i dont know how to do it myself(i know about gradlew.bat, but where is the compiled mod after im running gradlew.bat)
You need to run the "gradle build" command, and once it's finished, go to the [project_name]/build/libs folder, and inside you'll find the jar file
sorry, can you do step by step guide? Because i dont understand where and how do i need to run gradle build command, like if i open cmd and run "gradle build" it does nothing
@girshcatt
Ok, I’m assuming you don’t have an IDE:
Hope it helps
@VladAndreiMorariu thank you so much, i compiled mod and it works just fine! with your guide im now able to compile mods from their sources, thanks again!
1.21.2/1.21.3 crashes
@girshcatt
1.21.2/1.21.3 crashes
It's meant for 1.21, I can't assure for newer versions
@VladAndreiMorariu could you do an update to 1.21.2/3 as well?
Very simple port to 1.21.2. Simply replace lines 37-41 in ClientHandler with this:
Optional<Item> item = BuiltInRegistries.ITEM.getOptional(ResourceLocation.fromNamespaceAndPath(namespace, path));
if (item.isPresent()) {
showHandsMainHand = showHandItem(itemstack, item.get(), true);
showHandsOffHand = showHandItem(itemstack1, item.get(), false);
}
And also update the gradle.properties
file accordingly of course
Hi, I've updated the mod to 1.21, and it seems like everything is working smoothly. I hope it's ok for you and makes your work a bit easier. I created a new branch in the fork, but it forced me to make a pull request to the 1.20.x-fabric.