Project icon Patchly
Patchly

The Perfect Pure Patching Plugin

55 downloads
10 days agoUpdated June 7 at 03:53 AM
Game MechanicsTechnologyLibraryOptimizationUtility

Examples

Updated Jun 2, 2026

Examples

If you have not read the syntax reference yet, it may be good to do first

By feature

Looking for one specific operator or meta-key? Jump straight to the page that demonstrates it.

FeatureWhat it doesShown in
+ appendadd to the end of an arrayBench-Category, Item-Category, Droplists
- prependadd to the front of an arrayPrepend-Array
? fill-if-absentset a key only if it is missingFill-If-Absent
null deleteremove a key, value, or recipeRemoving-Values
~ element mergemerge into one element of an arrayMatch-Array-Element
$Matchlocate which array element to mergeMatch-Array-Element
$Requiresapply only if certain packs are installedParent-Override, Droplists
$Prioritydecide the winner when patches conflictQuality-Override
nested mergechange one field deep inside an objectRecipe-Change, Player-Stat
field replaceoverwrite a single scalar valueQuality-Override
forward referencename an id from a later-loading packLoad-Order
slot retargetpoint one interaction slot at another handlerReplace-Interaction

By scenario

#You want to...Key technique
1Make one weapon work locally AND inside another modreparent with $Requires, null the local interactions
2Add a category to a crafting benchCategories+ array append
3Give the player a new or bigger stat (like Mana)patch an Entity/Stats definition
4Point an item's interaction at another mod's internal onereplace an Interactions slot value
5Change the quality of a block or armor piecesingle-field replace
6Reference particles defined in a later-loading packjson reference + re-merge on register
7Remove a field, resistance, or recipenull delete
8Add to a droplist or wire up a new oneContainers+ append, repoint DropList
9Change a crafting recipe's ingredients or benchnested object merge
10Put an item into a creative or crafting categoryCategories+ on the item
11Override one element inside an array~ element merge + $Match
12Add a stat only if the item doesn't already have it? fill-if-absent
13Put your entries at the front of an array- prepend

What Patchly can and cannot patch (for now)

Patchly only patches .json assets. The .patch path mirrors the target with .json swapped for .patch.

Patchable (.json)Not patchable
Items, blocks, recipes, droplists, stat definitions, interactions, entity configs.particlesystem, .particlespawner, .blockymodel, .blockyanim, .png, .lang

For a non-json asset, ship a normal full file in your pack instead of a .patch. You can still patch the .json that references it (see Particles And Load Order).

Powered byHytaleModding