Data Packs Quality of Life

Remove Hostile Mobs In Area

  • 18k views 4 today
  • save_alt 1.4k downloads
Compatibility
Minecraft 1.21
Changes include
    Added Creditinfo
    • 42
    • 45
    • 39
    ZyRail
    Lvl 52Grandmaster Miner
    30
    Remove Hostile Mobs In Area
    Minecraft v1.21.3 (November 20, 2024)

    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!

    18 Update Logs

    November 20, 2024 : by ZyRail 11/20/2024 9:21:03 pmNovember 21, 2024 @ 2:21 am UTC

    Updated to Minecraft v1.21.3
    Minecraft:boat no longer works in pack as an item, had to change to each individual boat type item.
    LOAD MORE LOGS

    More like this

      Have something to say?

    MondayKnight92
    07/17/2023 9:51 am
    Level 1 : New Miner
    any plans to update for 1.20?
    1
    ZyRail
    05/27/2024 10:29 pm
    Level 52 : Grandmaster Miner
    I updated to 1.20.6
    1
    Quamsy
    10/21/2021 8:33 am
    Level 45 : Master Button Pusher
    Hi there. You wouldn't happen to have the older versions of the pack still? Specifically from around November 18th 2020?
    1
    ZyRail
    12/03/2021 12:08 am
    Level 52 : Grandmaster Miner
    2
    generrosity
    06/09/2021 12:18 am
    Level 1 : New Miner
    Hi! Will you be doing a test and confirmation for 1.17 ? Any planned opimizations for 1.17 planned?
    2
    ZyRail
    06/09/2021 11:08 pm
    Level 52 : Grandmaster Miner
    Updated Pack! As far as optimizations, I don't know what to optimize at this moment.
    1
    generrosity
    06/10/2021 5:57 am
    Level 1 : New Miner
    history
    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 👍😁💚
    2
    ZyRail
    06/10/2021 10:13 am
    Level 52 : Grandmaster Miner
    history
    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!
    1
    generrosity
    06/10/2021 1:42 pm
    Level 1 : New Miner
    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
    WildBucko
    05/06/2021 7:45 am
    Level 1 : New Explorer

    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!
    2

    Welcome