Skip to content

Instantly share code, notes, and snippets.

@eliminate123
Created November 27, 2022 18:35
Show Gist options
  • Save eliminate123/4359f5e46a361c9bafeaa555f98c124e to your computer and use it in GitHub Desktop.
Save eliminate123/4359f5e46a361c9bafeaa555f98c124e to your computer and use it in GitHub Desktop.
Daydream Mini XML
<map proto="1.4.2">
<name>Daydream Mini</name>
<version>1.0.0</version>
<created>2022-11-22</created>
<objective>Capture each wool from the enemy teams!</objective>
<gamemode>ctw</gamemode>
<authors>
<author uuid="d5a64b26-15ea-46c4-8319-f9c83e82a1fa"/> <!-- Eliminate -->
<author uuid="6ff4ade9-e968-4acd-80eb-1a6fa89629fb" contribution="XML conversion"/> <!-- _Pear -->
</authors>
<contributors>
<contributor uuid="ec5ec930-5cf3-4f8a-ad9f-09056aeed71b" contribution="Original XML"/> <!-- Tundren -->
</contributors>
<teams>
<team id="blue-team" color="blue" max="6">Blue</team>
<team id="green-team" color="green" max="6">Green</team>
<team id="red-team" color="dark red" max="6">Red</team>
<team id="yellow-team" color="yellow" max="6">Yellow</team>
</teams>
<kits>
<kit id="spawn-resistance">
<effect amplifier="255">damage resistance</effect>
</kit>
<kit id="spawn-kit" parents="spawn-resistance">
<clear/>
<item slot="0" material="iron sword"/>
<item slot="1" material="bow">
<enchantment>infinity</enchantment>
</item>
<item slot="2" material="diamond pickaxe"/>
<item slot="3" material="diamond axe"/>
<item slot="4" amount="64" damage="1" material="wood"/>
<item slot="6" amount="48" material="vine"/>
<item slot="8" material="golden apple"/>
<item slot="28" material="arrow"/>
<item slot="29" material="shears"/>
<item slot="30" material="iron spade"/>
<helmet team-color="true" material="leather helmet"/>
<chestplate team-color="true" material="leather chestplate"/>
<leggings material="chainmail leggings"/>
<boots team-color="true" material="leather boots"/>
</kit>
<kit id="blue-kit" parents="spawn-kit">
<item slot="5" amount="32" damage="11" material="stained glass"/>
</kit>
<kit id="green-kit" parents="spawn-kit">
<item slot="5" amount="32" damage="5" material="stained glass"/>
</kit>
<kit id="red-kit" parents="spawn-kit">
<item slot="5" amount="32" damage="14" material="stained glass"/>
</kit>
<kit id="yellow-kit" parents="spawn-kit">
<item slot="5" amount="32" damage="4" material="stained glass"/>
</kit>
<take kit="spawn-resistance" filter="not-spawns"/>
</kits>
<spawns>
<default region="obs-spawn-point"/>
<spawn team="blue-team" kit="blue-kit" yaw="-90" region="blue-spawn-point"/>
<spawn team="green-team" kit="green-kit" yaw="0" region="green-spawn-point"/>
<spawn team="red-team" kit="red-kit" yaw="180" region="red-spawn-point"/>
<spawn team="yellow-team" kit="yellow-kit" yaw="90" region="yellow-spawn-point"/>
</spawns>
<filters>
<any id="block-break-void-filter">
<all>
<any>
<material>log</material>
<material>leaves</material>
<material>wool:7</material>
<material>stained clay:9</material>
<material>prismarine:2</material>
<material>wood step:1</material>
</any>
<void/>
</all>
<not id="block-place-void-filter">
<void/>
</not>
</any>
<any id="woolroom-blocks">
<material>web</material>
<material>wood:1</material>
<material>stained glass</material>
<material>vine</material>
</any>
<all id="blue-in-wr">
<not id="not-blue">
<team id="only-blue">blue-team</team>
</not>
<filter id="woolroom-blocks"/>
<filter id="block-place-void-filter"/>
</all>
<all id="green-in-wr">
<not id="not-green">
<team id="only-green">green-team</team>
</not>
<filter id="woolroom-blocks"/>
<filter id="block-place-void-filter"/>
</all>
<all id="red-in-wr">
<not id="not-red">
<team id="only-red">red-team</team>
</not>
<filter id="woolroom-blocks"/>
<filter id="block-place-void-filter"/>
</all>
<all id="yellow-in-wr">
<not id="not-yellow">
<team id="only-yellow">yellow-team</team>
</not>
<filter id="woolroom-blocks"/>
<filter id="block-place-void-filter"/>
</all>
<all id="only-gold-renew">
<material id="only-gold">gold block</material>
<cause>world</cause>
</all>
<deny id="deny-wool">
<any>
<material>wool:11</material>
<material>wool:5</material>
<material>wool:14</material>
<material>wool:4</material>
</any>
</deny>
<not id="not-spawns">
<region id="spawns"/>
</not>
</filters>
<regions>
<union id="spawn-points">
<cylinder id="blue-spawn-point" base="-69.5,13,-22.5" radius="1.5" height="0"/>
<cylinder id="green-spawn-point" base="23.5,13,-70.5" radius="1.5" height="0"/>
<cylinder id="red-spawn-point" base="-21.5,13,70.5" radius="1.5" height="0"/>
<cylinder id="yellow-spawn-point" base="71.5,13,22.5" radius="1.5" height="0"/>
<cylinder id="obs-spawn-point" base="0.5,33,0.5" radius="2" height="0"/>
</union>
<union id="spawns">
<rectangle id="blue-spawn" min="-61,-13" max="-78,-33"/>
<rectangle id="green-spawn" min="13,-62" max="33,-79"/>
<rectangle id="red-spawn" min="-12,61" max="-32,78"/>
<rectangle id="yellow-spawn" min="62,12" max="79,32"/>
</union>
<union id="woolrooms">
<cuboid id="blue-woolroom" min="-30,0,-80" max="-50,oo,-63"/>
<cuboid id="green-woolroom" min="80,0,-31" max="63,oo,-51"/>
<cuboid id="red-woolroom" min="-79,0,30" max="-62,oo,50"/>
<cuboid id="yellow-woolroom" min="31,0,79" max="51,oo,62"/>
</union>
<union id="wool-spawns">
<point id="blue-wool-spawn">-39.5,13.2,-72.5</point>
<point id="green-wool-spawn">73.5,13.2,-40.5</point>
<point id="red-wool-spawn">-71.5,13.2,40.5</point>
<point id="yellow-wool-spawn">41.5,13.2,72.5</point>
</union>
<union id="wool-monuments">
<block id="blue-team-red-wool">-73,14,-22</block>
<block id="blue-team-green-wool">-73,14,-24</block>
<block id="blue-team-yellow-wool">-73,14,-23</block>
<block id="green-team-yellow-wool">24,14,-74</block>
<block id="green-team-blue-wool">22,14,-74</block>
<block id="green-team-red-wool">23,14,-74</block>
<block id="red-team-green-wool">-22,14,73</block>
<block id="red-team-yellow-wool">-21,14,73</block>
<block id="red-team-blue-wool">-23,14,73</block>
<block id="yellow-team-blue-wool">74,14,22</block>
<block id="yellow-team-red-wool">74,14,23</block>
<block id="yellow-team-green-wool">74,14,21</block>
</union>
<union id="centre-spawner-regions">
<point id="golden-apple-spawn">0,10.2,0</point>
<sphere id="golden-apple-player" origin="0,10,0" radius="6"/>
<cuboid id="spawner-protection" min="-1,10,1" max="2,14,-2"/>
</union>
<complement id="not-build-area">
<everywhere/>
<rectangle min="-36,-37" max="37,36"/> <!-- mid -->
</complement>
<!-- applicators -->
<apply enter="only-blue" region="blue-spawn" message="You may not enter the enemy's spawn!"/>
<apply enter="only-green" region="green-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-yellow" region="yellow-spawn" message="You may not enter the enemy's spawn!"/>
<apply enter="not-blue" region="blue-woolroom" message="You may not enter your team's own wool room!"/>
<apply enter="not-green" region="green-woolroom" message="You may not enter your team's own wool room!"/>
<apply enter="not-red" region="red-woolroom" message="You may not enter your team's own wool room!"/>
<apply enter="not-yellow" region="yellow-woolroom" message="You may not enter your team's own wool room!"/>
<apply block="blue-in-wr" region="blue-woolroom" message="You may not edit the wool room!"/>
<apply block="green-in-wr" region="green-woolroom" message="You may not edit the wool room!"/>
<apply block="red-in-wr" region="red-woolroom" message="You may not edit the wool room!"/>
<apply block="yellow-in-wr" region="yellow-woolroom" message="You may not edit the wool room!"/>
<apply block-place="only-gold-renew" block-break="only-gold" region="spawns" message="You may not edit spawn!"/>
<apply block="never" region="spawner-protection" message="You may not edit the spawner!"/>
<apply block-place="deny-wool" message="You may only place wool at the victory monument!"/>
<apply block-place="block-place-void-filter" block-break="block-break-void-filter" region="not-build-area" message="You may not edit the void!"/>
</regions>
<wools craftable="false">
<wool team="blue-team" color="lime" monument="blue-team-green-wool" location="73.5,13.2,-40.5"/>
<wool team="blue-team" color="red" monument="blue-team-red-wool" location="-71.5,13.2,40.5"/>
<wool team="blue-team" color="yellow" monument="blue-team-yellow-wool" location="41.5,13.2,72.5"/>
<wool team="green-team" color="blue" monument="green-team-blue-wool" location="-39.5,13.2,-72.5"/>
<wool team="green-team" color="red" monument="green-team-red-wool" location="-71.5,13.2,40.5"/>
<wool team="green-team" color="yellow" monument="green-team-yellow-wool" location="41.5,13.2,72.5"/>
<wool team="red-team" color="blue" monument="red-team-blue-wool" location="-39.5,13.2,-72.5"/>
<wool team="red-team" color="lime" monument="red-team-green-wool" location="73.5,13.2,-40.5"/>
<wool team="red-team" color="yellow" monument="red-team-yellow-wool" location="41.5,13.2,72.5"/>
<wool team="yellow-team" color="blue" monument="yellow-team-blue-wool" location="-39.5,13.2,-72.5"/>
<wool team="yellow-team" color="lime" monument="yellow-team-green-wool" location="73.5,13.2,-40.5"/>
<wool team="yellow-team" color="red" monument="yellow-team-red-wool" location="-71.5,13.2,40.5"/>
</wools>
<spawners>
<spawner spawn-region="blue-wool-spawn" player-region="blue-woolroom" delay="3s">
<item damage="11" material="wool"/>
</spawner>
<spawner spawn-region="green-wool-spawn" player-region="green-woolroom" delay="3s">
<item damage="5" material="wool"/>
</spawner>
<spawner spawn-region="red-wool-spawn" player-region="red-woolroom" delay="3s">
<item damage="14" material="wool"/>
</spawner>
<spawner spawn-region="yellow-wool-spawn" player-region="yellow-woolroom" delay="3s">
<item damage="4" material="wool"/>
</spawner>
<spawner spawn-region="golden-apple-spawn" player-region="golden-apple-player" max-entities="1" delay="9s">
<item material="golden apple"/>
</spawner>
</spawners>
<renewables>
<renewable rate="3" renew-filter="only-gold" avoid-players="2" region="spawns"/>
</renewables>
<toolrepair>
<tool>iron sword</tool>
<tool>bow</tool>
<tool>diamond pickaxe</tool>
<tool>diamond axe</tool>
<tool>iron spade</tool>
<tool>arrow</tool>
</toolrepair>
<itemremove>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>chainmail leggings</item>
<item>leather boots</item>
</itemremove>
<block-drops>
<rule>
<filter>
<any>
<material>wood</material>
<material>stained glass</material>
</any>
</filter>
<drops>
<item chance="0" material="glass"/>
</drops>
</rule>
</block-drops>
<itemkeep>
<item>iron sword</item>
<item>bow</item>
<item>diamond pickaxe</item>
<item>diamond axe</item>
<item>iron spade</item>
<item>shears</item>
<item>arrow</item>
<item>wood</item>
<item>stained glass</item>
<item>vine</item>
<item>golden apple</item>
</itemkeep>
<kill-rewards>
<kill-reward>
<item material="golden apple"/>
<item amount="16" damage="1" material="wood"/>
</kill-reward>
<kill-reward filter="only-blue">
<item amount="8" damage="11" material="stained glass"/>
</kill-reward>
<kill-reward filter="only-green">
<item amount="8" damage="5" material="stained glass"/>
</kill-reward>
<kill-reward filter="only-red">
<item amount="8" damage="14" material="stained glass"/>
</kill-reward>
<kill-reward filter="only-yellow">
<item amount="8" damage="4" material="stained glass"/>
</kill-reward>
</kill-rewards>
<maxbuildheight>25</maxbuildheight>
<hunger>
<depletion>off</depletion>
</hunger>
<item-mods>
<rule>
<match>
<material>iron sword</material>
<material>bow</material>
<material>diamond pickaxe</material>
<material>diamond axe</material>
<material>iron spade</material>
<material>shears</material>
<material>leather helmet</material>
<material>leather chestplate</material>
<material>chainmail leggings</material>
<material>leather boots</material>
<material>gold helmet</material>
<material>gold chestplate</material>
<material>gold leggings</material>
<material>gold boots</material>
<material>diamond chestplate</material>
</match>
<modify unbreakable="true"/>
</rule>
</item-mods>
<crafting>
<!-- bulkcrafting -->
<shaped override="false">
<result material="gold helmet" amount="9"/>
<shape>
<row>III</row>
<row>I.I</row>
</shape>
<ingredient symbol="I">gold block</ingredient>
</shaped>
<shaped override="false">
<result material="gold chestplate" amount="9"/>
<shape>
<row>I.I</row>
<row>III</row>
<row>III</row>
</shape>
<ingredient symbol="I">gold block</ingredient>
</shaped>
<shaped override="false">
<result material="gold leggings" amount="9"/>
<shape>
<row>III</row>
<row>I.I</row>
<row>I.I</row>
</shape>
<ingredient symbol="I">gold block</ingredient>
</shaped>
<shaped override="false">
<result material="gold boots" amount="9"/>
<shape>
<row>I.I</row>
<row>I.I</row>
</shape>
<ingredient symbol="I">gold block</ingredient>
</shaped>
</crafting>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment