<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Mission xmlns="http://ProjectMalmo.microsoft.com">
    <About>
        <Summary>$(ENV_NAME)</Summary>
    </About>

    <ModSettings>
        <MsPerTick>50</MsPerTick>
        <!--<PrioritiseOffscreenRendering>true</PrioritiseOffscreenRendering>-->
    </ModSettings>


    <ServerSection>

        <ServerInitialConditions>
            <Time>
                <!--<StartTime>0</StartTime>-->
                <AllowPassageOfTime>false</AllowPassageOfTime>
            </Time>

            <AllowSpawning>true</AllowSpawning>
        </ServerInitialConditions>

        <ServerHandlers>
            <DefaultWorldGenerator forceReset="true"
                                   generatorOptions='{"coordinateScale":684.412,"heightScale":684.412,"lowerLimitScale":512.0,"upperLimitScale":512.0,"depthNoiseScaleX":200.0,"depthNoiseScaleZ":200.0,"depthNoiseScaleExponent":0.5,"mainNoiseScaleX":80.0,"mainNoiseScaleY":160.0,"mainNoiseScaleZ":80.0,"baseSize":8.5,"stretchY":12.0,"biomeDepthWeight":1.0,"biomeDepthOffset":0.0,"biomeScaleWeight":1.0,"biomeScaleOffset":0.0,"seaLevel":1,"useCaves":false,"useDungeons":false,"dungeonChance":8,"useStrongholds":false,"useVillages":false,"useMineShafts":false,"useTemples":false,"useMonuments":false,"useMansions":false,"useRavines":false,"useWaterLakes":false,"waterLakeChance":4,"useLavaLakes":false,"lavaLakeChance":80,"useLavaOceans":false,"fixedBiome":4,"biomeSize":4,"riverSize":1,"dirtSize":33,"dirtCount":10,"dirtMinHeight":0,"dirtMaxHeight":256,"gravelSize":33,"gravelCount":8,"gravelMinHeight":0,"gravelMaxHeight":256,"graniteSize":33,"graniteCount":10,"graniteMinHeight":0,"graniteMaxHeight":80,"dioriteSize":33,"dioriteCount":10,"dioriteMinHeight":0,"dioriteMaxHeight":80,"andesiteSize":33,"andesiteCount":10,"andesiteMinHeight":0,"andesiteMaxHeight":80,"coalSize":17,"coalCount":20,"coalMinHeight":0,"coalMaxHeight":128,"ironSize":9,"ironCount":20,"ironMinHeight":0,"ironMaxHeight":64,"goldSize":9,"goldCount":2,"goldMinHeight":0,"goldMaxHeight":32,"redstoneSize":8,"redstoneCount":8,"redstoneMinHeight":0,"redstoneMaxHeight":16,"diamondSize":8,"diamondCount":1,"diamondMinHeight":0,"diamondMaxHeight":16,"lapisSize":7,"lapisCount":1,"lapisCenterHeight":16,"lapisSpread":16}'/>
            <ServerQuitFromTimeUp timeLimitMs="400000" description="out_of_time"/>
            <ServerQuitWhenAnyAgentFinishes/>
        </ServerHandlers>
    </ServerSection>

    <AgentSection mode="Survival">
        <Name>MineRLAgent</Name>
        <AgentStart>
            <!-- <Randomized>true</Randomized> -->
            <Inventory>
                <InventoryObject slot="0" type="iron_axe" quantity="1"/>
            </Inventory>
        </AgentStart>
        <AgentHandlers>
            <HumanLevelCommands/>
            <CameraCommands/>
            <PauseCommand/>
            <RewardForPossessingItem sparse="false" excludeLoops="true">
                <!-- <RewardForCollectingItem sparse="true"> -->
                <Item reward="1.0" type="log" amount="1"/>
            </RewardForPossessingItem>
            <AgentQuitFromPossessingItem>
                <Item type="log" amount="64"/>
            </AgentQuitFromPossessingItem>
            <VideoProducer want_depth="false">
                <Width>64</Width>
                <Height>64</Height>
            </VideoProducer>
            <FileBasedPerformanceProducer/>
        </AgentHandlers>
    </AgentSection>
</Mission>
