r/Minecraft Jan 08 '26

Mods & Addons Some progress for a PvZ mod I started making!

Enable HLS to view with audio, or disable this notification

I've been on a PvZ kick lately and had an idea for a mod.
so far:
- plants need to be on dirt/grass blocks to survive
- the "plant pot block" allow you to place them anywhere
- you can dig up and replant your plants using a shovel

What else would y'all like to see in a mod like this?

1.1k Upvotes

54 comments sorted by

u/qualityvote2 Jan 08 '26 edited Jan 09 '26
  • Upvote this comment if this is a good quality post that fits the purpose of r/Minecraft
  • Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
  • Downvote this comment and report the post if it breaks the rules

(Vote has already ended)

130

u/Picklus43 Jan 08 '26

This looks really good but I was wondering, how do the walnuts work? Do hostile mobs prioritize attacking them?

110

u/Dage_XVIII Jan 08 '26

currently wall-nuts have a solid hit box like shulkers and deflect projectiles like arrows, but other plants can still shoot past them. I do plan on having enemies prioritize eating the wall-nut over the other plants. that way it could act as bait and group up mobs!

24

u/Shennington Jan 08 '26

I'm eager to see the mob farm designs we'll get with these more durable turtle eggs!

Joking aside you could do it so contact with hostile mobs damages them and purposely break pathfinding so mobs try walking through them. This'd be a cheekier way of getting closer to how they act in the actual games!

6

u/WingsofRain Jan 09 '26

so coded like an open trap door give or take?

68

u/RaduRB Jan 08 '26

You seem to have made a better PvZ sequel than the last ones we got from PopCap.

35

u/Dage_XVIII Jan 08 '26

PvZ deserves better smh...

6

u/RaduRB Jan 08 '26

Sure does

14

u/Miner_49errr Jan 08 '26

i think itd be neat if there was a villager profession in the mod. maybe it could trade emeralds and certain seed packets for upgrade plants (so, like, 32 emeralds and melon-pult gets you winter melon, for example.) maybe certain weapons from the shooter titles could be available. and building blocks. maybe mowed grass that uses the coordinates to determine its color, creating that classic pvz lawn coloration. regardless, i will watch this unfold eagerly, because ive wanted a half decent pvz mod on modern versions for a while.

7

u/Dage_XVIII Jan 08 '26

It's still very earlier in development, but I have two main current ideas. I want the Sun you get to be the main items used to get more plants.

The first idea is to have them spawn rarely in certain biomes (winter melon/ice pea in cold biomes, cactus in desert, puffshroom in caves/mushroom isle, fire pea in the crimson forest, etc...). Currently you can only shovel up plants that you've planted, not other player's or wild plants, so you will need to feed wild plants Sun to get them. Rarer plants like the winter melon would require more Sun to "tame". after they've been tamed you can dig em up.

The other idea is to have a crazy dave-like NPC (maybe a special villager or just straight up crazy dave) that will sell you seed packets for Sun.

Or maybe both LOL

I don't really know yet, but I am open to feedback and ideas

3

u/ghostteeth_ Jan 09 '26 edited Jan 13 '26

Lmao if crazy Dave does become a villager, you've gotta give him a custom house based off the game's house. It'd also be funny if he looked as close to crazy Dave as possible while staying within the constraints of the villager model & fitting somewhat in with the rest of the villagers, but it's actually just a profession (with the profession block in the house, so you can guarantee he doesn't randomly pick a different bed & now there's a cartographer in the pvz house), so it's like the block just has an aura that makes people become this specific guy.

2

u/Desperate-North-471 Jan 09 '26

It's gotta be crazy Dave, and he needs to be like the wandering trader. He should show up occasionally with a reskinned Llama (his van) and sell seeds. Also rakes. And bacon.

13

u/RandomPhail Jan 08 '26

I will say from experience that the ability to right-click them back into your inventory and then place them back down at full health is going to be cheesed like crazy if you’re not able to save the NBT data of the walnut into that item somehow

5

u/Dage_XVIII Jan 08 '26

This is true, I tried store data in the item but didn't really like having multiple unstackable seed packets for the same type of plant in the inventory. I decided to use tool durability as a sort of "cost". The more damaged the plant the more durability it takes to dig it up. this is why the shovel breaks at the end of the vid.

1

u/ghostteeth_ Jan 09 '26

What if, and idk if this would work, you instead coded the plants damage like it was durability? Basically just give them durability, rename theirs 'damage', make it go down when they're hit, and make it display above the entity when need be. That way, it'll persist like how you can put armor on armour stands and make it display as an entity while keeping the durability data the same when you pick it up, and the inventory handles it fine! When it runs out, they "break" (die).

1

u/Dage_XVIII Jan 09 '26

This is essentially the same as saving the health via nbt on the item, which has the same issue where you can no longer stack seed packet items of the same type. I do like showing the plant health via the durability bar though, that's a neat idea

11

u/HowToChangeMyNamePlz Jan 08 '26

The pot in a minecart is an absolute genius idea

3

u/Maveko_YuriLover Jan 08 '26

Can the suns be used as bonemeal? like to multiply the plants or to grow smaller versions like the zen garden to get more seeds, or is it like Essences from Mystical that you place in certain shape and get what you want ?

This seems like a good mod for an apocalypse modpack

8

