https://github.com/not-coded/cts-8a-parity
Provides some useful Combat Test 8(a) features (that were removed in CTS 8b or CTS 8c) for Combat Test 8c.
https://github.com/not-coded/cts-8a-parity
Last synced: 3 months ago
JSON representation
Provides some useful Combat Test 8(a) features (that were removed in CTS 8b or CTS 8c) for Combat Test 8c.
- Host: GitHub
- URL: https://github.com/not-coded/cts-8a-parity
- Owner: not-coded
- License: gpl-3.0
- Created: 2024-07-29T19:52:20.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-01T20:32:45.000Z (10 months ago)
- Last Synced: 2025-01-28T22:51:04.629Z (4 months ago)
- Language: Java
- Homepage: https://notcoded.is-a.dev
- Size: 16.7 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CTS 8a Parity
Provides some useful Combat Test 8(a) features (that were removed in CTS 8b or CTS 8c) for Combat Test 8c.
> [!IMPORTANT]
> Requires [Fabric API](https://github.com/not-coded/fabric/releases)!
>
> Due to the Networking Changes only being added in **0.26.0**, rizecookey's Fabric API **will not work** due to being a version too **outdated (0.25.0)**. **Please use the link above.**### Features
- 100% Accurate Bedrock Bridging
### For Server Owners
Starting from version **1.0.2**, you can send a packet to **disable/enable** the bedrock bridging functionality.> [!NOTE]
> Bedrock Bridging is **enabled by default**, you do not need to send a packet to enable it, only for disabling it.```java
ResourceLocation CONVENTIONAL_BRIDGING_UPDATE_ID = new ResourceLocation("c", "update_status"); // VERY IMPORTANT!if (ServerPlayNetworking.canSend(player, CONVENTIONAL_BRIDGING_UPDATE_ID)) {
FriendlyByteBuf buf = PacketByteBufs.create();
buf.writeBoolean(true); // Set this to true/false depending on if you want to enable or disable it.
ServerPlayNetworking.send(player, CONVENTIONAL_BRIDGING_UPDATE_ID, buf);
}
```View https://github.com/not-coded/cts-8a-parity/tree/main/src/test/java/net/notcoded/packettest/PacketTest.java for a code example.
### Build Requirements
- Java 21
- Gradle 8.7### Build
- Clone the repository
- `git clone https://github.com/not-coded/cts-8a-parity`
- Run `./gradlew build`