Capture the Wool
Players have to retrieve wool blocks from the enemy teams' side of the map and return to place the wool on their victory monument(s). The victory monument's area, where the wool block is placed, is protected by default to prevent it from being blocked with another block.
<wools>
<wool team="blue" color="lime" location="-20,8,-75">
<monument>
<block>0.5,11,-92.5</block>
</monument>
<!-- Blue team has to place a lime wool block at 0.5,11,-92.5 to win -->
</wool>
<wool team="green" color="light blue" location="20,8,75" craftable="false">
<monument>
<block>0.5,11,93.5</block>
</monument>
<!-- Light blue wool can not be crafted, it must be picked up -->
</wool>
</wools>
Element | Description |
---|---|
<wools> </wools> | Node containing all the wools for this map. |
Sub-elements | Value/Children | |
---|---|---|
<wool> </wool> | A wool victory monument. | Wool Sub-elements |
Wool Attributes
Attribute | Description | Value | Default |
---|---|---|---|
id | Unique identifier used to reference wool monuments from other places in the XML. | String | |
required | Specify if this objective is required to win the match. Teams completing all of their required objectives will win regardless of score or Blitz configuration. | true/false | |
team | RequiredThe team which must place this wool. | Team ID | |
color | RequiredThe wool's color. | Dye Color Name | |
monument | PropertyRequiredThe monument where the wool must be placed. | Region | |
craftable | Specify if the wool can be crafted, e.g. with white wool and dye. | true/false | true |
show-messages | Broadcast messages related to the wool in chat. | true/false | true |
show-effects | Play sounds, fireworks, and other effects related to the wool. | true/false | true |
show-info | Display the wool under commands such as /match . | true/false | true |
show-sidebar | Displays the wool on scoreboard. | true/false | true |
stats | Determines if this wool counts as a win condition. | true/false | true |
show | Specify if the wool should be hidden from all visible locations to the player. These locations include chat, the boss bar, and the scoreboard. Note: This attribute sets all five values above to true/false. | true/false | |
scoreboard-filter | Determines when the objective should be displayed on the scoreboard. | Dynamic Filter | |
location | RequiredLocation where the wool can be found at, used to determine proximity. | X,Y,Z | |
wool-proximity-metric | Metric used to determine proximity to the wool. | player closest block closest kill none | closest kill |
wool-proximity-horizontal | Only calculate horizontal distance for wool proximity. | true/false | false |
monument-proximity-metric | Metric used to determine proximity to the monument. | player closest block closest kill none | closest block |
monument-proximity-horizontal | Only calculate horizontal distance for monument proximity. | true/false | false |
Examples
You can group multiple victory monuments from the same team inside a single <wools team="team-id">
element; and then define that teams individual wool colors inside of a <wool>
element.
<wools team="red">
<wool color="cyan" location="32.5,14,0.5">
<monument>
<block>-60,26,-118</block>
</monument>
</wool>
<wool color="lime" location="0.5,10,21.5">
<monument>
<block>-60,26,-121</block>
</monument>
</wool>
</wools>
<wools team="blue">
<wool color="magenta" location="-32.5,14,0.5" monument="magenta-monument"/>
<wool color="lime" location="0.5,10,21.5" monument="lime-monument"/>
</wools>