M gradle.properties => gradle.properties +5 -5
@@ 3,15 3,15 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/use
- minecraft_version=1.16
- yarn_mappings=1.16+build.1
- loader_version=0.8.8+build.202
+ minecraft_version=1.16.4
+ yarn_mappings=1.16.4+build.6
+ loader_version=0.10.6+build.214
# Mod Properties
- mod_version = 1.1.0
+ mod_version = 1.2.0
maven_group = williewillus
archives_base_name = simple-server-sorter
# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
- fabric_version=0.13.1+build.370-1.16
+ fabric_version=0.25.1+build.416-1.16
M src/main/java/com/williewillus/sss/SortCommand.java => src/main/java/com/williewillus/sss/SortCommand.java +1 -1
@@ 46,7 46,7 @@ public class SortCommand {
private static int sortTargeted(CommandContext<ServerCommandSource> ctx, SortStrategy strategy) throws CommandSyntaxException {
ServerPlayerEntity player = ctx.getSource().getPlayer();
- HitResult hit = player.rayTrace(5, 0, false);
+ HitResult hit = player.raycast(5, 0, false);
if (hit.getType() == HitResult.Type.BLOCK) {
BlockPos pos = ((BlockHitResult) hit).getBlockPos();
BlockState state = player.getServerWorld().getBlockState(pos);
M src/main/resources/fabric.mod.json => src/main/resources/fabric.mod.json +1 -1
@@ 24,6 24,6 @@
"depends": {
"fabricloader": ">=0.8.8",
"fabric": ">=0.13",
- "minecraft": "1.16.x"
+ "minecraft": ">=1.16.4"
}
}