• check_circle Functions
  • 1,531 views, 2 today
  • 59 downloads, 0 today
  • 19
  • 11
  • 22
Required Resource Pack
Lanzifer's Avatar Lanzifer
Level 8 : Apprentice Miner
4
Trying to recreate the old Invasion Mod. No code was copied, but it is 100% the inspiration and guide (but with a few changes that I prefer). Reference video from almost ELEVEN YEARS ago can be seen here: https://youtu.be/XH4a1E3f1sc

It involves you placing down a Shrine which is dropped by any Villager that burns to death (SACRIFICE THEM). Placing this block will immediately spawn a small attacking wave of hostiles which are trying to destroy the Shrine. New waves spawn every few days with increasing difficulty from a "day" pool and a "night" pool. Spider waves and boss waves will occasionally spawn.

Includes:
- A Shrine block to defend.
- Configure the min/max time between waves and distance the mobs will spawn away from the Shrine Block ("/trigger config" )
- Vanilla monsters which come to attack your base and destroy your Shrine, testing your fortifications.
- The mobs can dig through your walls.
- Wave based attacks that slowly increase in intensity

My intended use is for players to start a new world, do some preliminary exploration for a base/get some basic materials, and then place the Shrine block within the first day or two. My recommendation is to have waves spawn every 1 - 2.5 days. This is what my college friend group did back in the day and it was tons of fun. The difficulty scaling is balanced around the players starting with stone weapons. The difficulty scaling is balanced around Multiplayerr, so doing this Singleplayer will likely be pretty hard.


ToDo:
- add shrine rewards (an "archivist" librarian villager which progressively learns more and more enchanted book trades)
- add wave postponing mechanics (burn an iron block like a fuel source to postpone the wave 1/4th day)
- add better night/day wave picking. If a wave will execute near night-time, dynamically delay/fast-forward the "time until next wave" to be sufficiently boxed after dark/before sunrise.
- Guarantee spider waves happen at night
- Guarantee each boss wave executes at the correct time of day/night. Also probably should add more bosses lul
- tbh could always use better pathing, current implementation is kinda scuffed
- tbh could always use better block breaking, current implementation is kinda scuffed
Creditjust me baybeeeeeeee
CompatibilityMinecraft 1.19
Tags

2 Update Logs

Update #2 : by Lanzifer 10/16/2022 9:09:20 pmOct 16th, 2022

- enabled the engineer invader type (zombified piglins) to build bridges down cliffs, across gaps, and up towards the Shrine block
- removed a bunch of temp test logic I had for my own debugging which accidentally made it into my previous .zips
LOAD MORE LOGS

Create an account or sign in to comment.

1
01/15/2023 12:19 am
Level 8 : Apprentice Miner
Lanzifer
Lanzifer's Avatar
Bugs:
  • 10th level boss wave might have spawned multiple times.
  • shrine hp recharge didnt seem to work
  • shrine hp stuck at 0 for longer than it needs to be when you lose
  • "trigger_config" is delayed like a REALLY long time while the defense is going for some reason
  • lost on a boss wave and the wavenumber went to 0
  •  this caused the next wave to spawn nothing, and then "spawning boss" like 40x
1
04/13/2023 1:23 am
Level 39 : Artisan Slime Tamer
GooeyNooey
GooeyNooey's Avatar
the pack doesnt seem to go past the first wave in 1.19.4
2
10/22/2022 8:27 pm
Level 39 : Artisan Slime Tamer
GooeyNooey
GooeyNooey's Avatar
How many waves are there?
2
10/26/2022 8:55 pm
Level 8 : Apprentice Miner
Lanzifer
Lanzifer's Avatar
Currently and my design is it ramps up in difficulty up to wave 50. Starting with wave 51, the numbers/quality of invaders doesn't increase anymore and just continues at that level (with a planned secret boost at wave number 75 and maybe 100 but don't hold me to that and don't tell anyone)
2
10/18/2022 9:30 amhistory
Level 42 : Master Button Pusher
Quamsy
Quamsy's Avatar
Hello there! This Datapack looks great! Quick question, does this work with multiple Shrines? ie: 20 Players all have their own Shrine with their own waves.
2
10/18/2022 8:53 pm
Level 8 : Apprentice Miner
Lanzifer
Lanzifer's Avatar
it does not work with multiple shrines. Sorry, I know. It was a thought while I was making it, so some things are made to be generic, but the timing loops would be the same for everyone and at the start of every wave i summon a bunch of enemies with the invader tag and then spreadplayers every entity with the invader tag. This does not work if multiple waves are happening simultaneously. Not to mention I don't know how i would keep track of multiple shrines and shrine coordinates and how do i know which shrine's wave is happening at which time.



tldr; no. It might be possible but it isn't a priority and I would have to get much better at making datapacks first.
3
10/17/2022 10:20 am
Level 25 : Expert Theorist
Skwerps
Skwerps's Avatar
yoooooo human sacrifice less goooooo
3
10/17/2022 2:37 am
Level 28 : Expert Lego Builder
Winters_Bane
Winters_Bane's Avatar
Bro, I tried to use this, and when I dragged the packs into the correct locations in minecraft it said failure to copy packs. Not sure what to do now.
1
10/18/2022 12:04 am
Level 8 : Apprentice Miner
Lanzifer
Lanzifer's Avatar
hmm I just used fresh downloaded copies on a new world without issue... to be honest "failure to copy" seems like something on your end though? There is no "copying" that I, as the datapack creator, have control over
2
10/20/2022 10:12 pm
Level 28 : Expert Lego Builder
Winters_Bane
Winters_Bane's Avatar
This was awesome! The only thing was sometimes it was hard to find the enemies ie: they spawned undergroud or too far away.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome