Compare commits

...
Author SHA1 Message Date
JadedArts 14f7c4051c Begin standardizing Move Action Effects
A stat boost failing to change stats now has a 1 second pause in the battle system for improved readability.

Set up Amnesia and Nasty Plot to use Fork Keyframes in their Action Effect timelines.

Fixed positioning on Amnesia and Nasty Plot particles.
2026-11-27 15:17:46 -06:00
Sterrezo a016188534 Added stepsounds to Girafarig, fixed doubled Dragonite stepsounds 2026-11-25 21:57:28 +01:00
Sterrezo a100a3adf1 Revoked stepsound privileges from Crobat 2026-11-25 21:42:52 +01:00
Sterrezo d847e9e23b Stepsound volume rebalancing 2026-11-25 21:38:01 +01:00
Sterrezo 45fdaf43ea Added stepsounds to Ariados 2026-11-25 21:29:24 +01:00
19 changed files with 149 additions and 102 deletions

No files matched your search

+3 -2
View File
@@ -6,10 +6,11 @@
- A Pokémon holding a Power item now gains 1 point in the corresponding riding stat every two minutes while being ridden. The interval is configurable, and can be disabled with `-1`.
- Added sounds to Gigaton Hammer and Pyro Ball
- Certain Pokémon now have custom, animation-driven footstep sounds that change based on the surface! We're slowly working on adding them to all animated Pokémon, but for now we've covered most that are rideable.
- Added footstep sounds to Venusaur, Blastoise, Dewgong, Rhydon, Rhyhorn, Parasect, Mr. Mime, Lapras, Aerodactyl and Dragonite.
- Added footstep sounds to Venusaur, Blastoise, Dewgong, Rhydon, Rhyhorn, Parasect, Mr. Mime, Lapras, Aerodactyl, Dragonite and Ariados.
### Changes
- Amethyst now grows from Typegem core blocks like typegems do
- Pokémon that received footstep sounds this update no longer make the usual Minecraft footstep sounds. This is also the case for Crobat. (Note, game event detection like with Sculk Shriekers still functions as normal.)
### Fixes
- Fixed Ponigiri food values for AppleSkin integration
@@ -18,7 +19,7 @@
### Developer
### Molang & Datapacks
- `q.is_standing_on_blocks` now properly checks for non-full blocks like slabs, Mud or Soul Sand
- `q.is_standing_on_blocks` now properly checks for non-full blocks like slabs, Mud or Soul Sand.
- Added Molang functions to play footstep sounds based on the corresponding surface. These are intended to be used by Pokémon animations.
- Pokémon can now have their Minecraft footstep sounds silenced in their species file. This doesn't affect emitting game events.
@@ -22,6 +22,7 @@ import com.cobblemon.mod.common.battles.ShowdownInterpreter
import com.cobblemon.mod.common.battles.dispatch.ActionEffectInstruction
import com.cobblemon.mod.common.battles.dispatch.GO
import com.cobblemon.mod.common.battles.dispatch.UntilDispatch
import com.cobblemon.mod.common.battles.dispatch.WaitDispatch
import com.cobblemon.mod.common.util.battleLang
import com.cobblemon.mod.common.util.cobblemonResource
import java.util.concurrent.CompletableFuture
@@ -82,6 +83,7 @@ class BoostInstruction(battle: PokemonBattle, val message: BattleMessage, val is
else -> battleLang("$rootKey.$severity", pokemon.getName(), stat)
}
battle.broadcastChatMessage(lang)
if (stages == 0) return@dispatch WaitDispatch(1F)
val boostBucket = if (isBoost) BattleContext.Type.BOOST else BattleContext.Type.UNBOOST
val context = ShowdownInterpreter.getContextFromAction(message, boostBucket, battle)
@@ -17,7 +17,7 @@
"active_time": 1.5
},
"minecraft:emitter_shape_sphere": {
"offset": [-0.68571, 1.16204, -0.68571],
"offset": [0.68571, 1.16204, -0.68571],
"radius": 0.125,
"surface_only": true,
"direction": ["((v.particle_random_1)-0.5)*4", 0, "((v.particle_random_3)-0.5)*4"]
@@ -16,13 +16,13 @@
"active_time": 1
},
"minecraft:emitter_shape_point": {
"offset": [-0.68571, 1.16204, -0.68571]
"offset": [0.68571, 1.16204, -0.68571]
},
"minecraft:particle_lifetime_expression": {
"max_lifetime": 1
},
"minecraft:particle_motion_parametric": {
"relative_position": [0.68571, "-1.6*(math.pow((0.5*((math.clamp(v.particle_age, 0, 0.5))-0.5)), 2))+1.26204", -0.68571]
"relative_position": [-0.68571, "-1.6*(math.pow((0.5*((math.clamp(v.particle_age, 0, 0.5))-0.5)), 2))+1.26204", -0.68571]
},
"minecraft:particle_appearance_billboard": {
"size": [0.625, 0.625],
@@ -24,7 +24,7 @@
"active_time": 1
},
"minecraft:emitter_shape_point": {
"offset": [-0.43214, 0.31347, -0.43214],
"offset": [0.43214, 0.31347, -0.43214],
"direction": [-0.5, 0.766, -0.5]
},
"minecraft:particle_lifetime_expression": {
@@ -24,7 +24,7 @@
"active_time": 1
},
"minecraft:emitter_shape_point": {
"offset": [-0.22857, 0.07837, -0.22857],
"offset": [0.22857, 0.07837, -0.22857],
"direction": [-0.5, 0.666, -0.5]
},
"minecraft:particle_lifetime_expression": {
@@ -17,7 +17,7 @@
"active_time": 1
},
"minecraft:emitter_shape_point": {
"offset": [-0.68571, 1.16204, -0.68571],
"offset": [0.68571, 1.16204, -0.68571],
"direction": ["((v.particle_random_1)-0.5)*4", "((v.particle_random_2)-0.5)/3", "((v.particle_random_3)-0.5)*4"]
},
"minecraft:particle_lifetime_expression": {
@@ -16,13 +16,13 @@
"active_time": 1
},
"minecraft:emitter_shape_point": {
"offset": [-0.68571, 1.36204, -0.68571]
"offset": [0.68571, 1.36204, -0.68571]
},
"minecraft:particle_lifetime_expression": {
"max_lifetime": 0.5
},
"minecraft:particle_motion_parametric": {
"relative_position": [0.68571, "-0.2*(math.pow((2*((math.clamp(v.particle_age, 0, 0.5))-0.5)), 2))+1.36204", -0.68571]
"relative_position": [-0.68571, "-0.2*(math.pow((2*((math.clamp(v.particle_age, 0, 0.5))-0.5)), 2))+1.36204", -0.68571]
},
"minecraft:particle_appearance_billboard": {
"size": [0.625, 0.625],
@@ -24,7 +24,7 @@
"active_time": 2
},
"minecraft:emitter_shape_point": {
"offset": [-0.43214, 0.31347, -0.43214],
"offset": [0.43214, 0.31347, -0.43214],
"direction": [-0.5, 0.766, -0.5]
},
"minecraft:particle_lifetime_expression": {
@@ -24,7 +24,7 @@
"active_time": 1
},
"minecraft:emitter_shape_point": {
"offset": [-0.22857, 0.07837, -0.22857],
"offset": [0.22857, 0.07837, -0.22857],
"direction": [-0.5, 0.666, -0.5]
},
"minecraft:particle_lifetime_expression": {
@@ -837,7 +837,7 @@
}
},
"timeline": {
"0.5833": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.5": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
@@ -485,6 +485,10 @@
"locator_seat_1": {
"rotation": ["-12.5+math.cos(q.anim_time*90*3*2)*3", "0-math.cos(q.anim_time*90*3-180)*6", "0-math.cos(q.anim_time*90*3)*6"]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.6667": "q.run_molang('cobblemon:stepsound_minecraft');"
}
},
"animation.ariados.ground_run": {
@@ -1535,6 +1539,14 @@
"locator_seat_1": {
"rotation": ["-17.5+math.cos(q.anim_time*90*9*2)*4", "0+math.cos(q.anim_time*90*9-60)*4", 0]
}
},
"timeline": {
"0.125": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.375": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.5833": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.7917": "q.run_molang('cobblemon:stepsound_minecraft');",
"1.0417": "q.run_molang('cobblemon:stepsound_minecraft');",
"1.25": "q.run_molang('cobblemon:stepsound_minecraft');"
}
},
"animation.ariados.ride_ground_walk": {
@@ -427,6 +427,12 @@
"neck2_spikes": {
"rotation": [0, "-math.cos(q.anim_time*90*4+30)*3", 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.0278": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.5": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.5278": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.girafarig.ground_run": {
@@ -876,6 +882,12 @@
"head_spikes": {
"rotation": [0, "-math.sin(q.anim_time*90*8+30)*8", 0]
}
},
"timeline": {
"0.2083": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.25": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.2917": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.3333": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.girafarig.battle_idle": {
@@ -2516,12 +2516,12 @@
"stepsound.grass.minecraft": {
"subtitle": "subtitles.block.generic.footsteps",
"sounds": [
{ "name": "step/grass1", "volume": 0.05 },
{ "name": "step/grass2", "volume": 0.05 },
{ "name": "step/grass3", "volume": 0.05 },
{ "name": "step/grass4", "volume": 0.05 },
{ "name": "step/grass5", "volume": 0.05 },
{ "name": "step/grass6", "volume": 0.05 }
{ "name": "step/grass1", "volume": 0.1 },
{ "name": "step/grass2", "volume": 0.1 },
{ "name": "step/grass3", "volume": 0.1 },
{ "name": "step/grass4", "volume": 0.1 },
{ "name": "step/grass5", "volume": 0.1 },
{ "name": "step/grass6", "volume": 0.1 }
]
},
"stepsound.glass.minecraft": {
@@ -2547,23 +2547,23 @@
"stepsound.mud.minecraft": {
"subtitle": "subtitles.block.generic.footsteps",
"sounds": [
{ "name": "block/mud/step1", "volume": 0.2 },
{ "name": "block/mud/step2", "volume": 0.2 },
{ "name": "block/mud/step3", "volume": 0.2 },
{ "name": "block/mud/step4", "volume": 0.2 },
{ "name": "block/mud/step5", "volume": 0.2 },
{ "name": "block/mud/step6", "volume": 0.2 }
{ "name": "block/mud/step1", "volume": 0.08 },
{ "name": "block/mud/step2", "volume": 0.08 },
{ "name": "block/mud/step3", "volume": 0.08 },
{ "name": "block/mud/step4", "volume": 0.08 },
{ "name": "block/mud/step5", "volume": 0.08 },
{ "name": "block/mud/step6", "volume": 0.08 }
]
},
"stepsound.stone.minecraft": {
"subtitle": "subtitles.block.generic.footsteps",
"sounds": [
{ "name": "step/stone1", "volume": 0.08 },
{ "name": "step/stone2", "volume": 0.08 },
{ "name": "step/stone3", "volume": 0.08 },
{ "name": "step/stone4", "volume": 0.08 },
{ "name": "step/stone5", "volume": 0.08 },
{ "name": "step/stone6", "volume": 0.08 }
{ "name": "step/stone1", "volume": 0.1 },
{ "name": "step/stone2", "volume": 0.1 },
{ "name": "step/stone3", "volume": 0.1 },
{ "name": "step/stone4", "volume": 0.1 },
{ "name": "step/stone5", "volume": 0.1 },
{ "name": "step/stone6", "volume": 0.1 }
]
},
"stepsound.wood.minecraft": {
@@ -1,14 +1,18 @@
{
"timeline": [
{
"type": "add_holds",
"holds": ["effects"]
},
"timeline": [
{
"type": "add_holds",
"holds": ["effects"]
},
{
"type": "fork",
"condition": "q.failed(q.user.uuid) == false",
"ifTrue": [
{
"type": "entity_particles",
"effect": "cobblemon:amnesia_actortrailsmall",
"locators": ["top"]
},
"locators": ["head", "top"]
},
{
"type": "pause",
"pause": 0.1
@@ -16,8 +20,8 @@
{
"type": "entity_particles",
"effect": "cobblemon:amnesia_actortraillarge",
"locators": ["top"]
},
"locators": ["head", "top"]
},
{
"type": "pause",
"pause": 0.1
@@ -25,8 +29,8 @@
{
"type": "entity_particles",
"effect": "cobblemon:amnesia_actorcloud",
"locators": ["top"]
},
"locators": ["head", "top"]
},
{
"type": "pause",
"pause": 1.8
@@ -34,8 +38,8 @@
{
"type": "entity_particles",
"effect": "cobblemon:amnesia_actorquestion",
"locators": ["top"]
},
"locators": ["head", "top"]
},
{
"type": "pause",
"pause": 0.25
@@ -43,18 +47,22 @@
{
"type": "entity_molang",
"expressions": ["q.play_animation(q.bedrock_stateful('amnesia', 'actor'))"]
},
},
{
"type": "pause",
"pause": 1.55
},
{
"type": "remove_holds",
"holds": ["effects"]
},
{
"type": "pause",
"pause": 1.5
"pause": 1.0
}
]
],
"ifFalse": [
{
"type": "pause",
"pause": 1.2
}
]
},
{
"type": "remove_holds",
"holds": ["effects"]
}
]
}
@@ -3,59 +3,68 @@
{
"type": "add_holds",
"holds": ["effects"]
},
{
"type": "entity_particles",
"effect": "cobblemon:nastyplot_actortrailsmall",
"locators": ["top"]
},
{
"type": "pause",
"pause": 0.1
},
{
"type": "entity_particles",
"effect": "cobblemon:nastyplot_actortraillarge",
"locators": ["top"]
},
{
"type": "pause",
"pause": 0.1
"type": "fork",
"condition": "q.failed(q.user.uuid) == false",
"ifTrue": [
{
"type": "entity_particles",
"effect": "cobblemon:nastyplot_actortrailsmall",
"locators": ["head", "top"]
},
{
"type": "pause",
"pause": 0.1
},
{
"type": "entity_particles",
"effect": "cobblemon:nastyplot_actortraillarge",
"locators": ["head", "top"]
},
{
"type": "pause",
"pause": 0.1
},
{
"type": "entity_particles",
"effect": "cobblemon:nastyplot_actorcloud",
"locators": ["head", "top"]
},
{
"type": "pause",
"pause": 1.4
},
{
"type": "entity_molang",
"expressions": ["q.play_animation(q.bedrock_stateful('nastyplot', 'actor'))"]
},
{
"type": "entity_particles",
"effect": "cobblemon:nastyplot_actorexclamation",
"locators": ["head", "top"]
},
{
"type": "pause",
"pause": 0.3
},
{
"type": "animation",
"animation": ["nastyplot", "status"],
"delay": 1.2
}
],
"ifFalse": [
{
"type": "animation",
"animation": ["nastyplot", "status"],
"delay": 1.2
}
]
},
{
"type": "entity_particles",
"effect": "cobblemon:nastyplot_actorcloud",
"locators": ["top"]
},
{
"type": "pause",
"pause": 1.4
},
{
"type": "entity_molang",
"expressions": ["q.play_animation(q.bedrock_stateful('nastyplot', 'actor'))"]
},
{
"type": "entity_particles",
"effect": "cobblemon:nastyplot_actorexclamation",
"locators": ["top"]
},
{
"type": "pause",
"pause": 0.3
},
{
"type": "animation",
"animation": ["nastyplot", "status"],
"delay": 0.5
},
{
"type": "remove_holds",
"holds": ["effects"]
},
{
"type": "pause",
"pause": 2.5
}
]
}
@@ -7,6 +7,7 @@
"maleRatio": 0.5,
"height": 11,
"weight": 335,
"silenceStepSounds": true,
"pokedex": [
"cobblemon.species.ariados.desc"
],
@@ -7,6 +7,7 @@
"maleRatio": 0.5,
"height": 18,
"weight": 750,
"silenceStepSounds": true,
"pokedex": [
"cobblemon.species.crobat.desc"
],
@@ -7,6 +7,7 @@
"maleRatio": 0.5,
"height": 15,
"weight": 415,
"silenceStepSounds": true,
"pokedex": [
"cobblemon.species.girafarig.desc"
],