Modding: Difference between revisions
imported>Flamarine (Add Scala example mod) |
imported>Newcome mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
==== Finding and adding mods ==== | ==== Finding and adding mods ==== | ||
# Search through the <code>#mods-and-community-downloads</code> channel on the official BTA! Discord server or find mods on [https://github.com/ Github] ([https://github.com/Turnip-Labs example]) | # Search through the <code>#mods-and-community-downloads</code> channel on the official BTA! Discord server or find mods on [https://github.com/ Github] ([https://github.com/Turnip-Labs example]), or on [https://bta-modding.nouma-vallee.fr/ BTA Modding] (by Nouma). | ||
# Download the JAR file | # Download the JAR file | ||
# Put it inside your <code>.minecraft/mods</code> folder in your Babric BTA! instance directory | # Put it inside your <code>.minecraft/mods</code> folder in your Babric BTA! instance directory |
Latest revision as of 20:58, 2 November 2023
Like vanilla versions of Minecraft, it is possible to download and create mods for Better than Adventure!. This page aims to provide resources to assist in mod creation and installation for Better than Adventure!.
Users Edit
Prerequisites Edit
- Verify your Java 17 installation (Windows, macOS or Linux)
- Install MultiMC or one of its fork (PolyMC, Prism Launcher, ...)
Note: to avoid a common issue on GNU/Linux systems, both users and developers should use the Temurin 17 JDK (AUR package)
Singleplayer Edit
Installation Edit
We are going to use Babric, which is a modification of Fabric for Minecraft Beta 1.7.3.
- Download the Babric MultiMC instance for BTA! 1.7.7.0_02, 1.7.7.0_01, 1.7.7.0 (archive) or 1.7.6.2_02 (archive)
- Import the instance into your launcher
Finding and adding mods Edit
- Search through the
#mods-and-community-downloads
channel on the official BTA! Discord server or find mods on Github (example), or on BTA Modding (by Nouma). - Download the JAR file
- Put it inside your
.minecraft/mods
folder in your Babric BTA! instance directory
Multiplayer Edit
Installation Edit
- Download the Babric server for 1.7.7.0_02 or 1.7.7.0_01
- Add your mods to the
mods
directory - Customize your server (see Setting up a Server)
- Run
start.bat
if you are on Windows orstart.sh
if you are on GNU/Linux
Developers Edit
Prerequisites Edit
- Install IntelliJ IDEA and MinecraftDev plugin
Set up the development environment Edit
Download or clone the BTA Babric Example Mod (or the Kotlin version / the Scala version) repository and follow the setup instructions
Resources Edit
Developers documentation Edit
- Fabric Wiki
- Introduction to Mixins
- Mixin Official Wiki
- Mixin javadoc
- Mixin Cheatsheet
- BTA modding Discord (unofficial)
Note: Since Better than Adventure! is distributed without obfuscation, all Mixin classes must set the remap
option to false. Also, when modding for Better than Adventure! 1.7.6.2_02, set loadMods
to false in option.txt to avoid errors showing up in the run client configurations logs.