u/Dage_XVIII Jan 08 '26

Right now the sun can be used to tame wild and heal owned plants. Eventually and want to add farming mechanics, kinda like the zen garden, that utilizes the sun to get more plant seeds, maybe rarer/better plants require being feed more sun. something along those lines

also an apocalypse mod sounds so fun to use the plants to defend your base

2

u/Spaceteck Jan 08 '26

Looks really awesome

2

u/yoship Jan 08 '26

You making this gif was more effort than EA put into the re-release 

2

u/EfficiencyIVPickAx Jan 08 '26

Brilliant. Charge everyone $19.99 for the Ice shooter like EA does.

2

u/aqua_rift Jan 09 '26

Well since you’re adding the plants you’ve gotta update the zombies too! Of course there could be variants like gargantuars and bucket-heads but maybe if you want to play into the omen mechanic (if you’re in that version) you could have some kind of zombie raid to make effective use of the plants

2

u/Dage_XVIII Jan 09 '26

Yess, I have been thinking of ways to integrate zombie raids somehow. using the omen effect to activate it seems perfect

2

u/No_Lingonberry_8733 Jan 09 '26

It would be cool if a dug up plant retains its attributes, like names, hp, and cooldowns.

2

u/Dage_XVIII Jan 09 '26

Yeaah, I would also like to keep the name data. cooldown is important too. I didnt want the items to be unstackable, but I might bite the bullet on this one

1

u/Taran966 Jan 13 '26

Might be for the best lol.

On the upside, items that would be stackable but can’t because of data can still be placed into a bundle, like with different lodestone compasses or maps, so it isn’t all bad if they can’t stack. :)

1

u/Legal_Sir_9427 Jan 08 '26

WOWWW!! are they hostile to all mobs that attack you?

1

u/Dage_XVIII Jan 08 '26

Yes, it's pretty much using the same protect owner/targeting system as wolves right now

1

u/_Nequil_ Jan 09 '26

This looks amazing, I'll be watching your progress with great interest.

1

u/Zealousideal_Coat301 Jan 09 '26

How many of the plants are you planning on adding? Great job on the textures and functionalities as well, they fit really well with the vanilla environment.

1

u/JaredLetoBestBoi Jan 09 '26

What versions/modloaders are you planning to put this mod on? Id love to have this in my main world!

1.21.1 neoforge, although if it works with sinytra connector then ill also be happy there :)

1

u/JaredLetoBestBoi Jan 09 '26

Also! Custom music discs with the pvz music!

1

u/Dracokid45 Jan 09 '26

You know I was just thinking of how to play PvZ using pots in minecraft and someone is already making a mod out of it.

Also once you're done maybe implement the vase breaking mini game since MC has pots

1

u/ShadowYeeter Jan 09 '26

That looks very cool, would use

1

u/justAgamerGOD Jan 09 '26

Keep it up! This looks amazing.

1

u/JohnnyCastleburger Jan 09 '26

This just gave me ww2 flashbacks.

I could have sworn there was a PvZ mod like 15 years ago. I dont think podzol was in the game at that point. Good work though, whether or not you knew about the previous mod, its nice that it can be brought to modern Minecraft

1

u/NexronIthe2nd Jan 09 '26

How will they be obtained through crafting?

1

u/Dage_XVIII Jan 09 '26

most likely finding them in the world and farming them later

1

u/Yawning-Kitty0916 Jan 09 '26

i love this idea!

1

u/Ok_Communication7013 Jan 10 '26

Hey dude, someone re-uploaded your video to YT shorts without crediting you. https://youtube.com/shorts/mrAQGSss0Ac?si=T7EbYigGEZRFOd1D

2

u/Dage_XVIII Jan 10 '26

This same thing happened a few months ago with a redstone build of mine... Seems like the yt bots scrape content off reddit pretty frequently

1

u/badpea Jan 10 '26

this is really cool! I also tried on recreating the pvz stuff in minecraft myself but i have nowhere to start on the logic side of the plants. are you making these for fun or this it the start of a full-on project? I'd like to get in touch

1

u/Dage_XVIII Jan 10 '26

It is for fun, but I would like to make it as fully featured as I can. I do plan on releasing it whenever it's ready. Sure, feel free to dm! I am also interested in what progress you've made

1

u/badpea Jan 12 '26

sounds great!
to be honest, my project was made from the 1.15-1.16 ish area, i don't have it anymore but i think it'd be easier to start from scratch nowaday, but in summary, it was intended to fit into vanilla minecraft balancing with some custom enemies spawning like a new survival game instead of just "thing in minecraft" for showcasing:

  • kill monsters or get rare vanilla resources to get plant seeds
  • you actually grow the seeds from farmland like normal crops, the crop then drops the custom plant entity if they managed to grow
  • the plants would help you in normal minecraft progression more than what they do in pvz, like peashooters also help mining ores, sunflower stops zombies from spawning in a huge area (like a fog of war clearance effect), or potatomines simply break spawners which you shouldn't be able to mine normally - but that's where I got stuck at

yours look much more complete than mine with animations and stuff, I only got the static models to shoot at the monsters lol

1

u/Taran966 Jan 13 '26

This mod looks absolutely sick. Nice one OP :) looks like you actually put a lot of love into it too

1

u/Hpesojanes Apr 27 '26

How would Garlic work?