Mod

A Watched Pot

Quick rating

A Watched Pot

No reviews yet

A watched block sometimes ticks.

No Theme
Tech
QoL & Tweaks
Performance & Optimization
Mod Loaders
Forge
NeoForge
Fabric
Quilt
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
Creative Commons Zero v1.0 Universal
Latest Version
Forge 1.21.4-1.0.0
Authors
CurseForge

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

A watched pot never boils. A watched furnace never... ticks?

A Watched Pot is a fully configurable mod for both Neoforge/Forge and Fabric/Quilt that either stops blocks from ticking when they're looked at or restricts them to only tick when they *are* looked at, with filtering available via block tags.

Usage

On Forge, A Watched Pot can be configured through Forge's normal server configuration systems. There are currently two configuration options:

  • The mod can use either a whitelist or a blacklist, which can be toggled via the use_whitelist option. If the option is enabled, only blocks in the watchedpot:whitelist block tag will be affected. If it's disabled (which it is by default), all blocks will be affected except those in the watchedpot:blacklist tag.
  • The mod's behavior can be inverted via the invert_behavior option. If enabled, only blocks that are looked at will tick (of those affected); if disabled, all blocks will tick *unless* they are looked at.

By default, both options are set to false - that is, no block will tick while a player is looking at it.

To recap:

  • use_whitelist=true, invert_behavior=false - blocks in the whitelist tag will not tick if they are looked at; all other blocks remain unchanged.
  • use_whitelist=false, invert_behavior=false - all blocks will not tick if they are looked at, unless they are in the blacklist tag (in which case they remain unchanged).
  • use_whitelist=true, invert_behavior=true - blocks in the whitelist tag will only tick if they are looked at; all other blocks remain unchanged.
  • use_whitelist=false, invert_behavior=true - all blocks will only tick if they are looked at, unless they are in the blacklist tag (in which case, again, they remain unchanged).

On Fabric, the same options can be set via gamerules (watchedpot_useWhitelist and watchedpot_invertBehavior) to avoid an extra config dependency. This is unfortunately not quite as robust but it keeps the mod lightweight on both platforms. If you need to set default values (such as for a modpack) you can emulate that behavior with a KubeJS server_script, like so:

// For 1.18.2 change the line below to onEvent('server.load', event => {
ServerEvents.loaded(event => {
  if (event.server.persistentData.gameRules) return
  event.server.gameRules.set("watchedpot_useWhitelist", true)
  event.server.gameRules.set("watchedpot_invertBehavior", false)

  event.server.persistentData.gameRules = true
})
 

You can also use datapacks to achieve the same effect with a .mcfunction running the /gamerule command. See the Minecraft Wiki for information on that.

Demo

A Watched Pot Logo

A watched pot never boils. A watched furnace never... ticks?

A Watched Pot is a fully configurable mod for both Neoforge/Forge and Fabric/Quilt that either stops blocks from ticking when they're looked at or restricts them to only tick when they are looked at, based on a block tag.

Requires Fabric API on Fabric/Quilt.

Usage

On Forge, A Watched Pot can be configured through Forge's normal server configuration systems. There are currently two configuration options:

  • The mod can use either a whitelist or a blacklist, which can be toggled via the use_whitelist option. If the option is enabled, only blocks in the watchedpot:whitelist block tag will be affected. If it's disabled (which it is by default), all blocks will be affected except those in the watchedpot:blacklist tag.
  • The mod's behavior can be inverted via the invert_behavior option. If enabled, only blocks that are looked at will tick (of those affected); if disabled, all blocks will tick unless they are looked at.

By default, both options are set to false - that is, no block will tick while a player is looking at it.

To recap:

  • use_whitelist=true, invert_behavior=false - blocks in the whitelist tag will not tick if they are looked at; all other blocks remain unchanged.
  • use_whitelist=false, invert_behavior=false - all blocks will not tick if they are looked at, unless they are in the blacklist tag (in which case they remain unchanged).
  • use_whitelist=true, invert_behavior=true - blocks in the whitelist tag will only tick if they are looked at; all other blocks remain unchanged.
  • use_whitelist=false, invert_behavior=true - all blocks will only tick if they are looked at, unless they are in the blacklist tag (in which case, again, they remain unchanged). On Fabric, the same options can be set via gamerules (watchedpot_useWhitelist and watchedpot_invertBehavior) to avoid an extra config dependency. This is unfortunately not quite as robust but it keeps the mod lightweight on both platforms. If you need to set default values (such as for a modpack) you can emulate that behavior with a KubeJS server_script, like so:
// For 1.18.2 change the line below to onEvent('server.load', event => {
ServerEvents.loaded(event => {
  if (event.server.persistentData.gameRules) return
  event.server.gameRules.set("watchedpot_useWhitelist", true)
  event.server.gameRules.set("watchedpot_invertBehavior", false)

  event.server.persistentData.gameRules = true
})

You can also use datapacks to achieve the same effect with a .mcfunction running the /gamerule command. See the Minecraft Wiki for information on that.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~4,000
Total Downloads
CurseForge
~2,000
Modrinth
~2,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync