<map proto="1.5.0">
<name>Station X</name>
<version>1.0.0</version>
<objective>Capture the enemy's wools!</objective>
<created>2026-01-10</created>
<phase>staging</phase>
<include id="gapple-kill-reward"/>
<authors>
    <author uuid="1af9f952-e33e-42a5-8e1e-296757747fdc"/> <!-- Alphaboy98yt -->
</authors>
<contributors>
    <contributor uuid="84d0f14a-1aae-447f-838c-8ac742667d67" contribution="XML"/> <!-- limefox3054 -->
</contributors>
<teams>
    <team id="blue-team" color="blue" max="28">Blue</team>
    <team id="red-team" color="dark red" max="28">Red</team>
</teams>
<kits>
    <kit id="spawn-kit">
        <clear/>
        <item slot="0" unbreakable="true" material="iron sword"/>
        <item slot="1" unbreakable="true" material="bow" enchantment="infinity"/>
        <item slot="2" unbreakable="true" material="iron pickaxe" enchantment="efficiency"/>
        <item slot="3" unbreakable="true" material="iron axe"/>
        <item slot="4" material="smooth brick" amount="64" damage="3"/>
        <item slot="5" amount="32" material="glass"/>
        <item slot="7" material="water bucket"/>
        <item slot="8" material="golden apple"/>
        <item slot="28" material="arrow"/>
        <item slot="31" material="smooth brick" amount="64" damage="3"/>
        <helmet unbreakable="true" material="leather helmet" team-color="true"/>
        <chestplate unbreakable="true" material="leather chestplate" team-color="true"/>
        <leggings unbreakable="true" material="chainmail leggings" enchantment="protection projectile:2"/>
        <boots unbreakable="true" material="leather boots" team-color="true"/>
        <effect duration="5s" amplifier="5">damage resistance</effect>
    </kit>
</kits>
<spawns>
    <spawn team="blue-team" region="blue-spawn-point" yaw="0" kit="spawn-kit"/>
    <spawn team="red-team" region="red-spawn-point" yaw="180" kit="spawn-kit"/>
    <default region="obs-spawn-point" yaw="90"/>
</spawns>
<filters>
    <any id="block-break-void-filter">
        <all>
            <any>
                <material>quartz block</material>
                <material>step</material>
                <material>stained glass</material>
                <material>cobble wall</material>
                <material>iron fence</material>
            </any>
            <void/>
        </all>
        <not id="block-place-void-filter">
            <void/>
        </not>
    </any>
    <all id="blues-woolrooms-filter">
        <team id="only-red">red-team</team>
        <filter id="woolrooms-filter"/>
    </all>
    <all id="reds-woolrooms-filter">
        <team id="only-blue">blue-team</team>
        <filter id="woolrooms-filter"/>
    </all>
    <all id="woolrooms-filter">
        <blocks region="woolrooms-blocks">
            <any>
                <material>air</material>
                <material>web</material>
                <material>redstone wire</material>
            </any>
        </blocks>
        <not>
            <void/>
        </not>
    </all>
    <all id="only-iron-cause-world">
        <material id="only-iron">iron block</material>
        <cause>world</cause>
    </all>
    <deny id="deny-obsidian">
        <material>obsidian</material>
    </deny>
    <material id="only-air">air</material>
