I launched fabric 1.18.2 template from official repository. I use java 17 (adopt open jdk, tried to use open-jdk). Error i get: Answer run in terminal : ./gradlew clean ./gradlew –refresh-dependencies Then reload gradle project in ‘Gradle’ tab.
Tag: minecraft-fabric
Retrieving the position of the PlayerEntity class (Fabric)
I am trying to make a very (at least I think) simple mod for Minecraft that calculates the coordinates of the nearest stronghold. For this, I need the player’s position as well as its jaw. However, I am struggling to even retrieve these simple values. Here’s the code: Keep in mind that I am very (VERY) new to java programming
Offload all “ImmutableMap/List” build work to compile-time?
NOTE: This isn’t specific to Minecraft Fabric. I’m just new to rigid pre-runtime optimization. I’m writing an API hook for Minecraft mods that allows the mapping of various tasks to a Villager’s “profession” attribute, allowing other mods to add custom tasks for custom professions. I have all of the backend code done, so now I’m worried about optimization. I have
Getting World instance by name on client
I’m new to Fabric mod development and I’ve come across an interesting issue. I need a World instance for certain actions within my mod, but I don’t know how to get it. I tried the solutions for Forge …