This commit is contained in:
nimsolated
2026-04-02 10:20:18 -07:00
parent b184a28802
commit 07b6a545b8
37 changed files with 1168 additions and 18 deletions

View File

@@ -3,7 +3,7 @@
"_type": "livingentity",
"definition": {
"mobName": "Ari",
"mobLabel": "Ari",
"mobLabel": "",
"mobModelName": "Biped",
"mobModelTexture": "ari.png",
"transparentModelCondition": {

View File

@@ -6,7 +6,7 @@
"pools": [
{
"minrolls": 1,
"maxrolls": 1,
"maxrolls": 2,
"minbonusrolls": 1,
"maxbonusrolls": 1,
"hasbonusrolls": false,
@@ -16,7 +16,7 @@
"item": {
"value": "CUSTOM:Orichalcum"
},
"weight": 16,
"weight": 25,
"minCount": 1,
"maxCount": 1,
"minEnchantmentLevel": 0,
@@ -30,7 +30,7 @@
"item": {
"value": "Blocks.AIR"
},
"weight": 300,
"weight": 100,
"minCount": 1,
"maxCount": 1,
"minEnchantmentLevel": 0,

View File

@@ -30,7 +30,7 @@
"item": {
"value": "Blocks.SAPLING#5"
},
"weight": 6,
"weight": 16,
"minCount": 1,
"maxCount": 1,
"minEnchantmentLevel": 0,

View File

@@ -30,7 +30,7 @@
"item": {
"value": "Blocks.SAPLING#0"
},
"weight": 6,
"weight": 16,
"minCount": 1,
"maxCount": 1,
"minEnchantmentLevel": 0,

157
elements/WarTank.mod.json Normal file
View File

@@ -0,0 +1,157 @@
{
"_fv": 73,
"_type": "livingentity",
"definition": {
"mobName": "War Tank",
"mobLabel": "",
"mobModelName": "ModelWarTank",
"mobModelTexture": "wartank_texture.png",
"transparentModelCondition": {
"fixedValue": false
},
"isShakingCondition": {
"fixedValue": false
},
"solidBoundingBox": {
"fixedValue": false
},
"visualScale": {
"fixedValue": 3.0
},
"boundingBoxScale": {
"fixedValue": 3.0
},
"modelLayers": [],
"animations": [],
"modelWidth": 0.6,
"modelHeight": 1.8,
"modelShadowSize": 0.5,
"mountedYOffset": 0.0,
"hasSpawnEgg": true,
"spawnEggBaseColor": {
"value": -16764160,
"falpha": 0.0
},
"spawnEggDotColor": {
"value": -13421773,
"falpha": 0.0
},
"creativeTabs": [
{
"value": "MISC"
}
],
"isBoss": true,
"bossBarColor": "GREEN",
"bossBarType": "NOTCHED_10",
"equipmentMainHand": {
"value": ""
},
"equipmentOffHand": {
"value": ""
},
"equipmentHelmet": {
"value": ""
},
"equipmentBody": {
"value": ""
},
"equipmentLeggings": {
"value": ""
},
"equipmentBoots": {
"value": ""
},
"mobBehaviourType": "Mob",
"mobCreatureType": "UNDEFINED",
"attackStrength": 3,
"attackKnockback": 0.0,
"knockbackResistance": 1.0,
"movementSpeed": 0.15,
"stepHeight": 1.0,
"armorBaseValue": 20.0,
"trackingRange": 64,
"followRange": 32,
"health": 300,
"xpAmount": 300,
"waterMob": false,
"breatheUnderwater": {
"fixedValue": false
},
"pushedByFluids": {
"fixedValue": true
},
"flyingMob": false,
"inventorySize": 9,
"inventoryStackSize": 64,
"disableCollisions": false,
"ridable": false,
"canControlForward": false,
"canControlStrafe": false,
"immuneToFire": true,
"immuneToArrows": true,
"immuneToFallDamage": true,
"immuneToCactus": true,
"immuneToDrowning": true,
"immuneToLightning": true,
"immuneToPotions": true,
"immuneToPlayer": true,
"immuneToExplosion": false,
"immuneToTrident": true,
"immuneToAnvil": true,
"immuneToWither": true,
"immuneToDragonBreath": true,
"mobDrop": {
"value": ""
},
"livingSound": {
"value": ""
},
"hurtSound": {
"value": "entity.irongolem.hurt"
},
"deathSound": {
"value": "entity.irongolem.death"
},
"stepSound": {
"value": "entity.irongolem.step"
},
"raidCelebrationSound": {
"value": ""
},
"entityDataEntries": [],
"onInitialSpawn": {
"name": "WarTankOnInitialEntitySpawn"
},
"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_action\"><field name=\"callhelp\">TRUE</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\">TRUE</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></xml>",
"breedable": false,
"tameable": false,
"breedTriggerItems": [],
"ranged": true,
"rangedAttackItem": {
"value": ""
},
"rangedItemType": "WarTankBullet",
"rangedAttackInterval": 100,
"rangedAttackRadius": 32.0,
"spawnThisMob": false,
"doesDespawnWhenIdle": false,
"spawningProbability": 20,
"mobSpawningType": "monster",
"minNumberOfMobsPerGroup": 4,
"maxNumberOfMobsPerGroup": 4,
"restrictionBiomes": [],
"spawnInDungeons": false,
"raidSpawnsCount": [
4,
3,
3,
4,
4,
4,
2
]
}
}

View File

@@ -0,0 +1,27 @@
{
"_fv": 73,
"_type": "projectile",
"definition": {
"projectileItem": {
"value": "Items.FIRE_CHARGE"
},
"showParticles": false,
"actionSound": {
"value": "block.dispenser.dispense"
},
"igniteFire": false,
"power": 1.5,
"damage": 5.0,
"knockback": 5,
"entityModel": "ModelWarTankBullet",
"customModelTexture": "wartank_bullet_texture.png",
"modelWidth": 0.3,
"modelHeight": 0.3,
"onHitsBlock": {
"name": "WarTankBulletProjectileHitsBlock"
},
"onHitsEntity": {
"name": "WarTankBulletProjectileHitsLivingEntity"
}
}
}

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=\"explode\"><field name=\"mode\">MOB</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><value name=\"power\"><block type=\"math_number\"><field name=\"NUM\">5</field></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=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"compare_entities\"><value name=\"a\"><block type=\"entity_from_deps\"></block></value><value name=\"b\"><block type=\"source_entity_from_deps\"></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"explode\"><field name=\"mode\">MOB</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><value name=\"power\"><block type=\"math_number\"><field name=\"NUM\">5</field></block></value></block></statement></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_binary_ops\" inline=\"false\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"world_data_isremote\"></block></value></block></value><value name=\"B\"><block type=\"entity_isalive\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"wait\"><value name=\"ticks\"><block type=\"math_number\"><field name=\"NUM\">100</field></block></value><statement name=\"do\"><block type=\"console_log\"><field name=\"message_type\">info</field><value name=\"message\"><block type=\"text\"><field name=\"TEXT\">WarTankOnInitialEntitySpawn: Replaying aris_random_additions:wartank_moving</field></block></value><next><block type=\"play_sound\"><field name=\"sound\">CUSTOM:wartank_moving</field><field name=\"soundcategory\">hostile</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><value name=\"level\"><block type=\"math_number\"><field name=\"NUM\">0.3</field></block></value><value name=\"pitch\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><next><block type=\"call_procedure\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"4\"></mutation><field name=\"procedure\">WarTankOnInitialEntitySpawn</field><field name=\"name0\">x</field><field name=\"name1\">y</field><field name=\"name2\">z</field><field name=\"name3\">entity</field><value name=\"arg0\"><block type=\"coord_x\"></block></value><value name=\"arg1\"><block type=\"coord_y\"></block></value><value name=\"arg2\"><block type=\"coord_z\"></block></value><value name=\"arg3\"><block type=\"entity_from_deps\"></block></value></block></next></block></next></block></statement></block></statement></block></next></block></xml>"
}
}