Skip to content

Instantly share code, notes, and snippets.

@aurorapar
Created March 7, 2026 21:31
Show Gist options
  • Select an option

  • Save aurorapar/b2821442975e2ce38551383a93702474 to your computer and use it in GitHub Desktop.

Select an option

Save aurorapar/b2821442975e2ce38551383a93702474 to your computer and use it in GitHub Desktop.
{
"code": "fruit",
"behaviors": [
{
"name": "GroundStorable",
"properties": {
"layout": "Quadrants",
"collisionBox": {
"x1": 0,
"y1": 0,
"z1": 0,
"x2": 1,
"y2": 0.125,
"z2": 1
}
}
}
],
"variantgroups": [
{
"loadFromProperties": "block/fruit"
}
],
"shapebytype": {
"*-breadfruit": {
"base": "item/food/fruit/breadfruit"
},
"*-pineapple": {
"base": "item/food/fruit/pineapple-slice"
},
"*-blueberry": {
"base": "item/food/fruit/blueberry"
},
"*-cranberry": {
"base": "item/food/fruit/cranberry"
},
"*-blackcurrant": {
"base": "item/food/fruit/blackcurrant"
},
"*-saguaro": {
"base": "item/food/fruit/saguaro"
},
"*-whitecurrant": {
"base": "item/food/fruit/whitecurrant"
},
"*-redcurrant": {
"base": "item/food/fruit/redcurrant"
},
"*-redapple": {
"base": "item/food/fruit/redapple"
},
"*-pinkapple": {
"base": "item/food/fruit/pinkapple"
},
"*-yellowapple": {
"base": "item/food/fruit/yellowapple"
},
"*-cherry": {
"base": "item/food/fruit/cherry"
},
"*-peach": {
"base": "item/food/fruit/peach"
},
"*-pear": {
"base": "item/food/fruit/pear"
},
"*-orange": {
"base": "item/food/fruit/orange"
},
"*-mango": {
"base": "item/food/fruit/mango"
},
"*-lychee": {
"base": "item/food/fruit/lychee"
},
"*-pomegranate": {
"base": "item/food/fruit/pomegranate"
}
},
"textureByType": {
"*apple": "null",
"*currant": "null",
"*-peach": "null",
"*-pear": "null",
"*-orange": "null",
"*-breadfruit": "null",
"*-lychee": "null",
"*-pomegranate": "null",
"*": {
"base": "item/food/fruit/{fruit}"
}
},
"attributes": {
"foodTags": [
"{fruit}",
"fruit"
],
"nutritionPropsWhenInMeal": {
"satietyByType": {
"*-saguaro": 90,
"*-cranberry": 90,
"*-cherry": 60,
"*-lychee": 60,
"*-breadfruit": 250,
"*": 120
},
"foodcategory": "Fruit"
},
"eatHealthEffectDurationSec": 10,
"eatHealthEffectTicks": 10,
"inPiePropertiesByType": {
"*-pinkapple": {
"texture": "block/food/pie/fill-apple",
"partType": "Filling"
},
"*-redapple": {
"texture": "block/food/pie/fill-apple",
"partType": "Filling"
},
"*-yellowapple": {
"texture": "block/food/pie/fill-apple",
"partType": "Filling"
},
"*": {
"texture": "block/food/pie/fill-{fruit}",
"partType": "Filling"
}
},
"juiceablePropertiesByType": {
"@*-(pinkapple|redapple|yellowapple)": {
"litresPerItem": 0.3125,
"liquidStack": {
"type": "item",
"code": "juiceportion-apple",
"stacksize": 1
},
"pressedStack": {
"type": "item",
"code": "pressedmash-apple",
"stacksize": 1
}
},
"*-olive": "null",
"*": {
"litresPerItem": 0.3125,
"liquidStack": {
"type": "item",
"code": "juiceportion-{fruit}",
"stacksize": 1
},
"pressedStack": {
"type": "item",
"code": "pressedmash-{fruit}",
"stacksize": 1
}
}
},
"groundStorageTransform": {
"translation": {
"x": 0,
"y": -0.25,
"z": 0
},
"scale": 0.5
},
"inTrapTransformByType": {
"*-blueberry": {
"small": {
"translation": {
"x": 0,
"y": -0.13,
"z": -0.05
},
"rotation": {
"x": 0,
"y": 51,
"z": 0
},
"scale": 0.5
},
"large": {
"translation": {
"x": -0.3,
"y": 0.42,
"z": 0.1
},
"rotation": {
"x": 16,
"y": 0,
"z": 0
},
"scale": 0.5
}
},
"*-breadfruit": {
"small": {
"translation": {
"x": -0.1,
"y": 0.13,
"z": 0
},
"rotation": {
"x": 0,
"y": -99,
"z": 0
}
},
"large": {
"translation": {
"x": 0.1,
"y": 0.2,
"z": 0
},
"rotation": {
"x": 0,
"y": 0,
"z": -70
}
}
},
"*-cherry": {
"small": {
"translation": {
"x": -0.25,
"y": -0.2,
"z": 0
},
"rotation": {
"x": -89,
"y": 61,
"z": 90
},
"scale": 0.5
},
"large": {
"translation": {
"x": -0.32,
"y": 0.45,
"z": 0.02
},
"rotation": {
"x": 0,
"y": 87,
"z": 0
},
"scale": 0.5
}
},
"*cranberry": {
"small": {
"translation": {
"x": 0,
"y": -0.13,
"z": -0.05
},
"rotation": {
"x": 0,
"y": 51,
"z": 0
},
"scale": 0.5
},
"large": {
"translation": {
"x": -0.3,
"y": 0.33,
"z": -0.1
},
"rotation": {
"x": -40,
"y": 0,
"z": 0
},
"scale": 0.5
}
},
"*currant": {
"small": {
"translation": {
"x": 0,
"y": -0.13,
"z": -0.05
},
"rotation": {
"x": 0,
"y": 51,
"z": 0
},
"scale": 0.5
},
"large": {
"translation": {
"x": -0.14,
"y": 0.27,
"z": 0.05
},
"rotation": {
"x": 132,
"y": 1,
"z": -94
},
"scale": 0.5
}
},
"*-lychee": {
"small": {
"translation": {
"x": 0,
"y": -0.075,
"z": -0.03
},
"rotation": {
"x": 0,
"y": -17,
"z": 0
},
"scale": 0.6
},
"large": {
"translation": {
"x": -0.1,
"y": 0.2,
"z": 0
},
"rotation": {
"x": 0,
"y": 0,
"z": -90
},
"scale": 0.6
}
},
"@.*-(pear|mango|saguaro)": {
"small": {
"translation": {
"x": -0.16,
"y": -0.33,
"z": 0.1
},
"rotation": {
"x": 90,
"y": 24,
"z": 0
},
"scale": 0.5
},
"large": {
"translation": {
"x": -0.34,
"y": 0.3,
"z": 0
},
"rotation": {
"x": 0,
"y": 176,
"z": -9
},
"scale": 0.5
}
},
"*-pineapple": {
"small": {
"translation": {
"x": -0.1,
"y": -0.08,
"z": 0
},
"rotation": {
"x": 0,
"y": 17,
"z": 0
},
"scale": 0.6
},
"large": {
"translation": {
"x": -0.1,
"y": 0.16,
"z": -0.05
},
"rotation": {
"x": 134,
"y": 0,
"z": -92
},
"scale": 0.6
}
},
"*-pomegranate": {
"small": {
"translation": {
"x": 0,
"y": -0.13,
"z": -0.05
},
"rotation": {
"x": 0,
"y": 51,
"z": 0
},
"scale": 0.6
},
"large": {
"translation": {
"x": -0.15,
"y": 0.25,
"z": 0.015
},
"rotation": {
"x": 0,
"y": 0,
"z": -72
},
"scale": 0.6
}
},
"*": {
"small": {
"translation": {
"x": 0,
"y": -0.075,
"z": -0.03
},
"rotation": {
"x": 0,
"y": -17,
"z": 0
},
"scale": 0.6
},
"large": {
"translation": {
"x": -0.33,
"y": 0.44,
"z": 0.02
},
"rotation": {
"x": 0,
"y": 31,
"z": 11
},
"scale": 0.6
}
}
},
"inMouthTransformByType": {
"*-cranberry": {
"translation": {
"x": -1.51,
"y": -1.26,
"z": -0.95
},
"rotation": {
"x": 13,
"y": -125,
"z": -79
},
"scale": 0.4
},
"*-pomegranate": {
"translation": {
"x": -1.36,
"y": -0.67,
"z": -1.4
},
"rotation": {
"x": 6,
"y": 155,
"z": -41
},
"origin": {
"x": 0.45,
"y": 0.2,
"z": 0.5
},
"scale": 0.38
},
"*-lychee": {
"translation": {
"x": -1.85,
"y": -0.33,
"z": -1.73
},
"rotation": {
"x": 124,
"y": -15,
"z": 76
},
"origin": {
"x": 0.7,
"y": 0.1,
"z": 0.7
},
"scale": 0.38
},
"*-breadfruit": {
"translation": {
"x": -0.55,
"y": -0.03,
"z": -0.63
},
"rotation": {
"x": 66,
"y": 8,
"z": -170
},
"origin": {
"x": 0.8,
"y": 0.1,
"z": 0.6
},
"scale": 0.98
},
"*-pineapple": {
"translation": {
"x": -1.98,
"y": -1.09,
"z": -1.34
},
"rotation": {
"x": 2,
"y": 1,
"z": -87
},
"scale": 0.41
},
"*-blueberry": {
"translation": {
"x": -1.51,
"y": -1.26,
"z": -0.95
},
"rotation": {
"x": 13,
"y": -125,
"z": -79
},
"scale": 0.4
},
"@*-saguaro": {
"translation": {
"x": -1.36,
"y": -1.21,
"z": -1.57
},
"rotation": {
"x": 13,
"y": -125,
"z": -79
},
"scale": 0.4
},
"@*-(redcurrant|whitecurrant|blackcurrant)": {
"translation": {
"x": -1.4,
"y": -0.3,
"z": -1.4
},
"rotation": {
"x": 0,
"y": 55,
"z": 0
},
"origin": {
"x": 0.5,
"y": 0.12,
"z": 0.5
},
"scale": 0.36
},
"@*(apple|-cherry|-peach|-pear|-orange|-mango)": {
"translation": {
"x": -1.3899,
"y": -1.06,
"z": -0.98
},
"rotation": {
"x": -27,
"y": 0,
"z": -90
},
"scale": 0.56
}
}
},
"creativeinventory": {
"general": [
"*"
],
"items": [
"*"
]
},
"maxstacksize": 64,
"materialDensityByType": {
"*-cranberry": 600
},
"nutritionPropsByType": {
"*-saguaro": {
"satiety": 60,
"health": 1,
"foodcategory": "Fruit"
},
"*-cranberry": {
"satiety": 60,
"foodcategory": "Fruit"
},
"*-cherry": {
"satiety": 40,
"foodcategory": "Fruit"
},
"*-lychee": {
"satiety": 40,
"foodcategory": "Fruit"
},
"*-breadfruit": {
"satiety": 200,
"foodcategory": "Fruit"
},
"*": {
"satiety": 80,
"foodcategory": "Fruit"
}
},
"transitionablePropsByType": {
"*-cranberry": [
{
"type": "Perish",
"freshHours": {
"avg": 96
},
"transitionHours": {
"avg": 12
},
"transitionedStack": {
"type": "item",
"code": "rot"
},
"transitionRatio": 0.25
}
],
"@*-(orange|mango|lychee|pomegranate)": [
{
"type": "Perish",
"freshHours": {
"avg": 360
},
"transitionHours": {
"avg": 48
},
"transitionedStack": {
"type": "item",
"code": "rot"
},
"transitionRatio": 0.25
}
],
"@*-(pinkapple|redapple|yellowapple|pear|breadfruit)": [
{
"type": "Perish",
"freshHours": {
"avg": 960
},
"transitionHours": {
"avg": 48
},
"transitionedStack": {
"type": "item",
"code": "rot"
},
"transitionRatio": 0.25
}
],
"*": [
{
"type": "Perish",
"freshHours": {
"avg": 48
},
"transitionHours": {
"avg": 12
},
"transitionedStack": {
"type": "item",
"code": "rot"
},
"transitionRatio": 0.25
}
]
},
"guiTransformByType": {
"*-pomegranate": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": -55,
"y": -131,
"z": 40
},
"origin": {
"x": 0.47,
"y": 0.15,
"z": 0.52
},
"scale": 2.5
},
"*-lychee": {
"translation": {
"x": 2,
"y": 3,
"z": 0
},
"rotation": {
"x": -37,
"y": 4,
"z": 1
},
"origin": {
"x": 0.47,
"y": 0.07,
"z": 0.5
},
"scale": 2.13
},
"*-breadfruit": {
"translation": {
"x": 2,
"y": 3,
"z": 0
},
"rotation": {
"x": 27,
"y": 0,
"z": 23
},
"origin": {
"x": 0.45,
"y": 0.15,
"z": 0.5
},
"scale": 2.68
},
"*-pineapple": {
"translation": {
"x": 2,
"y": 3,
"z": 0
},
"rotation": {
"x": 127,
"y": 180,
"z": 23
},
"origin": {
"x": 0.55,
"y": 0.05,
"z": 0.5
},
"scale": 2.04
},
"@*-blueberry": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": -113,
"y": -58,
"z": 16
},
"origin": {
"x": 0.46,
"y": 0.22,
"z": 0.42
},
"scale": 2.6
},
"@*-(redcurrant|whitecurrant|blackcurrant)": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 83,
"y": -103,
"z": -55
},
"origin": {
"x": 0.53,
"y": 0.17,
"z": 0.53
},
"scale": 2.6
},
"*-cranberry": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 114,
"y": -93,
"z": -62
},
"origin": {
"x": 0.5299,
"y": 0.22,
"z": 0.5299
},
"scale": 2.6
},
"*-saguaro": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 143,
"y": -47,
"z": -37
},
"origin": {
"x": 0.5299,
"y": 0.28,
"z": 0.5299
},
"scale": 2.6
},
"@*(apple|-orange|-mango)": {
"translation": {
"x": 0,
"y": 1,
"z": 0
},
"rotation": {
"x": 162,
"y": -175,
"z": -15
},
"origin": {
"x": 0.5,
"y": 0.22,
"z": 0.5
},
"scale": 3.19
},
"*-cherry": {
"translation": {
"x": 0,
"y": 1,
"z": 0
},
"rotation": {
"x": 162,
"y": -175,
"z": -15
},
"origin": {
"x": 0.51,
"y": 0.2,
"z": 0.5
},
"scale": 2.92
},
"*-peach": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 162,
"y": -175,
"z": -15
},
"origin": {
"x": 0.5,
"y": 0.19,
"z": 0.5
},
"scale": 3.19
},
"*-pear": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 162,
"y": -175,
"z": -15
},
"origin": {
"x": 0.5,
"y": 0.23,
"z": 0.5
},
"scale": 3
}
},
"fpHandTransformByType": {
"*-pomegranate": {
"rotation": {
"x": 178,
"y": 50,
"z": 95
},
"origin": {
"x": 0.5,
"y": 0,
"z": 0.5
},
"scale": 1.8
},
"*-lychee": {
"translation": {
"x": 0,
"y": 0.22,
"z": 0
},
"rotation": {
"x": 31,
"y": 47,
"z": 2
},
"origin": {
"x": 0.6,
"y": 0.1,
"z": 0.5
},
"scale": 1.2
},
"*-breadfruit": {
"translation": {
"x": -0.05,
"y": 0.1,
"z": 0
},
"rotation": {
"x": -49,
"y": 90,
"z": -30
},
"origin": {
"x": 0.7,
"y": 0.1,
"z": 0.5
},
"scale": 1.74
},
"*-pineapple": {
"translation": {
"x": 0,
"y": 0.22,
"z": 0
},
"rotation": {
"x": 31,
"y": 10,
"z": 2
},
"origin": {
"x": 0.7,
"y": 0.1,
"z": 0.5
},
"scale": 1.74
},
"@*-(blueberry|cranberry)": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 39,
"y": 3,
"z": -30
},
"origin": {
"x": 0.3,
"y": 0.2,
"z": 0.5
}
},
"@*-saguaro": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 6,
"y": 22,
"z": 3
},
"origin": {
"x": 0.18,
"y": 0.09,
"z": 0.7
}
},
"@*-(redcurrant|whitecurrant|blackcurrant)": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 64,
"y": 24,
"z": -13
},
"origin": {
"x": 0.3,
"y": 0.2,
"z": 0.3
}
},
"@*(apple|-cherry|-peach|-pear|-orange|-mango)": {
"translation": {
"x": 0,
"y": -0.05,
"z": 0
},
"rotation": {
"x": 36,
"y": 92,
"z": -32
},
"origin": {
"x": 0.5,
"y": 1.2,
"z": 0.5
},
"scale": 2
}
},
"tpHandTransformByType": {
"*-cranberry": {
"translation": {
"x": -1.36,
"y": -1.11,
"z": -1.45
},
"rotation": {
"x": 13,
"y": -125,
"z": -79
},
"scale": 0.4
},
"*-pomegranate": {
"translation": {
"x": -1.36,
"y": -0.57,
"z": -1.28
},
"rotation": {
"x": 6,
"y": 155,
"z": -41
},
"origin": {
"x": 0.45,
"y": 0.2,
"z": 0.5
},
"scale": 0.38
},
"*-lychee": {
"translation": {
"x": -1.85,
"y": -0.23,
"z": -1.61
},
"rotation": {
"x": 124,
"y": -15,
"z": 76
},
"origin": {
"x": 0.7,
"y": 0.1,
"z": 0.7
},
"scale": 0.38
},
"*-breadfruit": {
"translation": {
"x": -0.55,
"y": 0.07,
"z": -0.51
},
"rotation": {
"x": 66,
"y": 8,
"z": -170
},
"origin": {
"x": 0.8,
"y": 0.1,
"z": 0.6
},
"scale": 0.98
},
"*-pineapple": {
"translation": {
"x": -1.98,
"y": -0.99,
"z": -1.22
},
"rotation": {
"x": 2,
"y": 1,
"z": -87
},
"scale": 0.41
},
"*-blueberry": {
"translation": {
"x": -1.36,
"y": -1.11,
"z": -1.45
},
"rotation": {
"x": 13,
"y": -125,
"z": -79
},
"scale": 0.4
},
"@*-saguaro": {
"translation": {
"x": -1.36,
"y": -1.11,
"z": -1.45
},
"rotation": {
"x": 13,
"y": -125,
"z": -79
},
"scale": 0.4
},
"@*-(redcurrant|whitecurrant|blackcurrant)": {
"translation": {
"x": -1.69,
"y": -1.4,
"z": -1.1
},
"rotation": {
"x": 98,
"y": -44,
"z": -46
},
"scale": 0.36
},
"@*(apple|-cherry|-peach|-pear|-orange|-mango)": {
"translation": {
"x": -1.3899,
"y": -0.96,
"z": -0.86
},
"rotation": {
"x": -27,
"y": 0,
"z": -90
},
"scale": 0.56
}
},
"groundTransformByType": {
"*-pomegranate": {
"translation": {
"x": 0,
"y": 0.07,
"z": 0
},
"rotation": {
"x": 90,
"y": 0,
"z": 0
},
"origin": {
"x": 0.5,
"y": 0.5,
"z": 0.53
},
"scale": 1.8
},
"*-lychee": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 0,
"y": 0,
"z": -3
},
"origin": {
"x": 0.47,
"y": 0,
"z": 0.5
},
"scale": 3.5
},
"*-breadfruit": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 0,
"y": 0,
"z": -3
},
"origin": {
"x": 0.47,
"y": 0,
"z": 0.5
},
"scale": 5.0
},
"*-pineapple": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 0,
"y": 0,
"z": -3
},
"origin": {
"x": 0.47,
"y": 0,
"z": 0.5
},
"scale": 2.35
},
"@*(apple|-cherry|-peach|-pear|-orange|-mango)": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 95,
"y": 11,
"z": -135
},
"origin": {
"x": 0.6,
"y": 0.2,
"z": 0.41
},
"scale": 3.4
},
"@*-(redcurrant|whitecurrant|blackcurrant)": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 132,
"y": 10,
"z": -34
},
"origin": {
"x": 0.55,
"y": 0.2,
"z": 0.61
},
"scale": 2.36
},
"@*-(blueberry|cranberry)": {
"translation": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 90,
"y": 0,
"z": 0
},
"origin": {
"x": 0.5,
"y": 0.2,
"z": 0.5
},
"scale": 2.3
},
"*": {
"scale": 2.3
}
},
"heldRightReadyAnimationByType": {
"*-lychee": "holdbothhands"
},
"heldTpIdleAnimationByType": {
"*-lychee": "holdbothhands",
"*-breadfruit": "holdunderarm"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment