adjust modinfo, icon, modid, add license

This commit is contained in:
2026-03-19 01:47:19 +01:00
parent 6655e603e3
commit 1d418ec614
10 changed files with 32 additions and 10 deletions

View File

@@ -0,0 +1,103 @@
{
"code": "pinboard2x2",
"class": "BlockButterflyPinBoard",
"entityClass": "ButterflyPinBoard",
"behaviors": [
{ "name": "HorizontalAttachable" },
{ "name": "Lockable" }
],
"variantgroups": [
{ "code": "side", "loadFromProperties": "abstract/horizontalorientation" }
],
"attributes": {
"rows": 2,
"columns": 2,
"renderScale": 0.85,
"displayOriginX": 0.25375,
"displayOriginY": -0.5075,
"displayOriginZ": 0.5,
"displayStepX": -0.375,
"displayStepY": -0.375,
"reinforcable": true
},
"creativeinventory": {
"general": ["pinboard2x2-south"],
"decorative": ["pinboard2x2-south"]
},
"shapebytype": {
"*-north": { "base": "dusiulkaspinboard:block/pinboard-2x2", "rotateY": 180 },
"*-east": { "base": "dusiulkaspinboard:block/pinboard-2x2", "rotateY": 90 },
"*-south": { "base": "dusiulkaspinboard:block/pinboard-2x2", "rotateY": 0 },
"*-west": { "base": "dusiulkaspinboard:block/pinboard-2x2", "rotateY": 270 }
},
"blockmaterial": "Wood",
"drawtype": "json",
"replaceable": 900,
"resistance": 1.5,
"lightAbsorption": 0,
"faceCullMode": "NeverCull",
"sidesolid": { "all": false },
"sideopaque": { "all": false },
"emitSideAo": { "all": false },
"collisionbox": {
"x1": 0.0625,
"y1": 0.0625,
"z1": 0.90625,
"x2": 0.9375,
"y2": 0.9375,
"z2": 1.0,
"rotateYByType": {
"*-north": 180,
"*-east": 90,
"*-south": 0,
"*-west": 270
}
},
"selectionbox": {
"x1": 0.0625,
"y1": 0.0625,
"z1": 0.90625,
"x2": 0.9375,
"y2": 0.9375,
"z2": 1.0,
"rotateYByType": {
"*-north": 180,
"*-east": 90,
"*-south": 0,
"*-west": 270
}
},
"combustibleProps": {
"burnTemperature": 600,
"burnDuration": 20
},
"sounds": {
"place": "block/planks",
"break": "block/planks",
"hit": "block/planks"
},
"materialDensity": 400,
"guiTransform": {
"rotation": { "x": -19, "y": 136, "z": 0 },
"origin": { "x": 0.5, "y": 0.5, "z": 0.5 },
"scale": 1.0
},
"groundTransform": {
"translation": { "x": 0, "y": 0, "z": 0 },
"rotation": { "x": -90, "y": 0, "z": 0 },
"origin": { "x": 0.5, "y": 0, "z": 0.5 },
"scale": 2.2
},
"tpHandTransform": {
"translation": { "x": -0.45, "y": -0.8, "z": 0.04 },
"rotation": { "x": 0, "y": 180, "z": -10 },
"origin": { "x": 0.5, "y": 0.5, "z": 0.5 },
"scale": 0.95
},
"fpHandTransform": {
"translation": { "x": -0.45, "y": -0.8, "z": 0.04 },
"rotation": { "x": 0, "y": 180, "z": -10 },
"origin": { "x": 0.5, "y": 0.5, "z": 0.5 },
"scale": 0.95
}
}

View File

@@ -0,0 +1,103 @@
{
"code": "pinboard3x3",
"class": "BlockButterflyPinBoard",
"entityClass": "ButterflyPinBoard",
"behaviors": [
{ "name": "HorizontalAttachable" },
{ "name": "Lockable" }
],
"variantgroups": [
{ "code": "side", "loadFromProperties": "abstract/horizontalorientation" }
],
"attributes": {
"rows": 3,
"columns": 3,
"renderScale": 0.85,
"displayOriginX": 0.33229166,
"displayOriginY": -0.40541668,
"displayOriginZ": 0.5,
"displayStepX": -0.25,
"displayStepY": -0.25,
"reinforcable": true
},
"creativeinventory": {
"general": ["pinboard3x3-south"],
"decorative": ["pinboard3x3-south"]
},
"shapebytype": {
"*-north": { "base": "dusiulkaspinboard:block/pinboard-3x3", "rotateY": 180 },
"*-east": { "base": "dusiulkaspinboard:block/pinboard-3x3", "rotateY": 90 },
"*-south": { "base": "dusiulkaspinboard:block/pinboard-3x3", "rotateY": 0 },
"*-west": { "base": "dusiulkaspinboard:block/pinboard-3x3", "rotateY": 270 }
},
"blockmaterial": "Wood",
"drawtype": "json",
"replaceable": 900,
"resistance": 1.5,
"lightAbsorption": 0,
"faceCullMode": "NeverCull",
"sidesolid": { "all": false },
"sideopaque": { "all": false },
"emitSideAo": { "all": false },
"collisionbox": {
"x1": 0.0625,
"y1": 0.0625,
"z1": 0.90625,
"x2": 0.9375,
"y2": 0.9375,
"z2": 1.0,
"rotateYByType": {
"*-north": 180,
"*-east": 90,
"*-south": 0,
"*-west": 270
}
},
"selectionbox": {
"x1": 0.0625,
"y1": 0.0625,
"z1": 0.90625,
"x2": 0.9375,
"y2": 0.9375,
"z2": 1.0,
"rotateYByType": {
"*-north": 180,
"*-east": 90,
"*-south": 0,
"*-west": 270
}
},
"combustibleProps": {
"burnTemperature": 600,
"burnDuration": 25
},
"sounds": {
"place": "block/planks",
"break": "block/planks",
"hit": "block/planks"
},
"materialDensity": 400,
"guiTransform": {
"rotation": { "x": -19, "y": 136, "z": 0 },
"origin": { "x": 0.5, "y": 0.5, "z": 0.5 },
"scale": 1.0
},
"groundTransform": {
"translation": { "x": 0, "y": 0, "z": 0 },
"rotation": { "x": -90, "y": 0, "z": 0 },
"origin": { "x": 0.5, "y": 0, "z": 0.5 },
"scale": 2.2
},
"tpHandTransform": {
"translation": { "x": -0.45, "y": -0.8, "z": 0.04 },
"rotation": { "x": 0, "y": 180, "z": -10 },
"origin": { "x": 0.5, "y": 0.5, "z": 0.5 },
"scale": 0.95
},
"fpHandTransform": {
"translation": { "x": -0.45, "y": -0.8, "z": 0.04 },
"rotation": { "x": 0, "y": 180, "z": -10 },
"origin": { "x": 0.5, "y": 0.5, "z": 0.5 },
"scale": 0.95
}
}

View File

@@ -0,0 +1,4 @@
{
"block-pinboard2x2-*": "Butterfly Pin Board (2x2)",
"block-pinboard3x3-*": "Butterfly Pin Board (3x3)"
}

View File

@@ -0,0 +1,13 @@
{
"ingredientPattern": "_S_\tSBS\t_S_",
"ingredients": {
"S": { "type": "item", "code": "game:stick" },
"B": {
"type": "item",
"code": "game:*-butterflypin-*"
}
},
"width": 3,
"height": 3,
"output": { "type": "block", "code": "pinboard2x2-north" }
}

View File

@@ -0,0 +1,13 @@
{
"ingredientPattern": "S_S\t_B_\tS_S",
"ingredients": {
"S": { "type": "item", "code": "game:stick" },
"B": {
"type": "item",
"code": "game:*-butterflypin-*"
}
},
"width": 3,
"height": 3,
"output": { "type": "block", "code": "pinboard3x3-north" }
}

View File

