Minecraft Data Packs / Quality of Life

Remove Hostile Mobs In Area (June 9, 2021)

  • check_circle Functions
  • 11,273 views, 2 today
  • 1,019 downloads, 0 today
  • 32
  • 33
  • 37
ZyRail avatar ZyRail
Level 47 : Master Miner
24
Remove Hostile Mobs In Area
Minecraft v1.17 (June 9, 2021)

About Data Pack
Ever wanted an area that had no hostile Mobs? This datapack uses a book that will create Protection Areas in which hostile mobs will be removed. So stop placing torches all over that awesome castle and just create a protection area. The protection area text can be disable, if you want to hide the protection area text form view, by using the book. Mobs that won't be removed are invulnerable mobs, mobs within .6 blocks from a minecart, or mobs within 5 blocks from a boat. I have 5 blocks from boats because the mobs will take damage in a boat if restricted to a closer range due to the speed of ice boats.


How To Get The Item

Chat Command
/trigger RHM_book

How To Use
This book will create Protection Areas in which hostile mods will be teleported to the Void. Run setup from the book first to select which mobs to disable in the next created area. Then click on the links in the book to create or destroy protection areas.

To Install
Just place the *.zip file at \AppData\Roaming\.minecraft\saves\*world*\datapacks\ don't extract them from the zip file (not needed).

To Uninstall
/function no_hostile_mob_area:uninstall

Non-Licensed
You have the right to share, use, and build upon this datapack for anything you wish, ENJOY!
Credithttps://minecraft.tools/en/book.php
CompatibilityMinecraft 1.15
toMinecraft 1.17
Tags

14 Update Logs

June 9, 2021 : by ZyRail 06/09/2021 11:06:47 pmJun 9th, 2021

Tested Version
Tested pack running on Minecraft version 1.17
LOAD MORE LOGS

Create an account or sign in to comment.

1
10/21/2021 8:33 am
Level 23 : Expert Button Pusher
Quamsy
Quamsy avatar
Hi there. You wouldn't happen to have the older versions of the pack still? Specifically from around November 18th 2020?
2
12/03/2021 12:08 am
Level 47 : Master Miner
ZyRail
ZyRail avatar
2
06/09/2021 12:18 am
Level 1 : New Miner
generrosity
generrosity avatar
Hi! Will you be doing a test and confirmation for 1.17 ? Any planned opimizations for 1.17 planned?
1
06/09/2021 11:08 pm
Level 47 : Master Miner
ZyRail
ZyRail avatar
Updated Pack! As far as optimizations, I don't know what to optimize at this moment.
2
06/10/2021 5:57 amhistory
Level 1 : New Miner
generrosity
generrosity avatar
Nice! And works a treat!

I'm not a dev, but the DP discord mentions the new marker entity, and how you can use a predicate for IDs instead of executeifscorecard$yid stuff. I can link you too details of that helps
Dumb confirmation - distance is measured in spherical radius distance rather than a cylinder from bedrock to sky? Not a problem, just used to 'zones' being more a 2D map term.

And again - thanks 👍😁💚
1
06/10/2021 10:13 amhistory
Level 47 : Master Miner
ZyRail
ZyRail avatar
O! You're right, I should change the wording from zone to area, good point. I will make a lite update in the near future to reflex this change. I would love a link to that mentioned information as well. I will read it over!
2
06/10/2021 1:42 pm
Level 1 : New Miner
generrosity
generrosity avatar
Sweet!

DP server discord.gg/SnJQcfq and they have a specific channel #🚀optimisation-tricks particularly 30-may user rx97 lists the predicate and they discuss it. That particular channel isn't for help, so it only has a few posts per month and they do nerdy performance comparisons of different techniques 😜 many potential nuggets of gold and crunchy details

I hope it helps 😁
2
05/06/2021 7:45 am
Level 1 : New Explorer
WildBucko
WildBucko avatar

This is a great datapack, although would it possible to add more options such as removing Ghasts and Magma Cubes? I am trying to build on the roof of the nether and they keep spawning and making trouble. Another handy addition if possible could be an indicator of the area of effect. Otherwise an awesome datapack!
1
05/21/2021 9:35 pm
Level 47 : Master Miner
ZyRail
ZyRail avatar
I just updated the pack to remove Ghasts and Magma Cubes.
2
05/03/2021 5:13 am
Level 5 : Apprentice Architect
skythrusters
skythrusters avatar
This is brilliant. Not sure I'll use it, but its nice to have an option available like this.
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome