This commit is contained in:
nimsolated
2026-03-22 20:38:37 -07:00
parent ae0bd0f411
commit be17e85eef
22 changed files with 601 additions and 164 deletions

View File

@@ -14,7 +14,7 @@
},
"creativeTabs": [
{
"value": "TOOLS"
"value": "COMBAT"
}
],
"efficiency": 4.0,

View File

@@ -0,0 +1,26 @@
{
"_fv": 73,
"_type": "enchantment",
"definition": {
"name": "Life Mending",
"supportedSlots": "any",
"weight": 1,
"anvilCost": 1,
"maxLevel": 1,
"damageModifier": 0,
"incompatibleEnchantments": [
{
"value": "MENDING"
}
],
"supportedItems": [
{
"value": "TAG:minecraft:enchantable/equippable"
}
],
"isTreasureEnchantment": false,
"isCurse": false,
"canGenerateInLootTables": true,
"canVillagerTrade": 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\">player_right_click_item</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"world_data_isremote\"></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_binary_ops\" inline=\"false\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"entity_issneaking\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"logic_binary_ops\" inline=\"false\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"itemstack_has_enchantment\"><field name=\"enhancement\">CUSTOM:LifeMendingEnchantment</field><value name=\"item\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></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=\"entity_health\"><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=\"B\"><block type=\"logic_binary_ops\" inline=\"false\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"itemstack_is_damaged\"><value name=\"item\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block></value><value name=\"B\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"item_is_cooldown\"><value name=\"item\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block></value></block></value></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"item_cooldown_for\"><value name=\"item\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"ticks\"><block type=\"math_number\"><field name=\"NUM\">20</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><next><block type=\"deal_damage\"><value name=\"amount\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><value name=\"damagesource\"><block type=\"damagesource_from_type\"><field name=\"damagetype\">MAGIC</field></block></value><next><block type=\"item_set_damage\"><value name=\"item\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"item_get_damage\"><value name=\"item\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">30</field></block></value></block></value></block></next></block></next></block></statement></block></statement></block></next></block></xml>"
}
}

View File

@@ -33,7 +33,7 @@
"value": ""
},
{
"value": "CUSTOM:Shit"
"value": "CUSTOM:Turd"
},
{
"value": ""

View File

@@ -0,0 +1,38 @@
{
"_fv": 73,
"_type": "tool",
"definition": {
"toolType": "Special",
"renderType": 0,
"blockingRenderType": 0,
"texture": "wand_of_draining",
"customModelName": "Normal",
"blockingModelName": "Normal blocking",
"name": "Wand Of Draining",
"specialInformation": {
"fixedValue": []
},
"creativeTabs": [
{
"value": "COMBAT"
}
],
"efficiency": 2.0,
"attackSpeed": 1.0,
"enchantability": 1,
"damageVsEntity": 0.0,
"usageCount": 0,
"glowCondition": {
"fixedValue": false
},
"repairItems": [],
"immuneToFire": true,
"blockDropsTier": "WOOD",
"blocksAffected": [],
"stayInGridWhenCrafting": false,
"damageOnCrafting": false,
"onRightClickedInAir": {
"name": "WandOfDrainingRightclicked"
}
}
}

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": "Items.SKULL#1"
},
{
"value": "Items.NETHER_STAR"
},
{
"value": ""
},
{
"value": "Items.STICK"
},
{
"value": "Items.SKULL#1"
},
{
"value": "Items.STICK"
},
{
"value": ""
},
{
"value": ""
}
],
"recipeReturnStack": {
"value": "CUSTOM:WandOfDraining"
},
"name": "wand_of_draining_recipe",
"namespace": "mod"
}
}

File diff suppressed because one or more lines are too long