</filters>
<regions>
    <cylinder id="blue-spawn-point" base="-14.5,19,-527.5" radius="1" height="0"/>
    <cylinder id="red-spawn-point" base="-15.5,19,-211.5" radius="1" height="0"/>
    <cylinder id="obs-spawn-point" base="78.5,59,-369.5" radius="2.5" height="0"/>
    <block id="blue-team-pink-wool">-9,16,-514</block>
    <block id="blue-team-purple-wool">-21,16,-514</block>
    <block id="red-team-yellow-wool">-22,16,-226</block>
    <block id="red-team-orange-wool">-10,16,-226</block>
    <point id="yellow-wool-spawn">-93,12.7,-497</point>
    <point id="orange-wool-spawn">68,16.7,-529</point>
    <point id="pink-wool-spawn">63,12.7,-242</point>
    <point id="purple-wool-spawn">-98,16.7,-210</point>
    <union id="spawns">
        <union id="blue-spawn">
            <rectangle min="-1,-488" max="-28,-540"/>
            <rectangle min="-10,-474" max="-20,-489"/>
        </union>
        <union id="red-spawn">
            <rectangle min="-2,-251" max="-29,-199"/>
            <rectangle min="-11,-265" max="-20,-250"/>
        </union>
    </union>
    <union id="blues-woolrooms"> <!-- blue defend, red capture -->
        <union id="yellow-woolroom"> <!-- maybe a better way to configure this -->
            <rectangle min="-73,-499" max="-74,-502"/>
            <rectangle min="-74,-496" max="-75,-502"/>
            <rectangle min="-75,-494" max="-76,-503"/>
            <rectangle min="-76,-492" max="-77,-503"/>
            <rectangle min="-77,-491" max="-78,-503"/>
            <rectangle min="-78,-490" max="-79,-504"/>
            <rectangle min="-79,-489" max="-80,-504"/>
            <rectangle min="-80,-488" max="-81,-504"/>
            <rectangle min="-81,-487" max="-99,-505"/>
            <rectangle min="-82,-487" max="-98,-486"/>
            <rectangle min="-83,-486" max="-98,-485"/>
            <rectangle min="-84,-485" max="-98,-484"/>
            <rectangle min="-85,-484" max="-97,-483"/>
            <rectangle min="-86,-483" max="-97,-482"/>
            <rectangle min="-88,-482" max="-97,-481"/>
            <rectangle min="-90,-481" max="-96,-480"/>
            <rectangle min="-93,-480" max="-96,-479"/>
        </union>
        <rectangle id="orange-woolroom" min="54,-517" max="74,-536"/>
    </union>
    <union id="reds-woolrooms"> <!-- red defend, blue capture -->
        <union id="pink-woolroom"> <!-- maybe a better way to configure this -->
            <rectangle min="43,-240" max="44,-237"/>
            <rectangle min="44,-243" max="45,-237"/>
            <rectangle min="45,-245" max="46,-236"/>
            <rectangle min="46,-247" max="47,-236"/>
            <rectangle min="47,-248" max="48,-236"/>
            <rectangle min="48,-249" max="49,-235"/>
            <rectangle min="49,-250" max="50,-235"/>
            <rectangle min="50,-251" max="51,-235"/>
            <rectangle min="51,-252" max="69,-234"/>
            <rectangle min="52,-252" max="68,-253"/>
            <rectangle min="53,-253" max="68,-254"/>
            <rectangle min="54,-254" max="68,-255"/>
            <rectangle min="55,-255" max="67,-256"/>
            <rectangle min="56,-256" max="67,-257"/>
            <rectangle min="58,-257" max="67,-258"/>
            <rectangle min="60,-258" max="66,-259"/>
            <rectangle min="63,-259" max="66,-260"/>
        </union>
        <rectangle id="purple-woolroom" min="-84,-222" max="-104,-203"/>
    </union>
    <union id="woolrooms-blocks">
        <union id="yellow-woolroom-blocks"> <!-- maybe a better way to configure this -->
            <cuboid min="-73,0,-499" max="-74,27,-502"/>
            <cuboid min="-74,0,-496" max="-75,27,-502"/>
            <cuboid min="-75,0,-494" max="-76,27,-503"/>
            <cuboid min="-76,0,-492" max="-77,27,-503"/>
            <cuboid min="-77,0,-491" max="-78,27,-503"/>
            <cuboid min="-78,0,-490" max="-79,27,-504"/>
            <cuboid min="-79,0,-489" max="-80,27,-504"/>
            <cuboid min="-80,0,-488" max="-81,27,-504"/>
            <cuboid min="-81,0,-487" max="-99,27,-505"/>
            <cuboid min="-82,0,-487" max="-98,27,-486"/>
            <cuboid min="-83,0,-486" max="-98,27,-485"/>
            <cuboid min="-84,0,-485" max="-98,27,-484"/>
            <cuboid min="-85,0,-484" max="-97,27,-483"/>
            <cuboid min="-86,0,-483" max="-97,27,-482"/>
            <cuboid min="-88,0,-482" max="-97,27,-481"/>
            <cuboid min="-90,0,-481" max="-96,27,-480"/>
            <cuboid min="-93,0,-480" max="-96,27,-479"/>
        </union>
        <cuboid id="orange-woolroom-blocks" min="54,0,-517" max="74,27,-536"/>
        <union id="pink-woolroom-blocks"> <!-- maybe a better way to configure this -->
            <cuboid min="43,0,-240" max="44,27,-237"/>
            <cuboid min="44,0,-243" max="45,27,-237"/>
            <cuboid min="45,0,-245" max="46,27,-236"/>
            <cuboid min="46,0,-247" max="47,27,-236"/>
            <cuboid min="47,0,-248" max="48,27,-236"/>
            <cuboid min="48,0,-249" max="49,27,-235"/>
            <cuboid min="49,0,-250" max="50,27,-235"/>
            <cuboid min="50,0,-251" max="51,27,-235"/>
            <cuboid min="51,0,-252" max="69,27,-234"/>
            <cuboid min="52,0,-252" max="68,27,-253"/>
            <cuboid min="53,0,-253" max="68,27,-254"/>
            <cuboid min="54,0,-254" max="68,27,-255"/>
            <cuboid min="55,0,-255" max="67,27,-256"/>
            <cuboid min="56,0,-256" max="67,27,-257"/>
            <cuboid min="58,0,-257" max="67,27,-258"/>
            <cuboid min="60,0,-258" max="66,27,-259"/>
            <cuboid min="63,0,-259" max="66,27,-260"/>
        </union>
        <cuboid id="purple-woolroom-blocks" min="-84,0,-222" max="-104,27,203"/>
    </union>
    <negative id="not-build-area">
        <union id="build-area">
            <rectangle min="33,-329" max="-8,-266"/> <!--blue team right-->
            <rectangle min="37,-284" max="19,-266"/>
            <rectangle min="-63,-314" max="-28,-265"/> <!--blue team left-->
            <complement>
                <cuboid min="3,0,-473" max="26,oo,-496"/>
                <half origin="3,0,-473" normal="-1,0,-1"/>
            </complement>
            <rectangle min="-74,-259" max="-57,-244"/>
            <rectangle min="-75,-253" max="-54,-239"/>
            <rectangle min="-28,-323" max="-47,-335"/>
            <rectangle min="17,-384" max="33,-355"/> <!--middle lane-->
            <rectangle min="-47,-355" max="-63,-384"/>
            <rectangle min="-63,-410" max="-22,-473"/> <!--red team right-->
            <rectangle min="-67,-455" max="-49,-473"/>
            <rectangle min="33,-425" max="-2,-474"/> <!--red team left-->
            <complement>
                <cuboid min="-33,0,-266" max="-57,oo,-242"/>
                <half origin="-33,0,-266" normal="0.99,0,1"/>
            </complement>
            <rectangle min="44,-480" max="26,-496"/>
            <rectangle min="45,-486" max="24,-500"/>
            <rectangle min="-2,-416" max="17,-404"/>
        </union>
    </negative>
    <above id="build-limit" y="27"/>
    <apply enter="only-blue" region="blue-spawn" message="You may not enter the enemy's spawn!"/>
    <apply enter="only-red" region="red-spawn" message="You may not enter the enemy's spawn!"/>
    <apply enter="only-red" region="blues-woolrooms" message="You may not enter your own wool room!"/>
    <apply enter="only-blue" region="reds-woolrooms" message="You may not enter your own wool room!"/>
    <apply block-place="only-iron-cause-world" block-break="only-iron" region="spawns" message="You may not edit spawn!"/>
    <apply block-place="only-iron-cause-world" block-break="only-iron" region="spawns" message="You may not edit spawn!"/>
    <apply block="blues-woolrooms-filter" region="blues-woolrooms" message="You may not edit the wool room!"/>
    <apply block="reds-woolrooms-filter" region="reds-woolrooms" message="You may not edit the wool room!"/>
    <apply block-place="never" region="build-limit">
        <message>{"translate":"match.maxBuildHeight"}</message>
    </apply>
    <apply block-place="block-place-void-filter" block-break="block-break-void-filter" region="not-build-area" message="You may not build in the void!"/>
    <apply block="deny-obsidian" region="everywhere" early-warning="true" message="You may not break this block!"/>
