All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Calm Mornings

Calm Mornings

by TwinSouls • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Calm Mornings will look for any Hostile mobs(with notible exceptions), within a specified radius around a player upon waking up, and despawn them. This was done to help "simulate" the movement of monsters during the night.

No more creepers waiting right outside your doors, making your morning strolls a little calmer.

Info:

This mod is highly configurable, and most aspects of what this mod does can be adjusted to suit your needs.

#General Settings
[general]
    #Use list instead of builtin rules for despawning?
    enableList = false
    #List of mobs to despawn. [Requires enableList]
    #Formatting: ["minecraft:zombie", "minecraft:*", "<modId>:<entityId>"]
    mobs = ["minecraft:zombie", "minecraft:skeleton", "minecraft:spider", "minecraft:creeper"]
    #Adds mobs to despawn group. Mobs in blacklisted are prevented from despawning.
    #Allowed Groups: boss, monster, villager, creature, ambient, construct, misc, blacklisted
    #Formatting: ["minecraft:villager:villager", "minecraft:*:creature", "<modId>:<entityId>:<group>"]
    groups = ["minecraft:ender_dragon:boss", "minecraft:wither:boss", "minecraft:warden:boss", "minecraft:villager:villager", "minecraft:wandering_trader:villager", "minecraft:iron_golem:construct", "minecraft:snow_golem:construct"]

#Range Settings
[range]
    #Should difficulty based range scaling be enabled?
    #Difficulty Scaling: EASY = base | NORMAL = base / 2 | HARD = base / 4
    enableScaling = true
    #Horizontal radius to check for mobs to despawn.
    #Range: 0 ~ 256
    horizontalRange = 64
    #Vertical radius to check for mobs to despawn.
    #Range: 0 ~ 64
    verticalRange = 16

#Conditional Checks
[checks]
    #Player must sleep before this time to allow despawning.
    #Allowed Values: MORNING_E, MORNING, MORNING_L, NOON_E, NOON, NOON_L, EVENING_E, EVENING, EVENING_L, NIGHT_E, NIGHT, NIGHT_L, DISABLED
    lateCheck = "NIGHT_L"
    #Latest time the player can wakeup to allow despawning.
    #Allowed Values: MORNING_E, MORNING, MORNING_L, NOON_E, NOON, NOON_L, EVENING_E, EVENING, EVENING_L, NIGHT_E, NIGHT, NIGHT_L, DISABLED
    morningCheck = "MORNING_E"
    #Should non-sleeping players prevent despawning around them?
    playerCheck = true

    #Group Checks [Disabled by enableList]
    [checks.group_checks]
        #Check boss group?
        bossCheck = false
        #Check monster group?
        monsterCheck = true
        #Check villager group?
        villagerCheck = false
        #Check creature group?
        creatureCheck = false
        #Check ambient group?
        ambientCheck = false
        #Check construct group?
        constructCheck = false
        #Check misc group?
        miscCheck = false
FAQ:

Q: How does this work with Persistent mobs?

A: If they are named, it ignores them; otherwise it will drop their equipment when despawning them.

Q: Where should I leave suggestions or feedback?

A: I would love to hear any suggestions or feedback you have! I only ask that you leave it as a new issue on the mods Github as it makes it easier for me to manage and track.

Q: Can I use this in my modpack?

A: Absolutely! I only ask that you give credit if you do. Other than that, feel free to include it and modify it however you see fit for your pack.

Q: What version(s) will be supported?

A: Only the latest major version will be supported. I may update older versions if there are any major bugs/oversights, but will not be backporting new features to them.

Q: Is this compatible with X mod?

A: I have gone out of my way to try and make this mod as compatible with as many mods as possible. If you experience any incompatibilities, please report the issue on the mods Github.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x
Neoforge
4mo ago 1
1.20.x
Forge
4mo ago 1
1.20.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.18.x
Forge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.20.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.18.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.20.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.18.x
Forge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.20.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.18.x
Forge
last yr. 1
1.20.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.18.x
Forge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.20.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.18.x
Forge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.20.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.18.x
Forge
last yr. 1
1.20.x
Forge
last yr. 1
1.20.x
Forge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.20.x
Forge
last yr. 1
1.19.x
Forge
last yr. 1
1.18.x
Forge
last yr. 1
  • Stored player data is no longer persistent

> This was never really needed, so it has now been removed. The data is still there and used, just never saved. It was already being reset on joining a world anyways.

  • Group and List based despawning are now mutually exclusive
