Minecraft Data Packs / Quality of Life

Remove Hostile Mobs In Area

  • check_circle Functions
  • 14,477 views, 4 today
  • 1,221 downloads, 0 today
  • 34
  • 38
  • 38
ZyRail's Avatar ZyRail
Level 50 : Grandmaster Miner
26
Remove Hostile Mobs In Area
Minecraft v1.19.3 (February 19, 2023)

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 disabled, if you want to hide the protection area text from view, by using the book. Mobs that won't be removed are invulnerable 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.19
Tags

15 Update Logs

Added Minecraft Version 1.19 Mob : by ZyRail 02/19/2023 9:33:29 pmFeb 19th, 2023

Added Warden
LOAD MORE LOGS

Create an account or sign in to comment.

1
07/17/2023 9:51 am
Level 1 : New Miner
MondayKnight92
MondayKnight92's Avatar
any plans to update for 1.20?
1
10/21/2021 8:33 am
Level 42 : Master Button Pusher
Quamsy
Quamsy's 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 50 : Grandmaster Miner
ZyRail
ZyRail's Avatar
2
06/09/2021 12:18 am
Level 1 : New Miner
generrosity
generrosity's 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 50 : Grandmaster Miner
ZyRail
ZyRail's 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's 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 50 : Grandmaster Miner
ZyRail
ZyRail's 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's 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's 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 50 : Grandmaster Miner
ZyRail
ZyRail's Avatar
I just updated the pack to remove Ghasts and Magma Cubes.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome