Jump to content

Recommended Posts

Posted

Having a little issue with my bread script not baking bread. I used the vanilla script as a template and still not working: 

 

Spoiler
{
code: "craftsmanship:bread",
maxstacksizeByType: {
"*-charred": 48,
"*": 32
},
variantgroups: [
{ code: "type", states: ["corn", "wheat", "wholegrain", "white", "hemp", "sour-dough" ] },
{ code: "state", states: ["partbaked", "perfect", "charred" ] }
],
behaviors: [
{ name: "GroundStorable", properties: { layout: 'Quadrants', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.125, z2: 1 } } }
],
shapeByType: {
"*corn*":
{
base: "block/food/bread/generic/bread"
},
"*wheat*":
{
base: "block/food/bread/generic/bread"
},
"*wholegrain*":
{
base: "block/food/bread/generic/bread"
},
"*white*":
{
base: "block/food/bread/generic/bread"
},
"*hemp*":
{
base: "block/food/bread/generic/bread"
},
"*sour-dough*":
{
base: "block/food/bread/{type}/bread"
}
 
},
texturesbytype: {
"*corn-partbaked": { "bread": {base: "item/food/bread/{type}/partbaked" }},
"*corn-perfect": { "bread": {base: "item/food/bread/{type}/perfect" }},
"*corn-charred": { "bread": {base: "item/food/bread/{type}/charred" }},
 
"*wheat-partbaked": { "bread": {base: "item/food/bread/{type}/partbaked" }},
"*wheat-perfect": { "bread": {base: "item/food/bread/{type}/perfect" }},
"*wheat-charred": { "bread": {base: "item/food/bread/{type}/charred" }},
 
"*wholegrain-partbaked": { "bread": {base: "item/food/bread/{type}/partbaked" }},
"*wholegrain-perfect": { "bread": {base: "item/food/bread/{type}/perfect" }},
"*wholegrain-charred": { "bread": {base: "item/food/bread/{type}/charred" }},
 
"*white-partbaked": { "bread": {base: "item/food/bread/{type}/partbaked" }},
"*white-perfect": { "bread": {base: "item/food/bread/{type}/perfect" }},
"*white-charred": { "bread": {base: "item/food/bread/{type}/charred" }},
 
"*hemp-partbaked": { "bread": {base: "item/food/bread/{type}/partbaked" }},
"*hemp-perfect": { "bread": {base: "item/food/bread/{type}/perfect" }},
"*hemp-charred": { "bread": {base: "item/food/bread/{type}/charred" }},
 
"*sour-dough-partbaked": { "bread": {base: "item/food/bread/{type}/partbaked" }},
"*sour-dough-perfect": { "bread": {base: "item/food/bread/{type}/perfect" }},
"*sour-dough-charred": { "bread": {base: "item/food/bread/{type}/charred" }},
 
"*-partbaked": { "bread": {base: "item/food/bread/{type}/partbaked" }},
"*-perfect": { "bread": {base: "item/food/bread/{type}/perfect" }},
"*-charred": { "bread": {base: "item/food/bread/{type}/charred" }}
},
creativeinventory: { "general": ["*"], "items": ["*"] },
attributes: {
displaycaseable: true,
shelvable: true,
handbook: {
groupBy: ["bread*"],
extraSections: [
{ title: "bread-handbook-help-title", text: "bread-handbook-help-text" }
]
},
bakingPropertiesByType: {
"*-partbaked": {
temp: 160,
levelFrom: 0.25,
levelTo: 0.5,
startScaleY: 0.95,
endScaleY: 1.10,
resultCode: "craftsmanship:bread-{type}-perfect",
initialCode: "craftsmanship:dough-{type}"
},
"*-perfect": {
temp: 160,
levelFrom: 0.5,
levelTo: 0.75,
startScaleY: 1.10,
endScaleY: 1.13,
resultCode: "craftsmanship:bread-{type}-charred",
initialCode: "craftsmanship:bread-{type}-partbaked"
},
"*-charred": {
temp: 160,
levelFrom: 0.75,
levelTo: 1,
startScaleY: 1.13,
endScaleY: 1.10,
initialCode: "craftsmanship:bread-{type}-perfect"
},
"*": {
temp: 160,
levelFrom: 0,
levelTo: 0.25,
startScaleY: 0.8,
endScaleY: 0.95,
initialCode: "craftsmanship:bread-{type}-partbaked"
}
},
},
combustiblePropsByType: {
"*-partbaked": {
meltingPoint: 200,
meltingDuration: 15,
smeltedRatio: 1,
smeltingType: "bake",
smeltedStack: { type: "item", code: "bread-{type}-charred" },
requiresContainer: false
},
"*-perfect": {
meltingPoint: 200,
meltingDuration: 15,
smeltedRatio: 1,
smeltingType: "bake",
smeltedStack: { type: "item", code: "bread-{type}-charred" },
requiresContainer: false
}
},
nutritionPropsByType: {
"*-corn-partbaked": { saturation: 130, foodcategory: "Grain" },
"*-corn-perfect": { saturation: 280, foodcategory: "Grain" },
"*-corn-charred": { saturation: 210, foodcategory: "Grain" },
 
"*-wheat-partbaked": { saturation: 150, foodcategory: "Grain" },
"*-wheat-perfect": { saturation: 400, foodcategory: "Grain" },
"*-wheat-charred": { saturation: 300, foodcategory: "Grain" },
 
"*-wholegrain-partbaked": { saturation: 180, foodcategory: "Grain" },
"*-wholegrain-perfect": { saturation: 350, foodcategory: "Grain" },
"*-wholegrain-charred": { saturation: 220, foodcategory: "Grain" },
 
"*-white-partbaked": { saturation: 145, foodcategory: "Grain" },
"*-white-perfect": { saturation: 300, foodcategory: "Grain" },
"*-white-charred": { saturation: 215, foodcategory: "Grain" },
 
"*-hemp-partbaked": { saturation: 145, foodcategory: "Grain", intoxication: 0.0, psychedelic: 1.0 },
"*-hemp-perfect": { saturation: 300, foodcategory: "Grain", intoxication: 0.0, psychedelic: 1.6 },
"*-hemp-charred": { saturation: 215, foodcategory: "Grain", intoxication: 0.0, psychedelic: 1.2 },
 
"*-sour-dough-partbaked": { saturation: 200, foodcategory: "Grain" },
"*-sour-dough-perfect": { saturation: 325, foodcategory: "Grain" },
"*-sour-dough-charred": { saturation: 240, foodcategory: "Grain" },
 
"*-partbaked": { saturation: 150, foodcategory: "Grain" },
"*-perfect": { saturation: 300, foodcategory: "Grain" },
"*-charred": { saturation: 210, foodcategory: "Grain" }
},
transitionablePropsByType: {
"*-partbaked": [{
type: "Perish",
freshHours: { avg: 120 },
transitionHours: { avg: 24 },
transitionedStack: { type: "item", code: "game:rot" },
transitionRatio: 1
}],
"*-perfect": [{
type: "Perish",
freshHours: { avg: 192 },
transitionHours: { avg: 36 },
transitionedStack: { type: "item", code: "game:rot" },
transitionRatio: 1
}],
"*-charred": [{
type: "Perish",
freshHours: { avg: 420 },
transitionHours: { avg: 60 },
transitionedStack: { type: "item", code: "game:rot" },
transitionRatio: 1
}]
},
materialDensity: 200,
guiTransform: {
translation: { x: 0, y: 0, z: 0 },
rotation: { x: -30, y: 26, z: 180 },
origin: { x: 0.52, y: 0.07, z: 0.5 },
scale: 4.9
},
groundTransform: {
translation: { x: 0, y: 0, z: 0 },
rotation: { x: 0, y: 0, z: 1 },
origin: { x: 0.5, y: 0, z: 0.5 },
scale: 4.5
},
tpHandTransform: {
translation: { x: -0.54, y: -0.16, z: -0.4 },
rotation: { x: 88, y: -85, z: 2 },
origin: { x: 0.5, y: 0.13, z: 0.5 },
scale: 1
},
fpHandTransform: {
translation: { x: 0, y: 0.24, z: 0.3 },
rotation: { x: 104, y: 0, z: 71 },
origin: { x: 0.5, y: 0.1, z: 0.5 },
scale: 2.5
}
}

 

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.