Repository navigation
TAB Forge 1.18.2 Backport
Overview
This release provides a backport of TAB from Forge 1.21 (Java 21) to Forge 1.18.2 (Java 17), enabling TAB to run on older Minecraft versions while maintaining full functionality.
Key Changes
Build System Migration
- Switched from Architectury Loom to ForgeGradle 5.1+ - Loom requires Java 21, incompatible with 1.18.2
- Created standalone
forge18project with independent Gradle 7.3 wrapper - Java version: 21 → 17
- Minecraft version: 1.21.10 → 1.18.2
- Forge version: Latest → 1.18.2-40.3.11
API Adaptations for 1.18.2 Compatibility
GameProfile API Changes
player.getGameProfile().name()→player.getGameProfile().getName()player.getGameProfile().properties()→player.getGameProfile().getProperties()
Component System Updates
Component.literal()→TextComponentconstructorStyle.EMPTY.withX()→Style.EMPTY.modify()- Updated
KeybindComponentandTranslatableComponentconstructors
Scoreboard System
- Removed
FixedFormatreferences (1.19.3+ feature) - Updated
ServerScoreboard.Methodenum usage - Fixed
setDisplaySlot()to useintinstead ofDisplaySlotenum
TabList System
- Replaced
ClientboundPlayerInfoUpdatePacket/ClientboundPlayerInfoRemovePacketwithClientboundPlayerInfoPacket - Updated to use
ClientboundPlayerInfoPacket.Actionenum - Disabled 1.19.3+ features:
updateListed(),updateListOrder(),updateHat()
Event System
- Changed from individual
.BUSfields toMinecraftForge.EVENT_BUS.addListener() - Updated event listener registration patterns
Dependency Management
- Manual JAR bundling: Downloaded essential dependencies to
libs/folder- SnakeYAML 2.0
- JSON-Simple 1.1.1
- Event API 3.0.0
- YamlAssist 1.0.8
- Excluded conflicting packages: slf4j, Gson, Guava, Netty (provided by Forge)
- Created delivery4j stubs: Minimal classes to satisfy dependencies without full messaging functionality
Removed Features
- Cross-server messaging: RabbitMQ/Redis broker functionality disabled (single-server setup)
- 1.19.3+ TabList features:
updateListed(),updateListOrder(),updateHat()methods - Modern component features:
ResolvableProfile,PlayerSprite,AtlasSprite,FontDescription
Installation
- Download the
forge18build - Place in your Forge 1.18.2 server's
modsfolder - Restart server
Compatibility
- Minecraft: 1.18.2
- Forge: 1.18.2-40.3.11+
- Java: 17
- Dependencies: None (all bundled)
Notes
- This is a standalone build that compiles independently
- All core TAB features are preserved
- Configuration files are automatically generated on first run
- No proxy/messaging features available (single-server only)
Technical Details
The backport required extensive API adaptation due to significant changes between Minecraft 1.18.2 and 1.21, particularly in the component system, scoreboard handling, and event registration patterns. The build system was completely restructured to work with ForgeGradle 5.1+ and Java 17 constraints.