Minecraft Data Packs / Game Mechanic

Mob Control - Forcefields [Gneiss Name inspired]

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Recipes
  • 2,329 views, 6 today
  • 104 downloads, 1 today
  • 20
  • 16
  • 12
imalittlhigh's Avatar imalittlhigh
Level 61 : High Grandmaster Sweetheart
109
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 =)
CompatibilityMinecraft 1.20
Tags

2 Update Logs

Update #2 : by imalittlhigh 01/18/2024 4:10:55 pmJan 18th

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

Create an account or sign in to comment.

1
04/08/2024 2:41 am
Level 1 : New Miner
shrimplyp
shrimplyp's Avatar
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
04/08/2024 3:12 am
Level 61 : High Grandmaster Sweetheart
imalittlhigh
imalittlhigh's Avatar
it uses blockdisplays, idk how they work on bedrock, so that might be the issue. (The displays normally cover the lamp and repeater ^^)
1
01/03/2024 4:08 pm
Level 1 : New Miner
FeatherMourn
FeatherMourn's Avatar
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
01/04/2024 3:12 am
Level 61 : High Grandmaster Sweetheart
imalittlhigh
imalittlhigh's Avatar
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
11/15/2023 8:31 am
Level 18 : Journeyman Miner
mc_mr_ii
mc_mr_ii's Avatar
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
11/15/2023 10:05 am
Level 61 : High Grandmaster Sweetheart
imalittlhigh
imalittlhigh's Avatar
nah, i excluded the wither, ender dragon and warden. Kinda felt too op if you could just keep them away and from spawning.
Altho just pushing them might be an idea, while still allowing them to spawn.

Ill think about that and maybe implement it in the future =)
1
11/16/2023 10:37 am
Level 18 : Journeyman Miner
mc_mr_ii
mc_mr_ii's Avatar
well i mean the crafting is kind off expensive like 2 netherite ingots and a ward smithing template so maybe you can like make it push wardens and other bosses in a smaller radius
1
11/14/2023 11:09 pm
Level 1 : New Explorer
HitoNatsuki
HitoNatsuki's Avatar
If I replace the netherite block with another block, will it work?
1
11/15/2023 5:52 am
Level 61 : High Grandmaster Sweetheart
imalittlhigh
imalittlhigh's Avatar
no, if you dont have the netherite block there, it wont place, and if you break it after you placed it, it will break aswell

If you want to make it easier, you can just change every "netherite_block" in the datapack to any other block you want =)
(Like in the mcfuncitons, and the .json)
1
11/14/2023 5:26 pm
Level 54 : Grandmaster Dinosaur
DinoDesmond
DinoDesmond's Avatar
Very well made 👌
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome