Code cleanup
This commit is contained in:
parent
db194a7aa1
commit
4ad8908f71
2 changed files with 8 additions and 2 deletions
|
@ -13,12 +13,14 @@ See mcmod.info for credits.
|
||||||
See the official forum [here](https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/2510855).
|
See the official forum [here](https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/2510855).
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Download WarpDrive.jar from the [Curse website](http://minecraft.curseforge.com/projects/warpdrive) and put it in your mods folder.
|
1. Download WarpDrive.jar from the [Curse website](http://minecraft.curseforge.com/projects/warpdrive) and put it in your mods folder.
|
||||||
|
|
||||||
2. To move your ship, you'll need either ComputerCraft or OpenComputer.
|
2. To move your ship, you'll need either ComputerCraft or OpenComputer.
|
||||||
|
|
||||||
3. FE/µI, EU and RF power are supported (including but not limited to IC2, GregTech, AdvancedSolarPanel, BigReactors, EnderIO, Thermal Expansion, ImmersiveEngineering).
|
3. FE/µI, EU and RF power are supported (including but not limited to IC2, GregTech, AdvancedSolarPanel, BigReactors, EnderIO, Thermal Expansion, ImmersiveEngineering).
|
||||||
ICBM, MFFS, Advanced Repulsion System, Advanced Solar Panels and GraviSuite are supported.
|
ICBM, MFFS, Advanced Repulsion System, Advanced Solar Panels and GraviSuite are supported.
|
||||||
|
|
||||||
|
|
||||||
## Developping
|
## Developping
|
||||||
|
|
||||||
To setup you development environment:
|
To setup you development environment:
|
||||||
|
|
|
@ -104,11 +104,15 @@ public class RenderOverlayCamera {
|
||||||
case HEALTHMOUNT:
|
case HEALTHMOUNT:
|
||||||
case HOTBAR:
|
case HOTBAR:
|
||||||
case TEXT:
|
case TEXT:
|
||||||
// Don't render other GUI parts
|
// Don't render inventory/stats GUI parts
|
||||||
if (event.isCancelable()) {
|
if (event.isCancelable()) {
|
||||||
event.setCanceled(true);
|
event.setCanceled(true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
// Keep other GUI parts: PORTAL, JUMPBAR, CHAT, PLAYER_LIST, DEBUG, POTION_ICONS, SUBTITLES, FPS_GRAPH, VIGNETTE
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue