Skip to content

Instantly share code, notes, and snippets.

@technodono
Last active January 1, 2023 09:04
Show Gist options
  • Save technodono/e1cf1edbfbe449ffc3bee196a21c4523 to your computer and use it in GitHub Desktop.
Save technodono/e1cf1edbfbe449ffc3bee196a21c4523 to your computer and use it in GitHub Desktop.
<map proto="1.4.2">
<name>La Piazza</name>
<version>1.0.9</version>
<gamemode>ffa</gamemode>
<created>2021-11-02</created>
<objective>Get the most kills possible!</objective>
<authors>
<author uuid="1aad55f7-2dea-4f22-85ca-ad9de3a78609" contribution="Map author and creator"/> <!-- Technodono -->
</authors>
<contributors>
<contributor uuid="ec5ec930-5cf3-4f8a-ad9f-09056aeed71b" contribution="Built the clock tower"/> <!-- Tundren -->
</contributors>
<rules>
<rule>Fall damage is disabled!</rule>
</rules>
<players min="2" max="32" colors="true"/>
<time>8m</time>
<kits>
<kit id="spawn" force="true">
<clear/>
<item slot="0" unbreakable="true" name="`6`l`oSabre" material="stone sword"/>
<item slot="1" unbreakable="true" material="bow"/>
<item slot="2" amount="6" projectile="arrow" name="`rCrossbow" lore="`r`7Right-click to fire!" material="firework charge"/>
<item slot="3" material="golden apple"/>
<item slot="8" amount="10" material="arrow"/>
<helmet unbreakable="true" team-color="true" material="leather helmet"/>
<chestplate unbreakable="true" team-color="true" material="leather chestplate"/>
<leggings unbreakable="true" material="chainmail leggings"/>
<boots unbreakable="true" team-color="true" material="leather boots"/>
<effect duration="2.5" amplifier="255">heal</effect>
<effect duration="2.5s" amplifier="255">damage resistance</effect>
<!-- Important! gamemode -->
<game-mode>adventure</game-mode>
</kit>
</kits>
<projectiles>
<projectile
id="arrow"
name="crossbow bolt"
velocity="4"
damage="7"
throwable="true"
cooldown="3s"/>
</projectiles>
<spawns>
<default>
<regions>
<block>-38,19,79</block>
</regions>
</default>
<spawn spread="true" kit="spawn" safe="true">
<regions angle="-37.5,15,56.5">
<!-- Far sides of long section -->
<cuboid min="-102,13,78" max="-98,19,35"/>
<cuboid min="27,13,78" max="23,19,35"/>
<!-- Long back rafters -->
<cuboid min="-102,13,78" max="27,19,73"/>
<cuboid min="-102,13,78" max="27,19,73"/>
<!-- Under rafters and middle edge -->
<cuboid min="-54,13,40" max="-102,13,35"/>
<cuboid min="-21,13,40" max="27,13,35"/>
<cuboid min="-54,13,40" max="-59,13,-9"/>
<cuboid min="-21,13,40" max="-16,13,-9"/>
<cuboid min="-59,19,-4" max="-16,13,-9"/>
<!-- Cafe -->
<cuboid min="-95,13,-2" max="-66,18,28"/>
<cuboid min="-95,13,-2" max="-66,18,28"/>
<cuboid min="-95,13,-2" max="-66,18,28"/>
<!-- Warehouse -->
<cuboid min="21,13,-2" max="-9,18,28"/>
<cuboid min="21,13,-2" max="-9,18,28"/>
<cuboid min="21,13,-2" max="-9,18,28"/>
</regions>
</spawn>
</spawns>
<filters>
<any id="useable">
<material>stone button</material>
<material>dark oak door</material>
<material>iron door</material>
</any>
<any id="iron-door">
<material>stone button</material>
<material>iron door</material>
</any>
<participating id="playing"/>
</filters>
<regions>
<block id="kitchen-exit">-94,13,0</block>
<cuboid id="obspawn" min="-33,19,77.5" max="-41,24,83"/>
<complement id="clocktower">
<cuboid min="-73,86,21" max="-84,99,10"/>
<cuboid min="-74,86,20" max="-83,99,11"/>
</complement>
<union id="secret-portal-entrance">
<block>-65,19,14</block>
<block>-65,19,15</block>
</union>
<block id="secret-portal-exit">-77,87,17</block>
<block id="clock-portal-entrance">-81,87,13</block>
<apply block="never" block-physics="iron-door" use="useable"/>
<apply enter="never" filter="playing" region="obspawn" message="You may not enter the observer's spawn"/>
<apply enter="never" filter="playing" region="clocktower"/>
</regions>
<portals>
<portal region="secret-portal-entrance" yaw="@135" destination="secret-portal-exit"/>
<portal region="clock-portal-entrance" yaw="@-45" destination="kitchen-exit"/>
</portals>
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
</toolrepair>
<itemkeep>
<item>arrow</item>
<item>firework charge</item>
</itemkeep>
<itemremove>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>chainmail leggings</item>
<item>leather boots</item>
</itemremove>
<kill-reward>
<item material="golden apple"/>
<item amount="3" projectile="arrow" name="`rCrossbow" lore="`r`7Right-click to fire!" material="firework charge"/>
<item amount="6" material="arrow"/>
</kill-reward>
<disabledamage>
<damage>fall</damage>
</disabledamage>
<hunger>
<depletion>off</depletion>
</hunger>
<score>
<kills>1</kills>
</score>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment