wand of resizing and pocket lightning

This commit is contained in:
nimsolated
2026-03-22 10:23:14 -07:00
parent 97062fad89
commit f39f255e26
26 changed files with 898 additions and 12 deletions

View File

@@ -0,0 +1,61 @@
{
"_fv": 73,
"_type": "item",
"definition": {
"renderType": 0,
"texture": "pocket_lightning",
"customModelName": "Ranged item",
"customProperties": {},
"states": [],
"name": "Pocket Lightning",
"rarity": "UNCOMMON",
"creativeTabs": [],
"stackSize": 64,
"enchantability": 0,
"useDuration": 72000,
"toolType": 1.0,
"damageCount": 0,
"recipeRemainder": {
"value": ""
},
"destroyAnyBlock": false,
"immuneToFire": false,
"stayInGridWhenCrafting": false,
"damageOnCrafting": false,
"enableMeleeDamage": false,
"damageVsEntity": 0.0,
"specialInformation": {
"fixedValue": [
"Spawns lightning wherever it lands."
]
},
"glowCondition": {
"fixedValue": true
},
"inventorySize": 9,
"inventoryStackSize": 64,
"enableRanged": true,
"shootConstantly": false,
"rangedItemChargesPower": true,
"projectile": {
"value": "CUSTOM:PocketLightningProjectile"
},
"projectileDisableAmmoCheck": false,
"isFood": false,
"nutritionalValue": 4,
"saturation": 0.3,
"eatResultItem": {
"value": ""
},
"isMeat": false,
"isAlwaysEdible": false,
"animation": "bow",
"isMusicDisc": false,
"musicDiscMusic": {
"value": ""
},
"musicDiscDescription": "",
"musicDiscLengthInTicks": 100,
"musicDiscAnalogOutput": 0
}
}

View File

@@ -0,0 +1,27 @@
{
"_fv": 73,
"_type": "projectile",
"definition": {
"projectileItem": {
"value": "CUSTOM:PocketLightning"
},
"showParticles": false,
"actionSound": {
"value": "entity.enderpearl.throw"
},
"igniteFire": false,
"power": 1.0,
"damage": 0.0,
"knockback": 0,
"entityModel": "Default",
"customModelTexture": "",
"modelWidth": 0.5,
"modelHeight": 0.5,
"onHitsBlock": {
"name": "PocketLightningProjectileProjectileHitsBlock"
},
"onHitsEntity": {
"name": "PocketLightningProjectileProjectileHitsLivingEntity"
}
}
}

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_negate\"><value name=\"BOOL\"><block type=\"world_data_isremote\"></block></value></block></value><statement name=\"DO0\"><block type=\"spawn_entity\"><field name=\"entity\">EntityLightningBolt</field><value name=\"x\"><block type=\"coord_x\"></block></value><value name=\"y\"><block type=\"coord_y\"></block></value><value name=\"z\"><block type=\"coord_z\"></block></value></block></statement></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=\"logic_negate\"><value name=\"BOOL\"><block type=\"world_data_isremote\"></block></value></block></value><statement name=\"DO0\"><block type=\"spawn_entity\"><field name=\"entity\">EntityLightningBolt</field><value name=\"x\"><block type=\"coord_x\"></block></value><value name=\"y\"><block type=\"coord_y\"></block></value><value name=\"z\"><block type=\"coord_z\"></block></value></block></statement></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": "Items.BLAZE_ROD"
},
{
"value": ""
},
{
"value": "Items.BLAZE_ROD"
},
{
"value": ""
},
{
"value": "Items.BLAZE_POWDER"
},
{
"value": ""
},
{
"value": ""
}
],
"recipeReturnStack": {
"value": "CUSTOM:PocketLightning"
},
"name": "pocket_lightning_recipe",
"namespace": "mod"
}
}

View File

@@ -0,0 +1,40 @@
{
"_fv": 73,
"_type": "tool",
"definition": {
"toolType": "Special",
"renderType": 0,
"blockingRenderType": 0,
"texture": "wand_of_resizing",
"customModelName": "Normal",
"blockingModelName": "Normal blocking",
"name": "Wand Of Resizing",
"specialInformation": {
"fixedValue": [
"DISCLAIMER: Does not work with Origins that periodically reset your scale!"
]
},
"creativeTabs": [
{
"value": "TOOLS"
}
],
"efficiency": 4.0,
"attackSpeed": 1.0,
"enchantability": 2,
"damageVsEntity": 1.0,
"usageCount": 0,
"glowCondition": {
"fixedValue": false
},
"repairItems": [],
"immuneToFire": true,
"blockDropsTier": "WOOD",
"blocksAffected": [],
"stayInGridWhenCrafting": false,
"damageOnCrafting": false,
"onRightClickedInAir": {
"name": "WandOfResizingRightclicked"
}
}
}

View File

@@ -0,0 +1,48 @@
{
"_fv": 73,
"_type": "recipe",
"definition": {
"recipeType": "Crafting",
"recipeRetstackSize": 1,
"group": "",
"cookingBookCategory": "MISC",
"xpReward": 0.0,
"cookingTime": 200,
"craftingBookCategory": "EQUIPMENT",
"recipeShapeless": false,
"recipeSlots": [
{
"value": ""
},
{
"value": "Items.SPAWN_EGG#58"
},
{
"value": "Items.NETHER_STAR"
},
{
"value": ""
},
{
"value": "Items.STICK"
},
{
"value": "Items.SPAWN_EGG#101"
},
{
"value": "Items.STICK"
},
{
"value": ""
},
{
"value": ""
}
],
"recipeReturnStack": {
"value": "CUSTOM:WandOfResizing"
},
"name": "wand_of_resizing_recipe",
"namespace": "mod"
}
}

File diff suppressed because one or more lines are too long