-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18f0600
commit 1e6e602
Showing
31 changed files
with
156 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,8 +38,8 @@ jobs: | |
MAVEN_PASS: ${{ secrets.MAVEN_PASSWORD }} | ||
|
||
- name: Upload Forge Releases (Curse/Modrinth/Github) | ||
id: forge_release | ||
if: contains(steps.properties.outputs.enabledPlatforms, 'forge') | ||
id: neoforge_release | ||
if: contains(steps.properties.outputs.enabledPlatforms, 'neoforge') | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
curseforge-id: ${{ vars.CURSE_ID }} | ||
|
@@ -48,8 +48,8 @@ jobs: | |
modrinth-id: ${{ vars.MODRINTH_ID }} | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
files: ./forge/build/libs/!(*-@(dev|sources|dev-shadow)).jar | ||
name: "[Forge] Cadmus ${{ steps.properties.outputs.version }}" | ||
files: ./neoforge/build/libs/!(*-@(dev|sources|dev-shadow)).jar | ||
name: "[NeoForge] Cadmus ${{ steps.properties.outputs.version }}" | ||
version: ${{ steps.properties.outputs.version }} | ||
version-type: release | ||
changelog-file: changelog.md | ||
|
@@ -87,8 +87,8 @@ jobs: | |
- name: Generate Discord Embed | ||
run: ./gradlew injectEmbed | ||
env: | ||
FORGE_RELEASE_URL: ${{ steps.forge_release.outputs.modrinth-url }} | ||
FABRIC_RELEASE_URL: ${{ steps.fabric_release.outputs.modrinth-url }} | ||
FORGE_RELEASE_URL: ${{ steps.forge_release.outputs.modrinth-version }} | ||
FABRIC_RELEASE_URL: ${{ steps.fabric_release.outputs.modrinth-version }} | ||
|
||
- name: Upload Discord Embed | ||
uses: tsickert/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Update to 1.20.2 | ||
- Fix chunkloading not being applied when you chunk load your already claimed chunk without first unclaiming it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
common/src/main/java/earth/terrarium/cadmus/common/network/NetworkHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
package earth.terrarium.cadmus.common.network; | ||
|
||
import com.teamresourceful.resourcefullib.common.networking.NetworkChannel; | ||
import com.teamresourceful.resourcefullib.common.networking.base.NetworkDirection; | ||
import earth.terrarium.cadmus.Cadmus; | ||
import earth.terrarium.cadmus.common.network.messages.*; | ||
import net.minecraft.network.protocol.PacketFlow; | ||
|
||
public class NetworkHandler { | ||
public static final NetworkChannel CHANNEL = new NetworkChannel(Cadmus.MOD_ID, 1, "main", true); | ||
|
||
public static void init() { | ||
CHANNEL.registerPacket(NetworkDirection.CLIENT_TO_SERVER, ServerboundRequestClaimedChunksPacket.ID, ServerboundRequestClaimedChunksPacket.HANDLER, ServerboundRequestClaimedChunksPacket.class); | ||
CHANNEL.registerPacket(NetworkDirection.CLIENT_TO_SERVER, ServerboundUpdateClaimedChunksPacket.ID, ServerboundUpdateClaimedChunksPacket.HANDLER, ServerboundUpdateClaimedChunksPacket.class); | ||
CHANNEL.registerPacket(NetworkDirection.CLIENT_TO_SERVER, ServerboundClearChunksPacket.ID, ServerboundClearChunksPacket.HANDLER, ServerboundClearChunksPacket.class); | ||
CHANNEL.registerPacket(NetworkDirection.CLIENT_TO_SERVER, ServerboundListenToChunksPacket.ID, ServerboundListenToChunksPacket.HANDLER, ServerboundListenToChunksPacket.class); | ||
CHANNEL.registerPacket(PacketFlow.SERVERBOUND, ServerboundRequestClaimedChunksPacket.ID, ServerboundRequestClaimedChunksPacket.HANDLER, ServerboundRequestClaimedChunksPacket.class); | ||
CHANNEL.registerPacket(PacketFlow.SERVERBOUND, ServerboundUpdateClaimedChunksPacket.ID, ServerboundUpdateClaimedChunksPacket.HANDLER, ServerboundUpdateClaimedChunksPacket.class); | ||
CHANNEL.registerPacket(PacketFlow.SERVERBOUND, ServerboundClearChunksPacket.ID, ServerboundClearChunksPacket.HANDLER, ServerboundClearChunksPacket.class); | ||
CHANNEL.registerPacket(PacketFlow.SERVERBOUND, ServerboundListenToChunksPacket.ID, ServerboundListenToChunksPacket.HANDLER, ServerboundListenToChunksPacket.class); | ||
|
||
CHANNEL.registerPacket(NetworkDirection.SERVER_TO_CLIENT, ClientboundSendClaimedChunksPacket.ID, ClientboundSendClaimedChunksPacket.HANDLER, ClientboundSendClaimedChunksPacket.class); | ||
CHANNEL.registerPacket(NetworkDirection.SERVER_TO_CLIENT, ClientboundUpdateListeningChunksPacket.ID, ClientboundUpdateListeningChunksPacket.HANDLER, ClientboundUpdateListeningChunksPacket.class); | ||
CHANNEL.registerPacket(PacketFlow.CLIENTBOUND, ClientboundSendClaimedChunksPacket.ID, ClientboundSendClaimedChunksPacket.HANDLER, ClientboundSendClaimedChunksPacket.class); | ||
CHANNEL.registerPacket(PacketFlow.CLIENTBOUND, ClientboundUpdateListeningChunksPacket.ID, ClientboundUpdateListeningChunksPacket.HANDLER, ClientboundUpdateListeningChunksPacket.class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+157 Bytes
...src/main/resources/assets/cadmus/textures/gui/sprites/claimmap/trash_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+157 Bytes
...ources/assets/cadmus/textures/gui/sprites/claimmap/trash_button_highlighted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+144 Bytes
common/src/main/resources/assets/cadmus/textures/gui/sprites/claimmap/x_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+140 Bytes
.../resources/assets/cadmus/textures/gui/sprites/claimmap/x_button_highlighted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
forge/src/main/java/earth/terrarium/cadmus/client/compat/rei/forge/CadmusReiPluginForge.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
org.gradle.jvmargs=-Xmx2G | ||
|
||
enabledPlatforms=fabric,forge | ||
enabledPlatforms=fabric,neoforge | ||
|
||
version=1.0.3 | ||
version=1.1.0 | ||
group=earth.terrarium.cadmus | ||
|
||
minecraftVersion=1.20.1 | ||
minecraftVersion=1.20.2 | ||
parchmentVersion=2023.07.02 | ||
mixinExtrasVersion=0.2.0-beta.8 | ||
mixinExtrasVersion=0.2.1 | ||
|
||
resourcefulLibVersion=2.1.11 | ||
resourcefulLibVersion=2.2.2 | ||
|
||
prometheusVersion=0.0.0 | ||
journeymapVersion=1.20-1.9-fabric-SNAPSHOT | ||
reiVersion=12.0.652 | ||
reiVersion=13.0.678 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
loom.platform=neoforge | ||
neoforgeVersion=20.2.60-beta |
8 changes: 8 additions & 0 deletions
8
...src/main/java/earth/terrarium/cadmus/client/compat/rei/neoforge/CadmusReiPluginForge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//package earth.terrarium.cadmus.client.compat.rei.neoforge; | ||
// | ||
//import earth.terrarium.cadmus.client.compat.rei.CadmusReiClientPlugin; | ||
//import me.shedaniel.rei.forge.REIPluginClient; | ||
// | ||
//@REIPluginClient | ||
//public class CadmusReiPluginForge extends CadmusReiClientPlugin { | ||
//} |
30 changes: 15 additions & 15 deletions
30
...admus/client/forge/CadmusClientForge.java → ...client/neoforge/CadmusClientNeoForge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...util/forge/FireworkRocketEntityMixin.java → ...l/neoforge/FireworkRocketEntityMixin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.