#How do I change minecraft version?
54 messages · Page 1 of 1 (latest)
First update gradle to the latest version. You can search online for guides on that. Then you want to update loom to 1.6-SNAPSHOT at the top of your build.gradle if it isn't already. Then you should go to the gradle.properties file and update minecraft, yarn, fabric liader and fabric api. I'll send a bot command with the correct ones. After that you just have to go through the code fixing errors and test in game.
!versions
build.gradle (constants inside the build script)
minecraft "com.mojang:minecraft:1.20.5"
mappings "net.fabricmc:yarn:1.20.5+build.1:v2"
modImplementation "net.fabricmc:fabric-loader:0.15.10"
// Fabric API
modImplementation "net.fabricmc.fabric-api:fabric-api:0.97.6+1.20.5"
}```
**gradle.properties** (constants in a separate file, as with Example Mod)
```minecraft_version=1.20.5
yarn_mappings=1.20.5+build.1
loader_version=0.15.10
# Fabric API
fabric_version=0.97.6+1.20.5```
**Mappings Migration** ([more info](https://fabricmc.net/wiki/tutorial:migratemappings))
```gradlew migrateMappings --mappings "1.20.5+build.1"```
Note that the Fabric API version is usually only correct for the latest minor MC release (e.g. 1.16.5 or 1.15.2) due to implementation limitations. Check [CurseForge](https://minecraft.curseforge.com/projects/fabric/files) for a more precise listing.
Settings.Item()
Anyone?
What you did before getting that
Do you have any idea on what happens?
It doesn't shown up any of my classes on the crash
share repo
1.20.5
I don't see anygthing illegal
So
@marble edge Problem in your material
If comment it and all what depend on it it create world success
So what are the error in the material?
I think it's probably to this maybe?
Because it part of ToolMaterial interface
But not sure can it be null. Mojang should mark it as @NotNull if it should not be
but the thing is that I really don't know what I need to return
This method should also be there
but not
Just for fun, put that BlockTags.WOOL
Ah
Minecraft default is BlockTags.INCORRECT_FOR_WOODEN_TOOL
And looks like this
where should I put it?
data -> tags -> blocks...
with this changes, how do I modify the attack damage and these properties on my tools?
Like I already said
Navigate over Source Code and find yourself