5.5 KiB
ArcadeGames 2.19f — Reconstructed & Unified Source
Project Layout
ArcadeGames/
├─ common/ Shared engine, public API, all 10 minigames, and version abstraction layer (737 Java sources)
├─ latest/ LATEST (1.18–26.2) version adapter, AdvancedSlimePaper integration, and shaded plugin assembly (6 Java sources)
├─ legacy/ LEGACY (1.8.8–1.12.2) version adapter, legacy sounds/FallingBlock support, and shaded plugin assembly (5 Java sources)
├─ build-support/ NMS platform modules, jdk21 module, compile-time stubs, and bytecode finalization tool
├─ pom.xml
└─ build.ps1
This repository contains the deobfuscated and unified multi-version architecture (single common module + dual shaded plugin JARs):
- Duplicated per-version sources (
common/src/variants/,platform-api-latest,platform-api-legacy) have been consolidated so all engine and minigame logic lives incommon/src/main/java(737.javafiles compiled into 740.classfiles), maintained in one place and compiled once. - Remaining obfuscated single-character and decompiler-generated numbered method/field names across
common,latest, andlegacyhave been semantically renamed for readability. - Spigot/NMS version differences are isolated behind
ro.fr33styler.arcade.platform.compat.VersionAdapter/VersionAdapters,ArcadeSound,ArcadeParticle,ArcadeMaterial,ArcadeColor,ColoredBlockType,GameBossBar, andTeamRule, keepingcommonstrictly within thespigot-api-1.8.8∩spigot-api-1.20.1API intersection. - The public API
ro.fr33styler.arcade.api.engine.*(56 sources), all YAML@Settingkeys, enum constants, and bundled resources are preserved intact.
Building
Requires JDK 21 and Maven 3. From the repository root, run:
mvn clean verify
You can also run ./build.ps1 clean verify (or mvn -o -T 1C clean verify for offline parallel builds). Make sure to run through the verify phase so FinalizeClasses relinks NMS do_() aliases back to do()F.
Output plugin JARs:
latest/target/ArcadeGames-2.19f-LATEST-reconstructed.jarlegacy/target/ArcadeGames-2.19f-LEGACY-reconstructed.jar
Modules
| Module | Sources | Description |
|---|---|---|
common |
737 .java |
api.engine.* (56), unified platform.api & compat, core engine, and all 10 minigames |
jdk21 |
1 .java |
Java 21 virtual-thread executor (dynamically loaded by DefaultEngine on JDK 21+) |
platforms/latest-* |
6 modules | NMS adapters for Minecraft 1.18.2 / 1.19.4 / 1.20.6 / 1.21.11 / 26.1 / 26.2 |
platforms/legacy-* |
2 modules | NMS adapters for Minecraft 1.8.8 / 1.12.2 and 1.12.2 off-hand listener |
latest |
6 .java |
Arcade, LatestVersionAdapter, SoundTypeToken, AdvancedSlimePaper* (3), and plugin.yml/resources |
legacy |
5 .java |
Arcade, LegacyVersionAdapter, LegacySounds, PartyGamesV1_8_8/1_12_2FallingBlockFactorySelector, and plugin.yml/resources |
All modules target Java 17 except jdk21, which targets Java 21.
Package Overview
ro.fr33styler.arcade
├─ api.engine.* Public engine API (original signatures preserved)
├─ engine Config, commands, players, sessions, text, display, scoreboards, storage, and networking
├─ game 10 minigames (BlockParty, BombLobbers, MiniWalls, PartyGames, PropHunt, Quake, Splegg, TempleRun, TNTRun, TNTTag)
├─ platform Unified platform contracts, VersionAdapter / Bukkit / JDK adapters, and NMS modules
├─ integration Third-party integrations (PlaceholderAPI, NoteBlockAPI, Vault, etc.; AdvancedSlimePaper in latest only)
├─ support IO, reflection, text, random, and compression utilities
├─ internal.compatibility
└─ vendor.bstats
Build & Compatibility Notes
build-support/deps/provided-api-stubs.jarand per-versionstubs-*.jarfiles supply compile-time Spigot, NMS, and third-party plugin signatures only and are not shaded into the final plugin JARs.- NMS methods whose obfuscated names collide with Java keywords (such as
do()) are compiled viado_()aliases and relinked todo()Fduring theverifyphase bybuild-support/tools/build/FinalizeClasses.javausingbuild-support/tools/dependencies/external-reserved-names.tsv. - Runtime resources (
plugin.yml,template.dat,games/block-party/songs.zip, etc.) are packaged directly into thelatestandlegacyshaded JARs.
Verification
- Full multi-module build (
mvn -o -T 1C clean verify): All 13 Maven reactor modules compile, shade, and passFinalizeClassesverification. - Spigot API intersection check: Bytecode scanning of all 740 compiled
commonclasses confirmed 0 API intersection violations acrossspigot-api-1.8.8andspigot-api-1.20.1. - NMS
do()relinking check (javap -p -c): Confirmed packaged NMS entities (MiniWallsV1_18_2Arrow,PropHuntV1_18_2PropEntity) invokeMethod do:()Fwith no leftoverdo_()calls. - Offline smoke tests: Verified GZIP compression round-trips,
Text/Contextsplaceholder interpolation, and resolution of all 25ArcadeSound, 45ArcadeMaterial, and 144ColoredBlockType × ArcadeColorentries against realspigot-api-1.20.1(latest) andspigot-api-1.8.8(legacy) enums.
Note: These checks cover compilation, bytecode integrity, and offline unit/enum verification. End-to-end gameplay, NMS packet handling, and third-party plugin integrations (AdvancedSlimePaper, PlaceholderAPI, NoteBlockAPI) should still be tested on a live Paper/Spigot server.