feature: add tux and label copy machine

This commit is contained in:
nimsolated
2026-03-05 18:06:26 -08:00
parent 7dc07af0c9
commit ffb0f8d129
47 changed files with 2418 additions and 66 deletions

View File

@@ -0,0 +1,138 @@
{
"_fv": 73,
"_type": "block",
"definition": {
"texture": "label_copy_machine_buttons",
"textureTop": "",
"textureLeft": "",
"textureFront": "",
"textureRight": "",
"textureBack": "",
"renderType": 2,
"customModelName": "label_copy_machine:default",
"rotationMode": 1,
"enablePitch": false,
"emissiveRendering": false,
"displayFluidOverlay": false,
"itemTexture": "",
"particleTexture": "",
"tintType": "No tint",
"isItemTinted": false,
"hasTransparency": true,
"connectedSides": false,
"transparencyType": "SOLID",
"disableOffset": false,
"boundingBoxes": [
{
"mx": 0.0,
"my": 0.0,
"mz": 0.0,
"Mx": 16.0,
"My": 16.0,
"Mz": 16.0,
"subtract": false
}
],
"customProperties": [],
"name": "Label Copy Machine",
"specialInformation": {
"fixedValue": []
},
"hardness": 1.0,
"resistance": 10.0,
"hasGravity": false,
"isWaterloggable": false,
"creativeTabs": [
{
"value": "TRANSPORTATION"
}
],
"destroyTool": "Not specified",
"customDrop": {
"value": ""
},
"dropAmount": 1,
"useLootTableForDrops": false,
"requiresCorrectTool": false,
"enchantPowerBonus": 0.0,
"plantsGrowOn": false,
"canRedstoneConnect": false,
"lightOpacity": 0,
"material": {
"value": "NONE"
},
"tickRate": 0,
"tickRandomly": false,
"isReplaceable": false,
"canProvidePower": false,
"emittedRedstonePower": {
"fixedValue": 15.0
},
"colorOnMap": "DEFAULT",
"creativePickItem": {
"value": ""
},
"offsetType": "NONE",
"aiPathNodeType": "DEFAULT",
"flammability": 0,
"fireSpreadSpeed": 0,
"isLadder": false,
"slipperiness": 0.6,
"speedFactor": 1.0,
"jumpFactor": 1.0,
"reactionToPushing": "NORMAL",
"isNotColidable": false,
"isCustomSoundType": false,
"soundOnStep": {
"value": "METAL"
},
"breakSound": {
"value": ""
},
"fallSound": {
"value": ""
},
"hitSound": {
"value": ""
},
"placeSound": {
"value": ""
},
"stepSound": {
"value": ""
},
"luminance": 0,
"unbreakable": false,
"vanillaToolTier": "NONE",
"isBonemealable": false,
"hasInventory": true,
"guiBoundTo": "LabelCopyMachineGUI",
"openGUIOnRightClick": true,
"inventorySize": 4,
"inventoryStackSize": 64,
"inventoryDropWhenDestroyed": true,
"inventoryComparatorPower": true,
"inventoryOutSlotIDs": [],
"inventoryInSlotIDs": [],
"hasEnergyStorage": false,
"energyInitial": 0,
"energyCapacity": 400000,
"energyMaxReceive": 200,
"energyMaxExtract": 200,
"isFluidTank": false,
"fluidCapacity": 8000,
"fluidRestrictions": [],
"generateFeature": false,
"restrictionBiomes": [],
"blocksToReplace": [
{
"value": "TAG:stone_ore_replaceables"
}
],
"generationShape": "UNIFORM",
"frequencyPerChunks": 10,
"frequencyOnChunk": 16,
"minGenerateHeight": 0,
"maxGenerateHeight": 64
}
}

View File

@@ -0,0 +1,7 @@
{
"_fv": 73,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_binary_ops\" inline=\"false\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"compare_mcitems\" inline=\"false\"><value name=\"a\"><block type=\"gui_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:ShippingLabel</field></block></value></block></value><value name=\"B\"><block type=\"logic_binary_ops\" inline=\"false\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"math_binary_ops\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><value name=\"B\"><block type=\"math_binary_ops\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"gui_set_items\" inline=\"false\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"item\"><block type=\"gui_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><next><block type=\"gui_set_items\" inline=\"false\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"item\"><block type=\"gui_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><next><block type=\"gui_set_items\" inline=\"false\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">3</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"item\"><block type=\"gui_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">3</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></next></block></next></block></statement></block></next></block></xml>"
}
}

View File

