File tree Expand file tree Collapse file tree 6 files changed +14
-9
lines changed
org/thinkingstudio/bedsheet Expand file tree Collapse file tree 6 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
1
## Changelog
2
- - try fix # 4
2
+ - fix ` releaseTarget `
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ repositories {
28
28
name = ' ParchmentMC'
29
29
url = ' https://maven.parchmentmc.org'
30
30
}
31
+ maven {
32
+ url " https://maven2.bai.lol"
33
+ content {
34
+ includeGroup " lol.bai"
35
+ }
36
+ }
31
37
}
32
38
33
39
dependencies {
@@ -39,6 +45,8 @@ dependencies {
39
45
}
40
46
neoForge " net.neoforged:neoforge:${ project.neoforge_version} "
41
47
48
+ modImplementation " lol.bai:badpackets:neo-0.8.2"
49
+
42
50
compileOnly " com.google.code.findbugs:jsr305:${ project.jsr305_version} "
43
51
}
44
52
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ loom.platform = neoforge
4
4
5
5
# Mod Properties
6
6
minecraft_version =1.21.4
7
- neoforge_version =21.4.78 -beta
7
+ neoforge_version =21.4.112 -beta
8
8
jsr305_version =3.0.2
9
9
parchment_mappings =2025.01.19
10
10
11
11
# Mod Properties
12
12
upstream_version = 1.4.147
13
- mod_version = 0.1.3
13
+ mod_version = 0.1.4
14
14
maven_group = org.thinkingstudio.bedsheet
15
15
archives_base_name = bedsheet
16
16
Original file line number Diff line number Diff line change 9
9
import carpet .utils .Translations ;
10
10
import carpet .utils .CommandHelper ;
11
11
import carpet .utils .Messenger ;
12
- //import net.fabricmc.loader.api.FabricLoader;
13
- //import net.fabricmc.loader.api.SemanticVersion;
14
12
import net .minecraft .commands .CommandSourceStack ;
15
13
import net .minecraft .core .registries .Registries ;
16
14
import net .minecraft .resources .ResourceLocation ;
@@ -52,7 +50,7 @@ public class CarpetSettings
52
50
{
53
51
public static final String carpetVersion = NeoHooks .getModContainer (BedSheetModReference .MODID ).orElseThrow ().getModInfo ().getVersion ().toString ();
54
52
public static final int [] releaseTarget = {
55
- NeoHooks .getModContainer ("minecraft" ).orElseThrow ().getModInfo ().getVersion ().getMajorVersion (),
53
+ NeoHooks .getModContainer ("minecraft" ).orElseThrow ().getModInfo ().getVersion ().getMinorVersion (),
56
54
NeoHooks .getModContainer ("minecraft" ).orElseThrow ().getModInfo ().getVersion ().getIncrementalVersion ()
57
55
};
58
56
public static final Logger LOG = LoggerFactory .getLogger (BedSheetModReference .MODNAME );
Original file line number Diff line number Diff line change 1
1
package org .thinkingstudio .bedsheet ;
2
2
3
3
import net .minecraft .resources .ResourceLocation ;
4
- import org .slf4j .Logger ;
5
- import org .slf4j .LoggerFactory ;
6
4
7
5
public class BedSheetModReference {
8
6
public static final String MODID = "bedsheet" ;
9
7
public static final String MODNAME = "BedSheet" ;
10
- public static final Logger LOGGER = LoggerFactory . getLogger ( MODNAME );
8
+
11
9
public static ResourceLocation getId (String key ) {
12
10
return ResourceLocation .fromNamespaceAndPath (MODID , key );
13
11
}
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ description = '''
14
14
Carpet unofficial NeoForge port.
15
15
'''
16
16
logoFile = " icon.png"
17
+ displayTest = " IGNORE_SERVER_VERSION"
17
18
18
19
[[dependencies .bedsheet ]]
19
20
modId = " neoforge"
You can’t perform that action at this time.
0 commit comments