300 free coinsevery week

Garden Defense

v7MC Java 26.1
11 downloads

Description

Defend your garden through escalating zombie waves using plants, tactical defenses, and Sun Tokens.

Mod Wiki

Garden Defense

Quickstart

  1. Obtain a Garden Almanac and use it to start a defense, or run:
    /garden start
    
  2. Starting a match gives you a starter kit containing:
    • 3 Peashooters
    • 2 Sunflowers
    • 2 Wall-Nuts
    • 2 Snow Peas
    • 1 Armored Wall-Nut
    • 2 Repeaters
    • 2 Potato Mines
    • 8 Sun Tokens
  3. Place your plants on the same level as the block where you started the match. Arrange attacking plants around the garden and place Potato Mines near the expected zombie approach.
  4. Keep wave zombies away from the starting point. Three waves spawn automatically, with later waves containing more zombies and spawning them more quickly.
  5. Use /garden status to check the current wave, remaining invaders, and plant hits.

The Garden Almanac can also be crafted:

garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
Arrow
garden-defense-qto5ejid:armored_wall_nut

Use the Almanac again to start another match after the current defense ends. Only one match can be active in a world at a time.

Overview

Garden Defense turns an area around you into a three-wave zombie defense. Plants automatically attack nearby wave zombies, Sunflowers generate Sun Tokens, and Potato Mines provide one-use bursts of damage.

A match is centered on the block where it was started. The garden covers an area roughly 18 blocks in every horizontal direction from that point. If a wave zombie gets within 3 blocks of the center, the defense immediately fails.

What It Adds

Plants

PlantRole
PeashooterDeals 2 damage to the nearest nearby wave zombie.
SunflowerProduces 1 Sun Token every 10 seconds during an active match.
Wall-NutA placeable, non-colliding defensive plant with no direct attack effect.
Snow PeaDeals 2.5 damage and applies Slowness II to its target.
Armored Wall-NutA sturdier-looking Wall-Nut variant with no direct attack effect.
RepeaterDeals 4 damage to the nearest nearby wave zombie.
Potato MineDeals 10 damage to a nearby zombie, then disappears.

All plants are placeable blocks. They do not have collision, so Wall-Nuts and Armored Wall-Nuts do not physically block zombies. Use them as garden markers or visual defenses while relying on attacking plants and mines for combat.

Garden Almanac

The Garden Almanac is a reusable match trigger. Use it anywhere to begin a defense at your current position.

Sun Token

Sun Tokens are generated by Sunflowers and awarded for victory. A successful defense awards 12 additional Sun Tokens. The current garden defense has no spending interface or shop for them, so they function as a collectible match resource.

How To Use

Starting a Match

Use either method:

  • Use a Garden Almanac.
  • Run /garden start.

The match starts at your current position, gives you the starter kit, and begins spawning Wave 1.

Starting another match while one is already active in the same world has no effect.

Placing Plants

Place plants on the same horizontal level as the match’s starting block. The defense checks plants across a roughly 37-by-37-block square centered on that point.

Attacking plants activate automatically every half-second. Each one targets the nearest wave zombie within 12 blocks of itself. Multiple plants can attack the same zombie, so overlapping their ranges creates concentrated fire.

Controlling a Match

CommandEffect
/garden startStarts a match and gives the starter kit.
/garden kitGives the plant and Sun Token starter kit.
/garden statusDisplays the current wave, invader count, and plant hits.
/garden stopStops the active match and removes its wave zombies without awarding a victory reward.

Crafting And Obtaining

The plant blocks and special items can be obtained from the starter kit, Creative inventory, or commands such as:

/give @s garden-defense-qto5ejid:peashooter 1
/give @s garden-defense-qto5ejid:sunflower 1
/give @s garden-defense-qto5ejid:wall_nut 1
/give @s garden-defense-qto5ejid:snow_pea 1
/give @s garden-defense-qto5ejid:armored_wall_nut 1
/give @s garden-defense-qto5ejid:repeater 1
/give @s garden-defense-qto5ejid:potato_mine 1
/give @s garden-defense-qto5ejid:garden_almanac 1
/give @s garden-defense-qto5ejid:sun_token 1

The Armored Wall-Nut is crafted from a Wall-Nut:

garden-defense-qto5ejid:wall_nut
garden-defense-qto5ejid:wall_nut
Arrow
garden-defense-qto5ejid:armored_wall_nut

A Garden Almanac is crafted from a Peashooter:

garden-defense-qto5ejid:peashooter
Arrow
garden-defense-qto5ejid:garden_almanac

A Peashooter can also be used to craft green dye:

garden-defense-qto5ejid:peashooter
Arrow
minecraft:green_dye

A Sunflower can be used to craft a Sun Token:

Abilities And Mechanics

Plant Timing And Range

  • Peashooters, Snow Peas, and Repeaters attack every 10 ticks.
  • Each attacking plant selects the nearest wave zombie within 12 blocks.
  • Sunflowers produce one Sun Token every 200 ticks, or 10 seconds.
  • Potato Mines check for a nearby zombie every 10 ticks.
  • A Potato Mine detonates when a wave zombie comes within 2.5 blocks and then removes itself.
  • Plants only function as part of the active defense when they are inside the match area and placed at the match’s starting height.

Waves

A match has three waves:

WaveZombiesSpawn interval
14About 3 seconds
26About 2.5 seconds
38About 2 seconds

Zombies enter from random positions roughly 14 blocks from the garden center. The next wave begins after the current wave has been fully spawned and defeated, with a short preparation interval.

Victory And Defeat

You win when all eight zombies in Wave 3 are defeated. Victory grants 12 Sun Tokens and removes the remaining match entities.

You lose as soon as a wave zombie reaches the 3-block danger zone around the match center. Place high-damage plants near the center and use Potato Mines to prevent stragglers from reaching it.

Progression And Strategy

  • Start with Sunflowers positioned inside the active garden so they can build up Sun Tokens during the waves.
  • Use Repeaters for the strongest continuous damage and Snow Peas to slow approaching zombies.
  • Place Peashooters in several locations rather than clustering every plant in one spot.
  • Put Potato Mines close to the center or along likely approach routes. They are powerful but single-use.
  • Keep all active plants on the match’s starting level; plants placed above or below it will not participate.
  • Remember that Wall-Nuts and Armored Wall-Nuts do not stop movement. Use attackers and mines to eliminate zombies before they enter the danger zone.
  • Check /garden status during the defense to track how many invaders remain and how much damage your plants have dealt.

Recipes

garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
Arrow
garden-defense-qto5ejid:peashooter
garden-defense-qto5ejid:sun_token
Arrow
garden-defense-qto5ejid:potato_mine
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
Arrow
garden-defense-qto5ejid:repeater
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
Arrow
garden-defense-qto5ejid:snow_pea
garden-defense-qto5ejid:sunflower
Arrow
garden-defense-qto5ejid:sun_token
minecraft:sunflower
Arrow
garden-defense-qto5ejid:sunflower
garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
Arrow
garden-defense-qto5ejid:sunflower

Recipes

garden-defense-qto5ejid:sun_token
garden-defense-qto5ejid:sun_token
Arrow
garden-defense-qto5ejid:wall_nut

How to install

This Java mod can be used on Windows and Mac PCs with the CreativeMode Launcher or any Minecraft launcher of your choice.

This mod is licensed under the CreativeMode Mods License.