Skip to content

Instantly share code, notes, and snippets.

View apple502j's full-sized avatar
🍎
Eaten

apple502j apple502j

🍎
Eaten
View GitHub Profile

Jane Doe v. NPA (Bathroom Case)

2021-GYO-HI No.285 Reversal of Judgment on Administrative Measures Request, State Tort Claims Case

Decided July 11, 2023

Third Petty Bench, SCOJ

Translation notes: re-styled to be Markdown-friendly. Added headers missing in the original document.

23w31a and 32a update docs

Was busy mapping stuff last week, here's the combined update documentation!

Fabric updates

Fabric Loader 0.14.22 was released with a small change to version handling.

Fabric API has received several breaking changes in both versions.

Networking API

Networking API's implementation was reworked based on Mojang's changes. While the API breakage is minimum, the packet protocol it uses is different from the older one.

23w35a: Recipes Update

Weekly Update Stuff is back! I do skip an update or two, if the changes are not noteworthy. This week, Mojang had a small changelog - but the code changes are big. So here they are.

Fabric updates

Fabric API 0.87.2 for 23w35a was released, with several breaking changes.

  • Data Generation API v13 and Recipe API v2 received significant changes to reflect vanilla code changes.
  • Message API was bumped to v6. Vanilla MessageDecorator is now, once again, synchronous. Yes, I introduced a change that broke data packs. Sorry.
  • Object Builder API v12 just removes the deprecated CriterionRegistry.

1.20.2-pre1 update

Yet another snapshot for the game of Necraft. Or, so says the Matcher.

Fabric update

No breaking change in this update (0.88.2). Note, however, that, a recent PR added Fabric BlockView API v2. This replaced Rendering Data Attachment v1 API. The old API is still available, but is deprecated. Deprecated APIs are now opt-out in development environment, so this shouldn't cause that many issues.

Another recent change is that side parameter in SidedStorageBlockEntity is now documented and marked as nullable. This matches the actual behavior. Make sure to re-check the code.

Minecraft update

Trading

23w40a: Block Codecs Update

A surprise update for 1.20.3 comes, with a big change to blocks! The changes are likely for the future expansion of data packs to allow custom blocks. All Block classes must(tm) now define its codec. I recommend checking the article on Fabric Modding Wiki, that should be good for most users.

Fabric updates

A new Fabric Loader, version 0.14.23, supporting 1.20.3 versions was released. This update also comes with several changes, including support for Java 22 and duplicate loader detection that is useful in dev environment. It also changes some error messages to be more user-friendly.

Loom 1.4 was also released; this version requires Gradle 8.3. The biggest feature is the support for Vineflower (formerly known as Quiltflower) decompiler. Vineflower produces better output in certain cases, including chained methods. CFR remains the default decompiler. Other changes include fabricApi.module support for deprecated modules, disk usage imp

23w41a: Command Update

Commands received the biggest change in this snapshot. With the help of the new Brigadier function and the advanced command execution implementation, commands were significantly enhanced.

Fabric update

Fabric API 0.90.1 was released, with no breaking changes.

Minecraft changes

There is no progress on last week's block codecs. This week, we instead saw a massive refactor in commands.

Commands

Unicopia Mod Security Advisory

CVE: CVE-2023-39680

Deserialization of untrusted data exists in Unicopia mod for Minecraf by Sollace up to and including version 1.1.1. Unsafe Java deserialization occurs after a user's client connects to a malicious server. This is fixed in version 1.2.0. (See the fix commit)

CVSS3.1: 7.5 (High) - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

23w44a (and some bits of 43a)

The sort-of-weekly thingy is back?

Fabric update

No breaking changes for Fabric API.

Minecraft update

Ticks (23w43a)

/tick command from the Carpet mod arrives in the vanilla game. To support this functionality in your mod:

23w45a: Another Codecification Update

Advancements got codecs, registries were updated, etc.

Fabric update

FAPI 0.90.8 released, no breaking change.

Minecraft update

Blocks and spawners

Some mob spawner logics have been moved to Spawner interface (to be implemented by spawner block entities). MobSpawnerLogic and related classes are now placed in block.spawner package. The existing Spawner interface used for spawning cats, "the worst mob", and the frequent homicide victims is now renamed to SpecialSpawner.