Compatibility
Minecraft: Java Edition
26.2
26.1.x
Platforms
Supported environments
Client-side
Server-side
Client and server
Links
Tags
Creators
Details
Licensed MIT
Published 4 days ago
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.


