File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/java/me/emafire003/dev/beampass Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,16 @@ org.gradle.jvmargs=-Xmx1G
3
3
4
4
# Fabric Properties
5
5
# check these on https://fabricmc.net/develop
6
- minecraft_version =1.21
7
- yarn_mappings =1.21 +build.9
6
+ minecraft_version =1.20.1
7
+ yarn_mappings =1.20.1 +build.10
8
8
loader_version =0.15.11
9
9
10
10
11
11
# Mod Properties
12
- mod_version = 1.4.0
12
+ mod_version = 1.4.0+1.20.1
13
13
maven_group = me.emafire003.dev
14
14
archives_base_name = beampass
15
15
16
16
# Dependencies
17
- fabric_version =0.100.6 +1.21
17
+ fabric_version =0.92.2 +1.20.1
18
18
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public static List<String> convertFromBlockList(List<Block> typelist){
61
61
public static List <Block > convertToBlockList (List <String > typelist ){
62
62
List <Block > list = new ArrayList <>();
63
63
for (String type : typelist ){
64
- Block block = Registries .BLOCK .get (Identifier .of (type ));
64
+ Block block = Registries .BLOCK .get (Identifier .tryParse (type ));
65
65
list .add (block );
66
66
67
67
}
You can’t perform that action at this time.
0 commit comments