> When the list is not enabled, the mod will use the group based system to despawn entities. When list is enabled, the mod will only despawn entities on the list. Entities in the blacklisted group will still be disabled in both systems.

  • Built-in blacklist now only applies to Group based despawning
  • Fixed logic error for nearby awake player exclusions
  • Fixed Morning/Late checks not actually allowing despawning at any time

> This fixes the issue when using Sleep Tight's hammock. Now if you disable both checks, you can sleep during the day and still despawn mobs on waking.

  • Reworked equipment drop logic
  • Fixed version range to only support up to 1.21.1

> You can thank Mojang for breaking multiple functions in minor version releases.

  • Minor code optimizations
  • Stored player data is no longer persistent

> This was never really needed, so it has now been removed. The data is still there and used, just never saved. It was already being reset on joining a world anyways.

  • Group and List based despawning are now mutually exclusive

> When the list is not enabled, the mod will use the group based system to despawn entities. When list is enabled, the mod will only despawn entities on the list. Entities in the blacklisted group will still be disabled in both systems.

  • Built-in blacklist now only applies to Group based despawning
  • Fixed logic error for nearby awake player exclusions
  • Fixed Morning/Late checks not actually allowing despawning at any time

> This fixes the issue when using Sleep Tight's hammock. Now if you disable both checks, you can sleep during the day and still despawn mobs on waking.

  • Reworked equipment drop logic
  • Minor code optimizations
  • minor refactoring
  • fixed rare crash related to null damage source
  • fixed rare crash related to null damage source
  • fixed rare crashes caused by null exceptions
  • fixed rare crashes caused by null exceptions
  • fixed rare crashes caused by null exceptions
  • fixed rare crashes caused by null exceptions
  • fixed rare crashes caused by null exceptions
  • fixed crash on waking

## Note:
Had to split the mod into two different 1.19 versions due to incompatibilities with forge 1.19.3+ and older 1.19 versions.
  • fixed crash on waking

## Note:
Had to split the mod into two different 1.19 versions due to incompatibilities with forge 1.19.3+ and older 1.19 versions.
  • fixed rare entity tag crash
  • fixed rare entity tag crash
  • fixed rare entity tag crash
  • fixed rare entity tag crash
  • minor code tweaks
  • fixed rare crash on world load
  • fixed rare crash on world load
  • fixed rare crash on world load
  • fixed crash upon initially returning from the End
  • fixed crash upon initially returning from the End
  • fixed crash upon initially returning from the End
  • dedicated server fix
fixed versioning
fixed versioning
fixed versioning
  • 4.0.0+ only required on the server
  • Added ability to add all mobs by mod id
  • Added Mob Groups
> Mob Groups are used to allow/prevent despawning of specific mobs. These groups can be either set manually by the player, or left blank, in which case their group is based on their internal mob category.
  • Removed Blacklist config option
> Mob Groups take the funtion of this now.
  • Removed Better Sleep Checking
> It is now it's own seperate mod: [Let Me Sleep](https://modrinth.com/mod/let-me-sleep)
  • Built-in blacklist can now be modified using datapacks
  • Tons of backend changes
  • 4.0.0+ only required on the server
  • Added ability to add all mobs by mod id
  • Added Mob Groups
> Mob Groups are used to allow/prevent despawning of specific mobs. These groups can be either set manually by the player, or left blank, in which case their group is based on their internal mob category.
  • Removed Blacklist config option
> Mob Groups take the funtion of this now.
  • Removed Better Sleep Checking
> It is now it's own seperate mod: [Let Me Sleep](https://modrinth.com/mod/let-me-sleep)
  • Built-in blacklist can now be modified using datapacks
  • Tons of backend changes
  • 4.0.0+ only required on the server
  • Added ability to add all mobs by mod id
  • Added Mob Groups
> Mob Groups are used to allow/prevent despawning of specific mobs. These groups can be either set manually by the player, or left blank, in which case their group is based on their internal mob category.
  • Removed Blacklist config option
> Mob Groups take the funtion of this now.
  • Removed Better Sleep Checking
> It is now it's own seperate mod: [Let Me Sleep](https://modrinth.com/mod/let-me-sleep)
  • Built-in blacklist can now be modified using datapacks
  • Tons of backend changes
Calm Mornings Icon
Download Calm Mornings
Select game version
Select platform