BTW-gradle is a development environment for the Better Than Wolves mod

Overview

BTW-gradle

BTW-gradle is a development environment for the Better Than Wolves mod

Quick Start

  • Download the example
  • Change settings.gradle and build.gradle to your liking
  • Run gradlew build

BTW Source Code

To get access to the Better Than Wolves source code, build your project and look in build/minecraft. The BTW-Public repository also offers its own way to generate source if you just need access to the source.

Addon Development

BTW-gradle was developed in IntelliJ IDEA and it's also the environment I recommend. After downloading and unpacking the example, just point IDEA at the top folder (the one that has build.gradle) and it should pick up Gradle by itself.

Next, you want to look at settings.gradle and configure it to your liking. You can also override these settings in build.gradle (where the Cthulhu references are in the btw {} block.

Next, you want to open the Gradle panel on and find the build task in the btw-gradle section and run it. This will take about 5-10 minutes, after which the example should be compiled and ready to run (it only takes this long the first time and every time you clean the build directory, as it needs to decompile and patch the Minecraft source code).

If you look at the build/distributions folder, you will notice the zip file that you can use to share your mod with the world. It will be named according to what you have set up previously.

Eclipse

I am waiting for someone with experience with Eclipse and Gradle to look into the project and figure out how to set it up. Currently it looks like Eclipse is not able to handle a complex project like BTW-gradle expects with multiple source sets.

Troubleshooting

Gradlew is taking a long time

It's supposed to the first time. It takes about 5 minutes on my machine to produce the first build. After that it should be drastically faster.

I have a weird bug I can't track down

Try running the clean task, either from your IDE or by running gradlew clean.

I get dependency errors

Clean your build first, like in the previous question, then run gradlew --refresh-dependencies.

You might also like...
Helper to upload Gradle Android Artifacts, Gradle Java Artifacts and Gradle Kotlin Artifacts to Maven repositories (JCenter, Maven Central, Corporate staging/snapshot servers and local Maven repositories).

GradleMavenPush Helper to upload Gradle Android Artifacts, Gradle Java Artifacts and Gradle Kotlin Artifacts to Maven repositories (JCenter, Maven Cen

Gradle Replace In Place (GRIP): a gradle plugin to update your documentation or any file with a simple gradle task

GRIP (Gradle Replace In-Place) A gradle tool to update some values in your (documentation) files by running a task. (inspired by Knit) Directives Inse

Gradle plugin to ease Kotlin IR plugin development and usage in multimodule gradle projects

Gradle plugin to ease Kotlin IR plugin development and usage in multimodule gradle projects. Former: kotlin-ir-plugin-adapter-gradle

NukeJangala - Starsector Mod Template using Gradle and IntelliJ
NukeJangala - Starsector Mod Template using Gradle and IntelliJ

Starsector Mod Template using Gradle and IntelliJ v1.2.0 Description This is a t

NukePlanet - Starsector Mod Template using Gradle and IntelliJ
NukePlanet - Starsector Mod Template using Gradle and IntelliJ

Starsector Mod Template using Gradle and IntelliJ v1.2.0 Description This is a t

A exhaustive standard library for Minecraft mod development
A exhaustive standard library for Minecraft mod development

Standard StdLib A exhaustive standard library for Minecraft mod development. Explore the docs » Report Bug · Request Feature Table of Contents About T

BlackDex is an Android unpack tool, it supports Android 5.0~12 and need not rely to any environment. BlackDex can run on any Android mobile phones or emulators, you can unpack APK File in several seconds.
BlackDex is an Android unpack tool, it supports Android 5.0~12 and need not rely to any environment. BlackDex can run on any Android mobile phones or emulators, you can unpack APK File in several seconds.

BlackDex is an Android unpack tool, it supports Android 5.0~12 and need not rely to any environment. BlackDex can run on any Android mobile phones or emulators, you can unpack APK File in several seconds.

An android app to browse KDE Store and other Linux Desktop Environment stores of Pling
An android app to browse KDE Store and other Linux Desktop Environment stores of Pling

A free and open source android application for browsing KDE Store and other Linux Desktop Environment's Stores in Pling. Couldn't check it in different devices so there could be some bugs. Bug Report and Feedbacks are highly appreciated.

An Android Library for in-app switching between environment variables

android-env-picker An Android Library for in-app switching between environment variables. Central use case is picking a desired endpoint for backend c

OSGeo4A is a build environment to cross-compile opensource GIS software for android devices

OSGeo4A This provides a set of scripts to build opensource geo tools for Android. This is Experimental Dependencies instructions you need a JDK v8 or

Tiny library to ease the use of environment variables with support for .env files

asimov/environment Tiny library to ease the use of environment variables with support for .env files. Installation Gradle (Kotlin) repositories {

Termux - an Android terminal application and Linux environment

Termux application Termux is an Android terminal application and Linux environment. Note that this repository is for the app itself (the user interfac

A simple GUI frontend for the norns docker environment
A simple GUI frontend for the norns docker environment

This is a simple GUI frontend for the norns docker environment. It displays the virtual norns UI using the screenshot server and exposes OSC controls.

An advanced environment variable parsing library for Kotlin.

EnvSchema An advanced environment variable parsing library for Kotlin. Features Supported features Parsing of objects Parsing of nested objects Custom

Kotlin scripting environment based on TabooLib

Artifex Artifex 提供了完善的 Kotlin Script (.kts) 运行环境,且支持 TabooLib 全特性。 val compiledScript = Artifex.api().scriptCompiler().compile { // 传入源文件 it.

This component like SwipeRefreshLayout, it is more beautiful than SwipeRefreshLayout.
This component like SwipeRefreshLayout, it is more beautiful than SwipeRefreshLayout.

android-PullRefreshLayout This component like SwipeRefreshLayout, it is more beautiful than SwipeRefreshLayout. Demo Usage Add dependency. dependencie

AwesomeSwitch is a replacement for the standard Switch(View) android offers, and it offers much more customization than the standard switch component.
AwesomeSwitch is a replacement for the standard Switch(View) android offers, and it offers much more customization than the standard switch component.

AwesomeSwitch AwesomeSwitch is a replacement for the standard Switch(View) android offers, and it offers much more customization than the standard swi

📦📦Video downloader for Android - Download videos from Youtube, Facebook, Twitter, Instagram, Dailymotion, Vimeo and more than 1000 other sites
📦📦Video downloader for Android - Download videos from Youtube, Facebook, Twitter, Instagram, Dailymotion, Vimeo and more than 1000 other sites

youtube-dl-android 📦 An Android client for youtube-dl: https://github.com/rg3/youtube-dl Major technologies Language: Kotlin Architecture: MVVM Andro

Form validation and feedback library for Android. Provides .setText for more than just TextView and EditText widgets. Provides easy means to validate with dependencies.
Form validation and feedback library for Android. Provides .setText for more than just TextView and EditText widgets. Provides easy means to validate with dependencies.

android-formidable-validation Form validation and feedback library for Android. Provides .setText for more than just TextView and EditText widgets. Pr

Comments
  • Missing resources

    Missing resources

    Here are a list of folders/files that I have to copy from the BTW CE jar anytime I build after a clean (and also the first time I did a build)

    folders:

    • btwmodtex
    • lang
    • textures

    files:

    • blank_00000000.png
    • blank_80808080.png
    • blank_ffffffff.png

    All files get copied into the build\minecraft\resources folder and it solves the problem.

    bug 
    opened by psychosledge 0
Owner
Better Than Wolves Community
Community for the Minecraft mod Better Than Wolves
Better Than Wolves Community
A gradle plugin for getting java lambda support in java 6, 7 and android

Gradle Retrolambda Plugin This plugin will automatically build your java or android project with retrolambda, giving you lambda goodness on java 6 or

Evan Tatarka 5.3k Jan 5, 2023
Gradle Autocomplete for Powershell

Gradle Autocomplete for Powershell The autocompletion works by creating a .tasks file in the project folder at the first time it is executed.

null 7 Jul 12, 2022
This repository contains a simple script that lets you kill gradle and kotlin daemons.

AndroidDaemonKiller This repository contains a simple script that lets you kill gradle and kotlin daemons. After updating gradle or kotlin or checking

Paul Woitaschek 25 Dec 3, 2022
Tool for Android app development

RateMeMaybe Asks the user if (s)he wants to open the Play Store to rate your application when certain requirements are met (see below). This can and s

Nicolai Spohrer 98 Dec 30, 2022
Android development recommendation for outdated libraries and current libraries preferred as of 2021

GADS21-Android-Recomendation-For currently used libraries and dependencies Android development recommendation for outdated libraries and current libra

Timz Owen 6 Nov 22, 2021
Android App development internship project to create woman home screen for clothing company The Swastika.

Android App development internship project to create woman home screen for clothing company The Swastika.

Shradha Suryawanshi 2 Jun 12, 2022
Example mod with Mixin to help you to get started with creating a mod with mixins.

ExampleMixinMod Example mod with Mixin to help you to get started with creating a mod with mixins. For usage of mixins, see here. Also, remember to tu

null 0 Dec 16, 2021
KDoctor - A command-line tool that helps to set up the environment for Kotlin Multiplatform Mobile app development

KDoctor is a command-line tool that helps to set up the environment for Kotlin Multiplatform Mobile app development.

Kotlin 331 Dec 29, 2022
Development environment for methodic projects

Methodic Super Project Get started developing faster! This superproject helps you get started building on the Methodic platform by providing a single

null 1 Mar 24, 2022
Android SDK development environment Docker image

AndroidSDK Android SDK development environment Docker image Goals It contains the complete Android SDK enviroment, is able to perform all regular Andr

Jing Li 1k Dec 30, 2022