@@ -0,0 +1,131 @@
{
"editor": {
"allAngles": false,
"singleTexture": false
},
"textureWidth": 16,
"textureHeight": 16,
"textures": {
"wood": "game:block/wood/debarked/aged",
"metal": "game:block/metal/tarnished/rusty-iron"
},
"elements": [
{
"name": "board",
"from": [1.0, 1.0, 15.0],
"to": [15.0, 15.0, 16.0],
"faces": {
"north": { "texture": "#wood", "uv": [1.0, 1.0, 15.0, 15.0] },
"east": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 14.0] },
"south": { "texture": "#wood", "uv": [1.0, 1.0, 15.0, 15.0] },
"west": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 14.0] },
"up": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] },
"down": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] }
}
},
{
"name": "lipTop",
"from": [1.0, 14.0, 14.5],
"to": [15.0, 15.0, 15.0],
"faces": {
"north": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] },
"east": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 1.0] },
"south": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] },
"west": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 1.0] },
"up": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 0.5] },
"down": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 0.5] }
}
},
{
"name": "lipBottom",
"from": [1.0, 1.0, 14.5],
"to": [15.0, 2.0, 15.0],
"faces": {
"north": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] },
"east": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 1.0] },
"south": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] },
"west": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 1.0] },
"up": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 0.5] },
"down": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 0.5] }
}
},
{
"name": "lipLeft",
"from": [1.0, 2.0, 14.5],
"to": [2.0, 14.0, 15.0],
"faces": {
"north": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 12.0] },
"east": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 12.0] },
"south": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 12.0] },
"west": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 12.0] },
"up": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 0.5] },
"down": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 0.5] }
}
},
{
"name": "lipRight",
"from": [14.0, 2.0, 14.5],
"to": [15.0, 14.0, 15.0],
"faces": {
"north": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 12.0] },
"east": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 12.0] },
"south": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 12.0] },
"west": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 12.0] },
"up": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 0.5] },
"down": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 0.5] }
}
},
{
"name": "pinTopLeft",
"from": [4.75, 10.75, 14.2],
"to": [5.25, 11.25, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinTopRight",
"from": [10.75, 10.75, 14.2],
"to": [11.25, 11.25, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinBottomLeft",
"from": [4.75, 4.75, 14.2],
"to": [5.25, 5.25, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinBottomRight",
"from": [10.75, 4.75, 14.2],
"to": [11.25, 5.25, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
}
]
}

View File

@@ -0,0 +1,196 @@
{
"editor": {
"allAngles": false,
"singleTexture": false
},
"textureWidth": 16,
"textureHeight": 16,
"textures": {
"wood": "game:block/wood/debarked/aged",
"metal": "game:block/metal/tarnished/rusty-iron"
},
"elements": [
{
"name": "board",
"from": [1.0, 1.0, 15.0],
"to": [15.0, 15.0, 16.0],
"faces": {
"north": { "texture": "#wood", "uv": [1.0, 1.0, 15.0, 15.0] },
"east": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 14.0] },
"south": { "texture": "#wood", "uv": [1.0, 1.0, 15.0, 15.0] },
"west": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 14.0] },
"up": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] },
"down": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] }
}
},
{
"name": "lipTop",
"from": [1.0, 14.0, 14.5],
"to": [15.0, 15.0, 15.0],
"faces": {
"north": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] },
"east": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 1.0] },
"south": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] },
"west": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 1.0] },
"up": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 0.5] },
"down": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 0.5] }
}
},
{
"name": "lipBottom",
"from": [1.0, 1.0, 14.5],
"to": [15.0, 2.0, 15.0],
"faces": {
"north": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] },
"east": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 1.0] },
"south": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 1.0] },
"west": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 1.0] },
"up": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 0.5] },
"down": { "texture": "#wood", "uv": [1.0, 0.0, 15.0, 0.5] }
}
},
{
"name": "lipLeft",
"from": [1.0, 2.0, 14.5],
"to": [2.0, 14.0, 15.0],
"faces": {
"north": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 12.0] },
"east": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 12.0] },
"south": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 12.0] },
"west": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 12.0] },
"up": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 0.5] },
"down": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 0.5] }
}
},
{
"name": "lipRight",
"from": [14.0, 2.0, 14.5],
"to": [15.0, 14.0, 15.0],
"faces": {
"north": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 12.0] },
"east": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 12.0] },
"south": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 12.0] },
"west": { "texture": "#wood", "uv": [0.0, 0.0, 0.5, 12.0] },
"up": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 0.5] },
"down": { "texture": "#wood", "uv": [0.0, 0.0, 1.0, 0.5] }
}
},
{
"name": "pinA",
"from": [4.0, 12.0, 14.2],
"to": [4.5, 12.5, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinB",
"from": [8.0, 12.0, 14.2],
"to": [8.5, 12.5, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinC",
"from": [12.0, 12.0, 14.2],
"to": [12.5, 12.5, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinD",
"from": [4.0, 8.0, 14.2],
"to": [4.5, 8.5, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinE",
"from": [8.0, 8.0, 14.2],
"to": [8.5, 8.5, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinF",
"from": [12.0, 8.0, 14.2],
"to": [12.5, 8.5, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinG",
"from": [4.0, 4.0, 14.2],
"to": [4.5, 4.5, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinH",
"from": [8.0, 4.0, 14.2],
"to": [8.5, 4.5, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
},
{
"name": "pinI",
"from": [12.0, 4.0, 14.2],
"to": [12.5, 4.5, 14.8],
"faces": {
"north": { "texture": "#metal", "uv": [12.0, 11.5, 12.5, 12.0] },
"east": { "texture": "#metal", "uv": [10.5, 12.0, 11.0, 12.5] },
"south": { "texture": "#metal", "uv": [11.0, 12.5, 11.5, 13.0] },
"west": { "texture": "#metal", "uv": [12.0, 12.0, 12.5, 12.5] },
"up": { "texture": "#metal", "uv": [10.5, 12.5, 11.0, 13.0] },
"down": { "texture": "#metal", "uv": [10.5, 11.5, 11.0, 12.0] }
}
}
]
}