Skip to content

Commit 0390354

Browse files
committed
clean sth. change icon, rename
1 parent 5c0ac6b commit 0390354

15 files changed

+32
-46
lines changed

gradle.properties

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,5 @@ loom.platform = neoforge
1111
# Mod Properties
1212
mod_main_version = 0.1.1
1313
carpet_version = 1.4.147
14-
maven_group = org.thinkingstudio.sheet
15-
archives_base_name = sheet
16-
17-
# Release Action properties for Curseforge and Snapshots
18-
# The Curseforge versions "names" or ids for the main branch (comma separated: 1.16.4,1.16.5)
19-
# This is needed because CF uses too vague names for prereleases and release candidates
20-
# Can also be the version ID directly coming from https://minecraft.curseforge.com/api/game/versions?token=[API_TOKEN]
21-
release-curse-versions = Minecraft 1.21:1.21.4
22-
# Whether or not to build another branch on release
23-
release-extra-branch = false
24-
# The name of the second branch to release
25-
release-extra-branch-name = 1.20.4
26-
# The "name" or id of the Curseforge version for the secondary branch
27-
# This is needed because CF uses too vague names for snapshots
28-
# Can also be the version ID directly coming from https://minecraft.curseforge.com/api/game/versions?token=[API_TOKEN]
29-
release-extra-curse-version = Minecraft 1.20:1.20.4-Snapshot
14+
maven_group = org.thinkingstudio.bedsheet
15+
archives_base_name = bedsheet

src/main/java/carpet/CarpetServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import net.minecraft.server.MinecraftServer;
4040
import net.minecraft.server.commands.PerfCommand;
4141
import net.minecraft.server.level.ServerPlayer;
42-
import org.thinkingstudio.sheet.util.NeoHooks;
42+
import org.thinkingstudio.bedsheet.util.NeoHooks;
4343

4444
@SuppressWarnings("removal")
4545
public class CarpetServer // static for now - easier to handle all around the code, its one anyways

src/main/java/carpet/CarpetSettings.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
import org.slf4j.Logger;
3232
import org.slf4j.LoggerFactory;
33-
import org.thinkingstudio.sheet.util.NeoHooks;
34-
import org.thinkingstudio.sheet.SheetModReference;
33+
import org.thinkingstudio.bedsheet.util.NeoHooks;
34+
import org.thinkingstudio.bedsheet.BedSheetModReference;
3535

3636
import java.util.Optional;
3737

