-
Notifications
You must be signed in to change notification settings - Fork 0
zh_cn Developer Setup and Building
🌐 Languages: 🇺🇸 English | 🇨🇳 简体中文 | 🇭🇰 繁體中文 | 🇷🇺 Русский | 🇪🇸 Español | 🇩🇪 Deutsch | 🇫🇷 Français | 🇧🇷 Português | 🇯🇵 日本語 | 🇮🇩 Bahasa Indonesia | 🇰🇷 한국어
📌 Repository Source Disclaimer: The documentation in this Wiki reflects the current source code state in the repository, which may include recent unreleased commits or developmental features ahead of public release builds on CurseForge and Modrinth.
Building True Sleep from source requires the following toolchains:
- Java Development Kit (JDK): JDK 25 or higher (e.g., Eclipse Temurin 25 or GraalVM 25).
- Git: Version 2.40+.
- IDE: IntelliJ IDEA 2026.1+ or VS Code with Java Extension Pack.
# Clone the main True Sleep repository
git clone https://github.com/Rifaditya/Vanilla-Outsider-True-Sleep.git
cd Vanilla-Outsider-True-SleepTrue Sleep uses Fabric Loom with Gradle 9.3+ under daemonless builds.
./gradlew build --no-daemonThe compiled mod JAR and sources JAR will be generated in build/libs/:
vanilla-outsider-true-sleep-1.3.22+26.2.jarvanilla-outsider-true-sleep-1.3.22+26.2-sources.jar
./gradlew test --no-daemon./gradlew runClient --no-daemon./gradlew runServer --no-daemonVanilla-Outsider-True-Sleep/
├── build.gradle # Loom build script (Java 25 release)
├── gradle.properties # Target Minecraft & mod versions
├── src/main/java/net/vanillaoutsider/truesleep/
│ ├── TrueSleep.java # Entrypoint & ModVersionGuard init
│ ├── TrueSleepTags.java # Datapack tag constants
│ ├── command/
│ │ └── TrueSleepCommand.java# Brigadier /truesleep command tree
│ ├── config/
│ │ ├── TrueSleepRules.java # Namespaced GameRule definitions
│ │ ├── TrueSleepConfig.java # GSON JSON config persistence
│ │ ├── ClothConfigScreenHelper.java # Cloth Config GUI builder
│ │ └── ModMenuIntegration.java # ModMenu API integration
│ ├── logic/
│ │ ├── TimeWarpManager.java # Hyperspace acceleration engine
│ │ ├── BiologicalStasisHelper.java # Farm aging math & potion aging
│ │ ├── SleepHungerHelper.java # Sleep hunger exhaustion math
│ │ └── QuietClockManager.java # World clock interfaces
│ ├── mixin/
│ │ ├── BedRuleMixin.java # Bed threshold override
│ │ ├── EntityMixin.java # Drown immunity pulmonary stasis
│ │ ├── LevelMixin.java # Machine & hopper tick multiplier
│ │ ├── LivingEntityMixin.java # Active potion effect aging
│ │ ├── MobEffectInstanceMixin.java # Cascade duration decrement
│ │ ├── MobMixin.java # Mob freeze & aging bridge
│ │ ├── ServerLevelMixin.java # Sleep suppression & warp hook
│ │ └── VibrationSystemListenerMixin.java # Warden vibration mute
│ └── mixin/client/
│ ├── HudMixin.java # Sleep black fade cancellation
│ └── SkyRendererMixin.java # Angular celestial sky lerp
└── src/main/resources/
├── fabric.mod.json # Mod metadata & dependencies
├── truesleep.mixins.json # Common mixin configuration
├── truesleep.client.mixins.json # Client mixin configuration
└── data/truesleep/tags/ # Machine & worker mob tags
Vanilla Outsider: True Sleep is open source software licensed under the GNU General Public License v3.0 (GPLv3).
Authored by Dasik (Rifaditya). Designed under the Vanilla Outsider (VO) philosophy.
> 📌 **Repository Source Disclaimer**: The documentation in this Wiki reflects the **current source code state in the repository**, which may include recent unreleased commits or developmental features ahead of public release builds on CurseForge and Modrinth.
- Home
- Version Compatibility
- Developer Setup & Building
- Architecture & Mixins
- Time Warp & Acceleration
- Machine & Hopper Acceleration
- Mob Stasis & Biological Aging
- Sleep Hunger & Drown Immunity
- Celestial Sky & Cinematics
- GameRules Reference
- Brigadier Commands
- Configuration & GUI
- Troubleshooting & FAQ
- API & Data Tags
🇨🇳 简体中文 (Simplified Chinese)
🇭🇰 繁體中文 (Traditional Chinese)
🇷🇺 Русский (Russian)
- Главная и Обзор
- Совместимость версий и Матрица жизненного цикла
- Руководство для разработчиков и Сборка
- Архитектура и Анализ Mixin
- Искривление времени и Ускорение тиков
- Ускорение машин и воронок
- Стазис мобов и Биологическое старение
- Расход голода во сне и Иммунитет к утоплению
- Плавность небесных тел и Кинематографичное небо
- Справочник игровых правил GameRules
- Набор команд Brigadier (/truesleep)
- Конфигурация и Графический интерфейс (GUI)
- Устранение неполадок и Частые вопросы (FAQ)
- API и Теги данных
🇪🇸 Español (Spanish)
- Inicio y Visión General
- Compatibilidad de versiones y Ciclo de vida
- Guía de desarrollo y Compilación
- Arquitectura y Análisis de Mixins
- Motor de Curvatura Temporal y Aceleración de Ticks
- Aceleración de Máquinas y Tolvas
- Éxtasis de Mobs y Envejecimiento Biológico
- Hambre al Dormir e Inmunidad al Ahogamiento
- Suavizado Celestial y Cielo Cinemático
- Referencia de Reglas de Juego GameRules
- Comandos Brigadier (/truesleep)
- Configuración e Interfaz Gráfica (GUI)
- Resolución de Problemas y Preguntas Frecuentes
- API y Etiquetas de Datos
🇩🇪 Deutsch (German)
- Startseite & Übersicht
- Versionskompatibilität & Lebenszyklus-Matrix
- Entwickler-Setup & Build-Anleitung
- Architektur & Mixin-Analyse
- Zeitraffer-Engine & Tick-Beschleunigung
- Maschinen- & Trichter-Beschleunigung
- Mob-Stasis & Biologische Farmalterung
- Schlaf-Hunger & Ertrinkungsimmunität
- Himmelskörper-Glättung & Kinematik
- GameRules-Referenz
- Brigadier-Befehlssuite (/truesleep)
- Konfiguration & Grafische Benutzeroberfläche (GUI)
- Fehlerbehebung & Häufige Fragen (FAQ)
- API & Datengesteuerte Tags
🇫🇷 Français (French)
- Accueil et Aperçu
- Compatibilité des versions et Cycle de vie
- Configuration développeur et Compilation
- Architecture et Analyse des Mixins
- Moteur Temporel et Accélération des Ticks
- Accélération des Machines et Entonnoirs
- Stase des Créatures et Vieillissement Biologique
- Faim du Sommeil et Immunité à la Noyade
- Lissage Céleste et Ciel Cinématique
- Référence des Règles de Jeu GameRules
- Commandes Brigadier (/truesleep)
- Configuration et Interface Graphique (GUI)
- Dépannage et Foire Aux Questions (FAQ)
- API et Balises de Données
🇧🇷 Português do Brasil (Portuguese)
- Início e Visão Geral
- Compatibilidade de Versões e Ciclo de Vida
- Guia de Desenvolvimento e Compilação
- Arquitetura e Análise de Mixins
- Motor de Dobra Temporal e Aceleração de Ticks
- Aceleração de Máquinas e Funis
- Estase de Mobs e Envelhecimento Biológico
- Fome ao Dormir e Imunidade a Afogamento
- Suavização Celeste e Céu Cinemático
- Referência de Regras de Jogo GameRules
- Comandos Brigadier (/truesleep)
- Configuração e Interface Gráfica (GUI)
- Solução de Problemas e Perguntas Frequentes (FAQ)
- API e Tags de Dados
🇯🇵 日本語 (Japanese)
🇮🇩 Bahasa Indonesia (Indonesian)
- Beranda & Ringkasan
- Kompatibilitas Versi & Matriks Siklus Hidup
- Panduan Pengembang & Kompilasi Gradle
- Arsitektur & Analisis Mixin
- Mesin Time Warp & Akselerasi Tick
- Akselerasi Mesin & Hopper
- Stasis Mob & Penuaan Biologis Peternakan
- Pengurasan Lapar Tidur & Imunitas Tenggelam
- Penghalusan Langit & Sinematik Klien
- Referensi GameRules Bernamespace
- Rangkaian Perintah Brigadier (/truesleep)
- Konfigurasi & Antarmuka Grafis (GUI)
- Pemecahan Masalah & Tanya Jawab (FAQ)
- API & Tag Berbasis Data