Skip to content

Commit

Permalink
Revert "human action space + enabled GUI (#449)"
Browse files Browse the repository at this point in the history
This reverts commit c70f6cc.
  • Loading branch information
brandonhoughton committed Feb 4, 2021
1 parent 78cf687 commit 04aae20
Show file tree
Hide file tree
Showing 29 changed files with 120 additions and 1,077 deletions.
5 changes: 2 additions & 3 deletions minerl/Malmo/Minecraft/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ jar {

// And add to the jvm args so that it is also loaded when running using gradle runClient:
JavaExec exec = project.getTasks().getByName("runClient")
exec.jvmArgs(["-Dfml.coreMods.load=com.microsoft.Malmo.OverclockingPlugin","-Xmx2G", "-Xdebug", "-Dmixin.debug=true"])
exec.args(["--tweakClass", "com.microsoft.Malmo.Launcher.tweakers.CoremodTweaker"])
// exec.jvmArgs(["-Dfml.coreMods.load=com.microsoft.Malmo.OverclockingPlugin","-Xmx2G"])
// exec.jvmArgs(["-Dfml.coreMods.load=com.microsoft.Malmo.OverclockingPlugin","-Xmx2G", "-Xdebug", "-Xrunjdwp:transport=dt_socket,address=127.0.0.1:8888,server=y,suspend=n"])
exec.jvmArgs(["-Dfml.coreMods.load=com.microsoft.Malmo.OverclockingPlugin","-Xmx2G"])
// ForgeGradle automatically sets the runClient task's outputs to be the runDir above (eg "run"). This
// means that gradle will helpfully try to take a snapshot of the complete contents of the run folder in order
// to carry out up-to-date checks for any tasks that depend on runClient.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1874,15 +1874,9 @@ protected void onMissionStarted()

// Force brightness setting
Minecraft.getMinecraft().gameSettings.gammaSetting = (float) 2.0;

if (missionBehaviour.lowLevelInputs) {
Minecraft.getMinecraft().gameSettings.hideGUI = false;
Minecraft.getMinecraft().gameSettings.guiScale = 2;
Minecraft.getMinecraft().gameSettings.fancyGraphics = true;
} else {
// Disable the gui for the episode!
Minecraft.getMinecraft().gameSettings.hideGUI = true;
}

// Disable the gui for the episode!
Minecraft.getMinecraft().gameSettings.hideGUI = true;

for (IVideoProducer videoProducer : currentMissionBehaviour().videoProducers)
{
Expand Down

This file was deleted.

Loading

0 comments on commit 04aae20

Please sign in to comment.