-
-
Notifications
You must be signed in to change notification settings - Fork 2
Debugging BlockOut
Debugging BlockOut can technically be done with any Mod that depends on BlockOut that open a UI. Testing BlockOut when you are developing a new Control directly in BlockOut itself can be a bigger problem: BlockOut does not provide any UIs by it self.
To circumvent this problem, BlockOuts repo contains actually two Mods. First and foremost BlockOut it self. However secondly it contains the BlockOut_Test mod that is used to test BlockOut during Development.
This guide will describe how to test BlockOut using this Mod for IntelliJ IDEA only, however any IDE can be used.
So let's get started:
When you import the BlockOut build.gradle file, like any other Minecraft Mod, you will notice that next to the usual _api, _main and _test, their is another sourceset (or IDEA module) available: BlockOut_testmod.
This sourceset contains all the sources and resources for the testmod. To start and load this test mod, we need to make some small changes. Inparticularly we need to add GradleStart to its Dependencies since Gradle does not do that automatically for us.
Open the Module settings for the BlockOut_testmod module: Select the module in the project View and hit F4 on you keyboard:


