HomeJavaModsStaticProperties
StaticProperties
ModsJava

StaticProperties

by Fox2Code · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 26.1–26.2 · Fabric⬇ Download for 26.1–26.2 · Quilt⬇ Download for 26.1–26.1.2 · NeoForge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
StaticProperties — screenshot 1

Static Properties

Mod to modify static properties of blocks and items

How does it work?

This mod works by reading config/staticproperties.txt rules at runtime and applying them to blocks and items during initialization.

Since the data is usually not needed at runtime, any rule data loaded at memory is freed after initialization.

If rule data is needed at runtime, it can be kept by adding a #keepmemory directive.

This mod uses very minimal mixins and should be compatible with pretty much everything!

Examples

Block static properties change examples:

# Make logs require a tool to break and take longer to break
#define loglike requiresTool=true destroyTime=2.5
*_log $loglike
*_wood $loglike
*_stem $loglike
*_hyphae $loglike
# Make leaves not collide with players or entities
*_leaves hasCollision=false

Item static properties change examples:

# Change stick stack size to 128
minecraft:stick stacksTo=128
# Set diamond rarity to rare (A blue colored name when not modified by other mods)
minecraft:diamond rarity=RARE
minecraft:diamond_* rarity=RARE

Note: The max stack size is 999 unless you have another mod extending the stack size limit.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more