</regions>
<wools craftable="false">
    <wool team="blue-team" color="pink" monument="blue-team-pink-wool" location="63,12.5,-242"/>
    <wool team="blue-team" color="purple" monument="blue-team-purple-wool" location="-98,16.5,-210"/>
    <wool team="red-team" color="yellow" monument="red-team-yellow-wool" location="-93,12.5,-497"/>
    <wool team="red-team" color="orange" monument="red-team-orange-wool" location="68,16.5,-529"/>
</wools>
<spawners>
    <spawner spawn-region="yellow-wool-spawn" player-region="yellow-woolroom" delay="3s">
        <item material="wool" amount="3" damage="4"/>
    </spawner>
    <spawner spawn-region="orange-wool-spawn" player-region="orange-woolroom" delay="3s">
        <item material="wool" amount="3" damage="1"/>
    </spawner>
    <spawner spawn-region="purple-wool-spawn" player-region="purple-woolroom" delay="3s">
        <item material="wool" amount="3" damage="10"/>
    </spawner>
    <spawner spawn-region="pink-wool-spawn" player-region="pink-woolroom" delay="3s">
        <item material="wool" amount="3" damage="6"/>
    </spawner>
</spawners>
<renewables>
    <renewable region="spawns" renew-filter="only-iron" rate="1"/>
</renewables>
<toolrepair>
    <tool>iron sword</tool>
    <tool>bow</tool>
    <tool>arrow</tool>
    <tool>iron pickaxe</tool>
    <tool>iron axe</tool>
</toolrepair>
<itemremove>
    <item>leather helmet</item>
    <item>leather chestplate</item>
    <item>chainmail leggings</item>
    <item>leather boots</item>
    <item>string</item>
    <item>redstone</item>
</itemremove>
<itemkeep>
    <item>smooth brick</item>
    <item>glass</item>
    <item>golden apple</item>
    <item>water bucket</item>
</itemkeep>
<kill-rewards>
    <kill-reward>
        <item amount="32" damage="3" material="smooth brick"/>
        <item amount="16" material="glass"/>
    </kill-reward>
</kill-rewards>
<hunger>
    <depletion>off</depletion>
</hunger>
</map>