@@ -50,12 +50,12 @@
5050
@SuppressWarnings({"CanBeFinal", "removal"}) // removal should be removed after migrating rules to the new system
5151
public class CarpetSettings
5252
{
53-
public static final String carpetVersion = NeoHooks.getModContainer(SheetModReference.MODID).orElseThrow().getModInfo().getVersion().toString();
53+
public static final String carpetVersion = NeoHooks.getModContainer(BedSheetModReference.MODID).orElseThrow().getModInfo().getVersion().toString();
5454
public static final int [] releaseTarget = {
5555
NeoHooks.getModContainer("minecraft").orElseThrow().getModInfo().getVersion().getMajorVersion(),
5656
NeoHooks.getModContainer("minecraft").orElseThrow().getModInfo().getVersion().getIncrementalVersion()
5757
};
58-
public static final Logger LOG = LoggerFactory.getLogger(SheetModReference.MODNAME);
58+
public static final Logger LOG = LoggerFactory.getLogger(BedSheetModReference.MODNAME);
5959
public static final ThreadLocal<Boolean> skipGenerationChecks = ThreadLocal.withInitial(() -> false);
6060
public static final ThreadLocal<Boolean> impendingFillSkipUpdates = ThreadLocal.withInitial(() -> false);
6161
public static int runPermissionLevel = 2;

src/main/java/carpet/api/settings/SettingsManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
import net.minecraft.network.chat.Component;
5454
import net.minecraft.server.MinecraftServer;
5555
import net.minecraft.world.level.storage.LevelResource;
56-
import org.thinkingstudio.sheet.util.NeoHooks;
56+
import org.thinkingstudio.bedsheet.util.NeoHooks;
5757

5858
import static carpet.utils.Translations.tr;
5959
import static java.util.Comparator.comparing;

src/main/java/carpet/mixins/PistonStructureResolver_customStickyMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import net.minecraft.world.level.Level;
1818
import net.minecraft.world.level.block.piston.PistonStructureResolver;
1919
import net.minecraft.world.level.block.state.BlockState;
20-
import org.thinkingstudio.sheet.util.PistonStructureResolverHooks;
20+
import org.thinkingstudio.bedsheet.util.PistonStructureResolverHooks;
2121

2222
@Mixin(PistonStructureResolver.class)
2323
public class PistonStructureResolver_customStickyMixin {

src/main/java/carpet/script/external/Carpet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import org.apache.maven.artifact.versioning.ArtifactVersion;
3737
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
3838
import org.apache.maven.artifact.versioning.VersionRange;
39-
import org.thinkingstudio.sheet.util.NeoHooks;
39+
import org.thinkingstudio.bedsheet.util.NeoHooks;
4040

4141
import javax.annotation.Nullable;
4242
import java.io.IOException;

src/main/java/carpet/script/external/Vanilla.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
import net.minecraft.world.scores.Scoreboard;
7575
import net.minecraft.world.scores.criteria.ObjectiveCriteria;
7676
import net.neoforged.neoforgespi.language.IModInfo;
77-
import org.thinkingstudio.sheet.util.NeoHooks;
77+
import org.thinkingstudio.bedsheet.util.NeoHooks;
7878

7979
import java.util.HashMap;
8080
import java.util.List;

src/main/java/carpet/utils/CarpetRulePrinter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import org.slf4j.Logger;
1919
import org.slf4j.LoggerFactory;
20-
import org.thinkingstudio.sheet.util.NeoHooks;
20+
import org.thinkingstudio.bedsheet.util.NeoHooks;
2121

2222
/**
2323
* Provides a command line interface to generate a dump with all rules

src/main/java/org/thinkingstudio/sheet/SheetModEntrypoint.java renamed to src/main/java/org/thinkingstudio/bedsheet/BedSheetModEntrypoint.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.thinkingstudio.sheet;
1+
package org.thinkingstudio.bedsheet;
22

33
import carpet.CarpetServer;
44
import carpet.utils.CarpetRulePrinter;
@@ -7,11 +7,11 @@
77
import net.neoforged.fml.loading.FMLLoader;
88
import net.neoforged.neoforge.common.NeoForge;
99

10-
@Mod(SheetModReference.MODID)
11-
public class SheetModEntrypoint {
12-
public SheetModEntrypoint(IEventBus modEventBus) {
10+
@Mod(BedSheetModReference.MODID)
11+
public class BedSheetModEntrypoint {
12+
public BedSheetModEntrypoint(IEventBus modEventBus) {
1313
CarpetServer.onGameStarted();
14-
SheetModEvents.registerEvents(modEventBus, NeoForge.EVENT_BUS);
14+
BedSheetModEvents.registerEvents(modEventBus, NeoForge.EVENT_BUS);
1515
if (FMLLoader.getDist().isDedicatedServer()) {
1616
CarpetRulePrinter.onInitializeServer();
1717
}

src/main/java/org/thinkingstudio/sheet/SheetModEvents.java renamed to src/main/java/org/thinkingstudio/bedsheet/BedSheetModEvents.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.thinkingstudio.sheet;
1+
package org.thinkingstudio.bedsheet;
22

33
import carpet.CarpetServer;
44
import carpet.fakes.EntityInterface;
@@ -17,7 +17,7 @@
1717
import static carpet.script.CarpetEventServer.Event.PLAYER_DIES;
1818
import static carpet.script.CarpetEventServer.Event.PLAYER_SWAPS_HANDS;
1919

20-
public class SheetModEvents {
20+
public class BedSheetModEvents {
2121
public static void registerEvents(IEventBus modEventBus, IEventBus forgeEventBus) {
2222
forgeEventBus.addListener(EventPriority.HIGHEST, RegisterCommandsEvent.class, event -> {
2323
CarpetServer.registerCarpetCommands(event.getDispatcher(), event.getCommandSelection(), event.getBuildContext());
@@ -43,7 +43,7 @@ public static void registerEvents(IEventBus modEventBus, IEventBus forgeEventBus
4343

4444

4545
modEventBus.addListener(EventPriority.HIGHEST, RegisterPayloadHandlersEvent.class, event -> {
46-
final PayloadRegistrar registrar = event.registrar(SheetModReference.MODID);
46+
final PayloadRegistrar registrar = event.registrar(BedSheetModReference.MODID);
4747

4848
registrar.playBidirectional(CarpetClient.CarpetPayload.TYPE, CarpetClient.CarpetPayload.STREAM_CODEC,
4949
(payload, context) -> context.handle(payload)

0 commit comments

Comments
 (0)