Data Packs Game Mechanic

Mob Control - Forcefields [Gneiss Name inspired]

  • 3.2k views 0 today
  • save_alt 126 downloads
Compatibility
Minecraft 1.20
Changes include
  • Advancements
  • Functions
  • Loot Tables
  • Recipes
  • 22
  • 19
  • 17
imalittlhigh
Lvl 67High Grandmaster Sweetheart Stack
143
Want to keep your base clear of hostile mobs?
Or just watch them fly and change up your mob farms?
This datapack adds a structure to keep those pesky mobs from spawning and entering its radius.



Inspired by Gneiss Names Video



Use GitHub for different game versions if available
Mob Control - Forcefields [Gneiss Name inspired] Minecraft Data Pack



Repels Mobs from entering its radius:

Mob Control - Forcefields [Gneiss Name inspired] Minecraft Data Pack



Prevents Mobs from spawning in its radius.



How to craft:

The smithing template is: ward_armor_trim_smithing_template

Mob Control - Forcefields [Gneiss Name inspired] Minecraft Data Pack



How to place:

Place a Netherite Block.
Place the Mob Barrier on top.
Activate it by supplying Redstone power to the Netherite Block.





How to change the radius:

Right-klick on the top of the Netherite Block with a Diamond in the main hand.
The Diamond will be consumed when increasing the radius.

Radius options:
  1. 10 Blocks (20 Block diameter)
  2. 20 Blocks (40 Block diameter)
  3. 40 Blocks (80 Block diameter)
  4. 80 Blocks (160 Block diameter)
The particle on top of the glass will display the selected radius when the Barrier is turned on. [​One corner for each level]





How to exclude Mobs from the Barriers effect:

Obtain the desired Mob Head.
  This is done the same way you get vanilla mob heads. (Explode the Mob with a charged Creeper)
  All hostile mobs have been given such a mob head drop. [​Keep in mind that mob heads from other datapacks
  will not work for this]

Place the Mob Head on a side of the Netherite Block [​You can supply power form the bottom to get 4 excludes]
  (Zombie Villagers are excluded and included with normal Zombies)





To get the Mob Barrier back, just break the Netherite Block or the Calibrated Sculk Sensor (its a repeater, so the hitbox will be only slightly higher than the Netherite Block)
The Mob Barrier and/or Netherite Block will drop.



Feel free to report any bugs or performance problems here, or contact me on discord =)

2 Update Logs

Update #2 : by imalittlhigh 01/18/2024 4:10:55 pmJanuary 18, 2024 @ 9:10 pm UTC

forgot to add scoreboard in load function...
sry
LOAD MORE LOGS

More like this

  Have something to say?

SilverWolf250
04/23/2025 2:32 am
Level 1 : New Miner
Do you have any plans to update this datapack to 1.21+ ?
1
imalittlhigh
04/23/2025 4:44 am
Level 67 : High Grandmaster Sweetheart Stack
not currently, but will have a look when i find time =)
2
SilverWolf250
04/24/2025 11:34 am
Level 1 : New Miner
Thank you kind sir! Good luck :)
1
AvatarKris
06/01/2024 4:26 am
He/They • Level 1 : New Collective
Does this also work with players?
1
imalittlhigh
06/02/2024 10:44 am
Level 67 : High Grandmaster Sweetheart Stack
no, only mobs
1
shrimplyp
04/08/2024 2:41 am
Level 1 : New Miner
Hi, I have this on my geyser crossplay server and it works fine for java players but geyser players just see a redstone lamp and a repeater. Does this use custom entities?
1
imalittlhigh
04/08/2024 3:12 am
Level 67 : High Grandmaster Sweetheart Stack
it uses blockdisplays, idk how they work on bedrock, so that might be the issue. (The displays normally cover the lamp and repeater ^^)
1
FeatherMourn
01/03/2024 4:08 pm
Level 1 : New Miner
Hi I know this is silly as it has been a couple months. I installed the datapack but I am running into an issue with using it.

I am able to create the item to place on the "netherrite" block, however it does not appear to work when I flip the redstone switch to turn it on.

Any thoughts or suggestions? I have tried this in single player as well as on a server / realm.

I also have attempted to do this in creative and in survival.
1
imalittlhigh
01/04/2024 3:12 am
Level 67 : High Grandmaster Sweetheart Stack
hmmm.
does the machine appear (like visually change the block)?
The Netherite block is being changed to a redstone lamp, to detect the incoming signal.
I just tested in 1.20.4 and it works for me. If you have mods installed, they might break the pack.

btw datapacks on realms is a very bad idea, since realms break a LOT of stuff ^^

Other than that it would be easier if you added me on disc for help ^^
1
mc_mr_ii
11/15/2023 8:31 am
Level 22 : Expert Miner
does it work with vanila bosses? like it will be so cool if you can like push 100 wardens to your friends base using this mechanic.
1

Welcome