@@ -0,0 +1,248 @@
{
"_fv": 73,
"_type": "gui",
"definition": {
"type": 1,
"width": 176,
"height": 188,
"inventoryOffsetX": 0,
"inventoryOffsetY": 0,
"renderBgLayer": true,
"doesPauseGame": false,
"components": [
{
"type": "inputslot",
"data": {
"inputLimit": {
"value": "CUSTOM:ShippingLabel"
},
"disablePlacement": {
"fixedValue": false
},
"color": {
"value": -3355444,
"falpha": 0.0
},
"id": 0,
"disablePickup": {
"fixedValue": false
},
"dropItemsWhenNotBound": false,
"x": 146,
"y": 76,
"locked": false
}
},
{
"type": "inputslot",
"data": {
"inputLimit": {
"value": "Items.PAPER"
},
"disablePlacement": {
"fixedValue": false
},
"color": {
"value": -3342337,
"falpha": 0.0
},
"id": 1,
"disablePickup": {
"fixedValue": false
},
"dropItemsWhenNotBound": false,
"x": 182,
"y": 49,
"locked": false
}
},
{
"type": "inputslot",
"data": {
"inputLimit": {
"value": "Items.DYE#0"
},
"disablePlacement": {
"fixedValue": false
},
"color": {
"value": -13421773,
"falpha": 0.0
},
"id": 2,
"disablePickup": {
"fixedValue": false
},
"dropItemsWhenNotBound": false,
"x": 222,
"y": 49,
"locked": false
}
},
{
"type": "outputslot",
"data": {
"color": {
"value": -6684775,
"falpha": 0.0
},
"id": 3,
"disablePickup": {
"fixedValue": false
},
"dropItemsWhenNotBound": false,
"x": 258,
"y": 76,
"locked": false
}
},
{
"type": "label",
"data": {
"name": "label_label_copy_machine",
"text": {
"fixedValue": "Label Copy Machine"
},
"color": {
"value": -12829636,
"falpha": 0.0
},
"x": 132,
"y": 31,
"locked": false
}
},
{
"type": "image",
"data": {
"image": "plus_sign.png",
"use1Xscale": false,
"x": 204,
"y": 49,
"locked": false
}
},
{
"type": "image",
"data": {
"image": "copy_icon.png",
"use1Xscale": false,
"x": 204,
"y": 76,
"locked": false
}
},
{
"type": "image",
"data": {
"image": "right_arrow_sign.png",
"use1Xscale": false,
"x": 168,
"y": 76,
"locked": false
}
},
{
"type": "image",
"data": {
"image": "right_arrow_sign.png",
"use1Xscale": false,
"x": 222,
"y": 76,
"locked": false
}
},
{
"type": "button",
"data": {
"name": "button_copy",
"text": "Copy",
"isUndecorated": false,
"onClick": {
"name": "LabelCopyMachineCopyButtonPressed"
},
"width": 46,
"height": 20,
"x": 191,
"y": 98,
"locked": false
}
},
{
"type": "tooltip",
"data": {
"name": "tooltip_shipping_label_slot",
"text": {
"fixedValue": "Shipping Label Slot"
},
"displayCondition": {
"name": "LabelCopyMachineGUISlot0TooltipCondition"
},
"width": 24,
"height": 24,
"x": 141,
"y": 71,
"locked": false
}
},
{
"type": "tooltip",
"data": {
"name": "tooltip_paper_slot",
"text": {
"fixedValue": "Paper Slot"
},
"displayCondition": {
"name": "LabelCopyMachineGUISlot1TooltipCondition"
},
"width": 24,
"height": 24,
"x": 177,
"y": 44,
"locked": false
}
},
{
"type": "tooltip",
"data": {
"name": "tooltip_ink_sac_slot",
"text": {
"fixedValue": "Ink Sac Slot"
},
"displayCondition": {
"name": "LabelCopyMachineGUISlot2TooltipCondition"
},
"width": 24,
"height": 24,
"x": 218,
"y": 44,
"locked": false
}
},
{
"type": "tooltip",
"data": {
"name": "tooltip_output_copy_of_shipping_label",
"text": {
"fixedValue": "Output (copy of shipping label)"
},
"displayCondition": {
"name": "LabelCopyMachineGUISlot3TooltipCondition"
},
"width": 24,
"height": 24,
"x": 254,
"y": 71,
"locked": false
}
}
],
"gridSettings": {
"sx": 9,
"sy": 9,
"ox": 11,
"oy": 15,
"snapOnGrid": true
}
}
}

View File

@@ -0,0 +1,7 @@
{
"_fv": 73,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value></block></statement><next><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></next></block></xml>"
}
}

View File

@@ -0,0 +1,7 @@
{
"_fv": 73,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value></block></statement><next><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></next></block></xml>"
}
}

View File

@@ -0,0 +1,7 @@
{
"_fv": 73,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value></block></statement><next><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></next></block></xml>"
}
}

View File

@@ -0,0 +1,7 @@
{
"_fv": 73,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">3</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">FALSE</field></block></value></block></statement><next><block type=\"return_logic\"><value name=\"return\"><block type=\"logic_boolean\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></next></block></xml>"
}
}

View File

@@ -0,0 +1,48 @@
{
"_fv": 73,
"_type": "recipe",
"definition": {
"recipeType": "Crafting",
"recipeRetstackSize": 1,
"group": "",
"cookingBookCategory": "MISC",
"xpReward": 0.0,
"cookingTime": 200,
"craftingBookCategory": "MISC",
"recipeShapeless": false,
"recipeSlots": [
{
"value": ""
},
{
"value": ""
},
{
"value": ""
},
{
"value": "Blocks.DISPENSER"
},
{
"value": "Blocks.DISPENSER"
},
{
"value": "Blocks.IRON_BLOCK"
},
{
"value": "Blocks.IRON_BLOCK"
},
{
"value": "Blocks.IRON_BLOCK"
},
{
"value": "Blocks.IRON_BLOCK"
}
],
"recipeReturnStack": {
"value": "CUSTOM:LabelCopyMachine"
},
"name": "label_copy_machine_recipe",
"namespace": "mod"
}
}

154
elements/Tux.mod.json Normal file
View File

@@ -0,0 +1,154 @@
{
"_fv": 73,
"_type": "livingentity",
"definition": {
"mobName": "Tux",
"mobLabel": "Tux",
"mobModelName": "Modelpeguin",
"mobModelTexture": "tux.png",
"transparentModelCondition": {
"fixedValue": false
},
"isShakingCondition": {
"fixedValue": false
},
"solidBoundingBox": {
"fixedValue": false
},
"visualScale": {
"fixedValue": 1.25
},
"boundingBoxScale": {
"fixedValue": 1.25
},
"modelLayers": [],
"animations": [],
"modelWidth": 0.6,
"modelHeight": 1.8,
"modelShadowSize": 0.5,
"mountedYOffset": 0.0,
"hasSpawnEgg": true,
"spawnEggBaseColor": {
"value": -16777216,
"falpha": 0.0
},
"spawnEggDotColor": {
"value": -1,
"falpha": 0.0
},
"creativeTabs": [
{
"value": "MISC"
}
],
"isBoss": true,
"bossBarColor": "BLUE",
"bossBarType": "PROGRESS",
"equipmentMainHand": {
"value": ""
},
"equipmentOffHand": {
"value": ""
},
"equipmentHelmet": {
"value": ""
},
"equipmentBody": {
"value": ""
},
"equipmentLeggings": {
"value": ""
},
"equipmentBoots": {
"value": ""
},
"mobBehaviourType": "Mob",
"mobCreatureType": "UNDEFINED",
"attackStrength": 12,
"attackKnockback": 1.6,
"knockbackResistance": 0.6,
"movementSpeed": 0.27,
"stepHeight": 0.6,
"armorBaseValue": 2.0,
"trackingRange": 64,
"followRange": 32,
"health": 300,
"xpAmount": 0,
"waterMob": false,
"breatheUnderwater": {
"fixedValue": false
},
"pushedByFluids": {
"fixedValue": true
},
"flyingMob": false,
"inventorySize": 9,
"inventoryStackSize": 64,
"disableCollisions": false,
"ridable": false,
"canControlForward": false,
"canControlStrafe": false,
"immuneToFire": false,
"immuneToArrows": false,
"immuneToFallDamage": true,
"immuneToCactus": true,
"immuneToDrowning": true,
"immuneToLightning": false,
"immuneToPotions": true,
"immuneToPlayer": false,
"immuneToExplosion": false,
"immuneToTrident": false,
"immuneToAnvil": true,
"immuneToWither": false,
"immuneToDragonBreath": false,
"mobDrop": {
"value": ""
},
"livingSound": {
"value": ""
},
"hurtSound": {
"value": "entity.generic.hurt"
},
"deathSound": {
"value": "entity.generic.death"
},
"stepSound": {
"value": ""
},
"raidCelebrationSound": {
"value": ""
},
"entityDataEntries": [],
"hasAI": true,
"aiBase": "(none)",
"aixml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"aitasks_container\" deletable=\"false\" x=\"40\" y=\"40\"><next><block type=\"attack_on_collide\"><field name=\"speed\">1.2</field><field name=\"longmemory\">FALSE</field><field name=\"condition\">null,null</field><next><block type=\"attack_action\"><field name=\"callhelp\">FALSE</field><field name=\"condition\">null,null</field><next><block type=\"wander\"><field name=\"speed\">0.8</field><field name=\"condition\">null,null</field><next><block type=\"look_around\"><field name=\"condition\">null,null</field><next><block type=\"attack_entity\"><field name=\"insight\">FALSE</field><field name=\"nearby\">FALSE</field><field name=\"entity\">EntityPlayer</field><field name=\"condition\">null,null</field></block></next></block></next></block></next></block></next></block></next></block></xml>",
"breedable": false,
"tameable": false,
"breedTriggerItems": [],
"ranged": false,
"rangedAttackItem": {
"value": ""
},
"rangedItemType": "Default item",
"rangedAttackInterval": 20,
"rangedAttackRadius": 10.0,
"spawnThisMob": false,
"doesDespawnWhenIdle": false,
"spawningProbability": 20,
"mobSpawningType": "monster",
"minNumberOfMobsPerGroup": 4,
"maxNumberOfMobsPerGroup": 4,
"restrictionBiomes": [],
"spawnInDungeons": false,
"raidSpawnsCount": [
4,
3,
3,
4,
4,
4,
2
]
}
}