Compare commits

..
Author SHA1 Message Date
whatsy 8cb77a54d5 System reworked to be simpler, since a provider is no longer necessary 2026-11-02 15:12:03 -05:00
whatsy 04553d658f Merge branch 'main' into berry-tree-scanning
# Conflicts:
#	common/src/main/resources/assets/cobblemon/lang/en_us.json
2026-11-02 11:54:19 -05:00
Plastered_Crab ee8133356e Remove test logging 2026-06-08 13:54:11 -07:00
Plastered_Crab d78e114b3b Revision to move to only code only providers for pokedex scanning of blocks and block entities 2026-06-08 13:23:22 -07:00
Plastered_Crab 14ab259eee Merge branch 'main' into berry-tree-scanning
# Conflicts:
#	common/src/main/kotlin/com/cobblemon/mod/common/client/pokedex/PokedexScannerRenderer.kt
#	common/src/main/kotlin/com/cobblemon/mod/common/pokedex/scanner/PokedexUsageContext.kt
2026-06-08 10:38:19 -07:00
Plastered_Crab a8f78e3fd6 Merge branch 'main' into berry-tree-scanning 2026-03-02 12:54:16 -08:00
Plastered_Crab 96ae054aae Changelog 2026-01-19 16:06:48 -08:00
Plastered_Crab 80666530db Clean Up 2026-01-19 16:05:56 -08:00
Plastered_Crab b5e912a13f Fix closing animation and implement datapackable block entity scanning 2026-01-19 15:34:22 -08:00
Plastered_Crab 945f6b5f84 So close to getting Pokedex Scannable block entities datapackable 2025-12-19 16:07:16 -08:00
Plastered_Crab bf6c668850 WIP system for scanning Berry Bushes for info. Might expand it into a generalized BlockEntity scanning system 2025-12-19 11:43:43 -08:00
186 changed files with 6255 additions and 8612 deletions

No files matched your search

+149 -29
View File
@@ -2,52 +2,172 @@
## [1.8.5 (MONTH xth, 2026)](#1-8-5)
### Additions
- Added the `healersSetSpawn` gamerule. When enabled, using a healing machine will set your spawnpoint.
- 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 Play rough, 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 on land.
- Added footstep sounds to Charizard, Venusaur, Blastoise, Parasect, Arcanine, Dewgong, Rhydon, Rhyhorn, Parasect, Mr. Mime, Lapras, Aerodactyl, Dragonite, Ariados, Girafarig, Heracross, Ursaring, Mantine, Skarmory, Slaking, Camerupt, Flygon, Altaria, Tropius, Salamence, Metagross, Staraptor, Bastiodon, Honchkrow, Garchomp, Lickilicky, Mamoswine, Zebstrika, Darmanitan, Crustle, Archeops, Golurk, Bouffalant, Braviary, Hisuian Braviary, Skiddo, Gogoat, Tyrantrum, Goodra, Hisuian Goodra, Noivern, Vikavolt, Mudsdale, Corviknight, Duraludon, Wyrdeer, Ursaluna, Sneasler, Kilowattrel, Espathra, Cyclizar, Farigiraf and Archaludon.
- Unremarkable and Masterpiece Teacups now have new sounds
- Added trades for Saccharine Saplings, Hearty Grains, Chipped Pot, and Masterpiece Teacup to the Wandering Trader.
- Added brewing recipe for Throat Spray.
- Added Berry Tree scanning for Pokedex
- Added Datapackable Pokedex Scanning for Block Entities
- Added config options to award experience to fainted Pokémon for opponents they helped defeat (`awardExperienceToFaintedPokemon`) and to still award experience for defeated enemies even after battle loss/forfeit (`awardExperienceOnBattleLoss`)
- Party Overlay Exp Gained Animation will now display the amount of EXP the Pokémon gained
- Added a toast to notify players of how they can scroll through their party. Did you know you can hold R and scroll instead of using arrow keys??!
- Added a new layer property that makes a layer scroll in a direction. "scrolling": {"speedU": 0.1, "speedV": 0.1}
- Added missing crops to Botany Pots integration
- Added a way to obtain Porygon by inserting the Upgrade or Dubious Disc into a data monitor
- Added a new `cobblemon:structure`, which is a feature without any restrictions allowing the Builders to place certain structures in much more specific manner.
- Added Configs for Infinite Use TMs and Unlocking all TMs
- Added Type Gem blocks
- Added Type Gem Clusters
- Added TMs
- Added TM Machine
- Added Deepslate Core Block
- Added /givetm Command
- Added advancement triggers for learning TMs: `cobblemon:has_learn_specific_tm` (per-TM), `cobblemon:has_learn_all_tm` (all TMs learned), and `cobblemon:tms_learned` (count-based), backed by a new `totalTMLearnedCount` on player advancement data.
- Added `cobblemon:catch_alpha_pokemon` advancement trigger and `totalAlphaCaptureCount` tracking for capturing Alpha Pokémon.
- Added Move Dex to Pokédex
- Added the Habitat Block, a spawner block for servers and adventure maps that controls spawning in an area.
- Added Disk Rack for storing disks and being an audio sequencer for Noteblocks
- Added intrinsic scaling to all mons (+-5%). Some rendering cases, such as shoulder mounting, revert to 1.0 scaling to preserve animation accuracy.
- Added scaling to "baby" Pokémon (smaller (-20%) at level 1 → normally sized at level 10)
- Added conditional seats for riding. Seats can be gated by molang such as "is_alpha".
- Added Alpha Pokémon
- Added alpha scaling (alphas are larger than their normal counterparts)
- Alphas will always lead herds and will spawn in herds
- Alphas spawn with two random TM moves from their learnset
- Alpha Pokémon will always defend themselves from players that attack them
- Added alpha level matching and stat boost (based on level)
- Added pitch-down and reverb to alpha cries
- Added alpha Pokémon bait effect
- Added alpha eye rendering including eye overlay, bloom, eye trail, and particles.
- Added cobweb block slowness immunity for spider Pokémon
- Added 49 new habitat structures. 34 as typical Minecraft structures and 15 as structures that get placed as biome features to allow for more natural placement in generation. Structures placed as biome features will not be able to be located with the `/locate structure` command.
- Vanilla village house template pools have been adjusted to account for the new abandoned village structure habitat. Weights have changed within the JSON file for every piece to ensure too many habitats don't generate in a single village.
- Added 10 new ruin structures.
- rooted_arch_ruins & crumbling_arch_ruins have been transferred over to biome features, allowing for better placement in generation.
- All ruin structures that did not generate with a gimmighoul/gilded chest before will now generate with one.
- All ruin structures gilded chest loot tables have been updated to include a guaranteed TM not learned naturally by any Pokémon through their level-up moveset. Each ruin gets its own specific TM, so you can now go hunting ruins to complete your move dex!
- All fossil structures have been transferred over to biome features, allowing for better placement in generation.
- The prehistoric_underwater_fissure & prehistoric_submerged_impact fossil structures now use the biome tag `#cobblemon:is_temperate_ocean`.
- A new Biome tag called `#cobblemon:is_stony_beach` has been added.
- Gimmighoul towers now generate at ground level rather than sinking one block into the ground.
- 1 New shipwreck cove structure called the "magma_shipwreck_cove" has been added.
- Shipwreck coves now generate slightly more frequently.
- Added equipment loot tables for shipwreck cove enemies.
- Maps from abandoned fishing boats leading to shipwreck coves now will skip explored chunks, allowing the player to find more shipwreck coves easier.
- The lush shipwreck cove's phantom mob spawner has been replaced with breezes.
- The lush shipwreck cove structure itself has been slightly cleaned up to be less noisy with the blocks it is built out of.
- All shipwreck coves' spawners have been adjusted to give compatible mobs enchanted iron or diamond armour and weapons while in its ominous state. The armour given to the mobs will also use the automaton trim. We upped the difficulty because it was too easy now that your Pokémon can fight for you.
- One TM of the elemental hyper beams has been added as guaranteed loot to the main treasure chest in every shipwreck cove. (Magma cove gets blast burn, lush cove gets frenzy plant, and submerged cove gets hydro cannon)
- Added 7 new advancements
### New rideable Pokémon
- Drampa
- Archeops
### Pokémon Added
- Pancham (+ Cosmetic with Black Glasses)
- Pangoro (+ Cosmetic with Black Glasses)
- Skitty
- Delcatty
- Wurmple
- Silcoon
- Beautifly
- Cascoon
- Dustox
- Audino
- Rockruff
- Lycanroc
- Snom
- Frosmoth
- Applin
- Flapple
- Appletun
- Dipplin
- Hydrapple
- Sandshrew (Alolan)
- Sandslash (Alolan)
- Seviper
- Zangoose
- Stunky
- Skuntank
- Pawniard
- Bisharp
- Kingambit
### Model updates for the following Pokémon
- Goomy
- Sliggoo
- Goodra
- Porygon
- Porygon2
- Porygon-Z
- Zubat
- Golbat
- Crobat
- Pidgey
- Pidgeotto
- Pidgeot
- Sandslash
- Nidoking
- Sableye
- Mawile
- Nacli
- Naclestack
- Garganacl
- Skarmory
### Animation updates for the following Pokémon
- Trapinch
- Vibrava
- Drampa
- Archeops
- Skarmory
- Riolu
- Lucario
- Shellos
- Skitty
- Joltik
- Purrloin
- Liepard
- Flygon
#### Added sounds to the following moves
- Absorb
- Aurora Beam
- Double Team
- Fire Punch
- Fire Spin
- Flame Charge
- Flame Wheel
- Giga Drain
- Ice Punch
- Leech Life
- Magical Leaf
- Mega Drain
- Minimize
- Poison Gas
- Rock Throw
- Scary Face
- Seed bomb
- Smokescreen
- String Shot
- Tail Whip
- Added the `healersSetSpawn` gamerule. When enabled, using a healing machine will set your spawnpoint.
- 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
- Added stepsounds to Venusaur, Blastoise, Dewgong, Rhydon, Rhyhorn, Parasect and Mr. Mime.
### Changes
- Amethyst now grows from Typegem core blocks like typegems do
- Updated the recipe category for the Create compatibility EXP Candy recipe
- Added No Man's Lands' Honeyed Apple to the Leaves Leftovers tag
- Updated Unown's punctuation form names from `!` and `?` to `Exclamation` and `Question`, changing their visible form labels in tooltips and mod integrations.
- Pokémon that received footstep sounds this update no longer make the usual Minecraft footstep sounds. Footstep sounds have also been removed for Crobat. (Note, game event detection like with Sculk Sensors still functions as normal.)
- Pokémon that received footstep sounds this update no longer make the usual Minecraft footstep sounds. (Note, game event detection like with Sculk Sensors still functions as normal.)
- Footstep sounds have also been removed for Gastly, Magnemite, Magneton, Magnezone, Crobat, Hydreigon, Volcarona, Dhelmise and Dragapult.
- Skiddo no longer unintentionally plays its cry sound during its status animation.
### Fixes
- Fixed Ponigiri food values for AppleSkin integration
- Fixed errors emitted by typos in Parched Peat bog structure files
- Fixed Unown punctuation forms (? and !) resolving to duplicate Showdown IDs and colliding in form displays.
- Removed unimplemented Sweet Heart recipe
- Fixed a 1.5-second visual delay in damage and fainting animations when combining Pledge moves in double battles.
- Fixed flying mounts taking off after a single jump press on NeoForge instead of a double press
- Avoid updating helditem representations if nothing has actually changed
### Developer
- Fixed JsonArray to MoValue conversion not working properly.
- Removed Architectury from the build. `common` now compiles against vanilla Minecraft through NeoForge ModDevGradle, `fabric` uses Fabric Loom and `neoforge` uses ModDevGradle.
- The `com.cobblemon:mod` (common) Maven artifact is now published in Mojang mappings instead of intermediary, and no longer contains `architectury.common.json`. The Fabric and NeoForge artifacts are unchanged.
- The NeoForge access transformer is now generated from `cobblemon-common.accesswidener` at build time, so the access widener remains the single source for both loaders.
- Updated the build to Gradle 9.9.3 and Fabric Loom 1.17.
- Replaced the Shadow plugin with `com.gradleup.shadow` 9.6.1 and the license header plugin with `net.neoforged.licenser` 0.7.5 for Gradle 9 compatibility.
- Parchment versions now live in `gradle/libs.versions.toml`.
### 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 poser. This doesn't affect emitting game events.
- Fixed the Molang coalescing operator not working the way you'd expect a coalesce operator to.
- Added `v.spawnable_position` to the weight spawn rule component's "weight" expression
- Pokémon can now have their Minecraft footstep sounds silenced in their species file. This doesn't affect emitting game events.
### Particles
+2 -2
View File
@@ -4,9 +4,9 @@ An open-source Pokémon mod for Minecraft Java Edition, written in Kotlin for Fa
## Getting started
To set up the development workspace, first clone the project and open the build.gradle.kts with Intellij. The project is a plain multi-loader Gradle build: `common` (vanilla Minecraft via NeoForge ModDevGradle), `fabric` (Fabric Loom) and `neoforge` (ModDevGradle).
To set up the development workspace, first clone the project and open the build.gradle with Intellij. Make sure that you clone it to a folder that has no spaces in its path (for example, C:/Development/Cobblemon Stuff/cobblemon/ is bad) since Architectury Plugin seems to dislike it.
After it takes ages to load, you should hopefully have runnable configurations of the project in the top right, such as Minecraft Client (:fabric). You can also run `./gradlew :fabric:runClient` or `./gradlew :neoforge:runClient`.
After it takes ages to load, you should hopefully have runnable configurations of the project in the top right, such as Minecraft Client (:fabric). If not, try running `./gradlew genEclipseRuns`.
Troubleshooting:
- Try running `./gradlew --refresh-dependencies`
+74 -90
View File
@@ -1,4 +1,8 @@
import utilities.*
import utilities.isSnapshot
import utilities.version
import utilities.gitBranch
import utilities.gitCommit
/*
*
@@ -11,123 +15,103 @@ import utilities.*
*/
plugins {
id("cobblemon.base-conventions")
id("cobblemon.publish-conventions")
id("net.neoforged.moddev")
id("cobblemon.base-conventions")
id("cobblemon.publish-conventions")
id("net.kyori.blossom")
id("org.jetbrains.gradle.plugin.idea-ext")
id("net.kyori.blossom")
id("org.jetbrains.gradle.plugin.idea-ext")
}
val generateAccessTransformer by tasks.registering(AccessWidenerToTransformer::class) {
description = "AW to AT"
accessWidener = file(ACCESS_WIDENER)
accessTransformer = layout.buildDirectory.file("generated/accesstransformer/accesstransformer.cfg")
}
neoForge {
enable {
neoFormVersion = libs.versions.neoform.get()
isDisableRecompilation = true
}
parchment {
minecraftVersion = libs.versions.parchment.minecraft.get()
mappingsVersion = libs.versions.parchment.mappings.get()
}
accessTransformers.from(generateAccessTransformer.flatMap { it.accessTransformer })
interfaceInjectionData.from(file("interfaces.json"))
addModdingDependenciesTo(sourceSets.test.get())
architectury {
common("neoforge", "fabric")
}
repositories {
maven(url = "${rootProject.projectDir}/deps")
maven(url = "https://api.modrinth.com/maven")
maven(url = "https://maven.neoforged.net/releases")
maven(url = "https://maven.gegy.dev")
maven(url = "https://maven.fabricmc.net/")
mavenLocal()
maven(url = "${rootProject.projectDir}/deps")
maven(url = "https://api.modrinth.com/maven")
maven(url = "https://maven.neoforged.net/releases")
maven(url = "https://maven.gegy.dev")
mavenLocal()
}
dependencies {
implementation(libs.bundles.kotlin)
compileOnly(libs.fabric.loader)
compileOnly(libs.bundles.common.compileOnly)
api(libs.molang)
implementation(libs.bundles.kotlin)
modImplementation(libs.fabric.loader)
modApi(libs.molang)
// Integrations
compileOnlyApi(libs.jei.api)
compileOnly(libs.bundles.common.integrations.compileOnly) {
isTransitive = false
}
// LambDynamicLights is handled differently because we need the Mojang-mappings version of it.
compileOnly(libs.lambDynamicLights) {
capabilities {
requireCapability("dev.lambdaurora.lambdynamiclights:api-mojmap")
}
}
// Flywheel has no common dep so just pick one and don't use any platform specific code in common
// modCompileOnly(libs.flywheelFabric)
// Integrations
compileOnlyApi(libs.jei.api)
modCompileOnly(libs.bundles.common.integrations.compileOnly) {
isTransitive = false
}
// LambDynamicLights is handled differently because we need the Mojang-mappings version of it.
modCompileOnly(libs.lambDynamicLights) {
capabilities {
requireCapability("dev.lambdaurora.lambdynamiclights:api-mojmap")
}
}
// Flywheel has no common dep so just pick one and don't use any platform specific code in common
// modCompileOnly(libs.flywheelFabric)
// Showdown
compileOnly(libs.graal.core)
// Showdown
modCompileOnly(libs.graal.core)
// Data Storage
compileOnly(libs.bundles.mongo)
// Data Storage
modCompileOnly(libs.bundles.mongo)
// Unit Testing
testImplementation(libs.bundles.unitTesting)
testRuntimeOnly(libs.junit.platform.launcher)
// Unit Testing
testImplementation(libs.bundles.unitTesting)
}
tasks.withType<Test> {
useJUnitPlatform()
testLogging {
setEvents(listOf("failed"))
setExceptionFormat("full")
}
useJUnitPlatform()
testLogging {
setEvents(listOf("failed"))
setExceptionFormat("full")
}
}
// Git info lives in its own output dir (not processResources) so a new commit only rewrites this one file.
val writeGitInfo by tasks.registering(WriteProperties::class) {
description = ""
destinationFile = layout.buildDirectory.file("generated/gitInfo/cobblemon-git.properties")
property("commit", gitCommit())
property("branch", gitBranch())
destinationFile = layout.buildDirectory.file("generated/gitInfo/cobblemon-git.properties")
property("commit", gitCommit())
property("branch", gitBranch())
}
sourceSets.main { output.dir(mapOf("builtBy" to writeGitInfo), layout.buildDirectory.dir("generated/gitInfo")) }
tasks.processResources {
exclude("data/**/README.md")
exclude("data/**/README.md")
}
sourceSets {
main {
blossom {
kotlinSources {
fun generateLicenseHeader(): String {
val builder = StringBuilder()
builder.append("/*\n")
rootProject.file("HEADER").forEachLine {
if (it.isEmpty()) {
builder.append(" *").append("\n")
} else {
builder.append(" * ").append(it).append("\n")
}
}
main {
blossom {
kotlinSources {
fun generateLicenseHeader() : String {
val builder = StringBuilder()
builder.append("/*\n")
rootProject.file("HEADER").forEachLine {
if(it.isEmpty()) {
builder.append(" *").append("\n")
} else {
builder.append(" * ").append(it).append("\n")
}
}
return builder.append(" */").append("\n").toString()
}
return builder.append(" */").append("\n").toString()
}
property("license", generateLicenseHeader())
property("modid", "cobblemon")
property("version", project.version())
property("isSnapshot", if (rootProject.isSnapshot()) "true" else "false")
System.getProperty("buildNumber")?.let { property("buildNumber", it) }
}
}
}
property("license", generateLicenseHeader())
property("modid", "cobblemon")
property("version", project.version())
property("isSnapshot", if(rootProject.isSnapshot()) "true" else "false")
System.getProperty("buildNumber")?.let { property("buildNumber", it) }
}
}
}
}
publishing.publications.named<MavenPublication>(project.name) {
artifact(tasks.jar)
artifact(tasks.named("sourcesJar"))
// The platform jars are built from :common:jar, so the remapped common jars are only needed by `publish`
tasks.assemble {
setDependsOn(dependsOn.filterNot { (it as? TaskProvider<*>)?.name in setOf("remapJar", "remapSourcesJar") })
}
-3
View File
@@ -1,3 +0,0 @@
{
"net/minecraft/client/model/geom/ModelPart": ["com/cobblemon/mod/common/client/render/models/blockbench/pose/Bone"]
}
@@ -205,8 +205,7 @@ public abstract class LocalPlayerMixin extends AbstractClientPlayer implements O
this.cobblemon$isJumping = this.input.jumping;
}
// NeoForge adds a second isSprinting() call to aiStep, ordinal 0 keeps this to one run per tick
@Inject(method = "aiStep", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/player/LocalPlayer;isSprinting()Z", ordinal = 0, shift = At.Shift.BEFORE))
@Inject(method = "aiStep", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/player/LocalPlayer;isSprinting()Z", shift = At.Shift.BEFORE))
private void cobblemon$updateDoubleJumping(CallbackInfo ci) {
if (!this.cobblemon$isJumping && this.input.jumping && this.autoJumpTime <= 0 && !this.isSwimming()) {
if (this.cobblemon$survivalJumpTriggerTime != 0) {
@@ -646,9 +646,9 @@ object CobblemonBlocks : PlatformRegistry<Registry<Block>, ResourceKey<Registry<
@JvmField
val GALARICA_CUFF = create("galarica_cuff", DecorativeItemBlock(BlockBehaviour.Properties.of().sound(SoundType.AZALEA_LEAVES).mapColor(MapColor.NONE).noCollission().noOcclusion(), DecorativeItemBlock.DecorativeItemBlockType.FLATTENED_10x4))
@JvmField
val UNREMARKABLE_TEACUP = create("unremarkable_teacup", DecorativeItemBlock(BlockBehaviour.Properties.of().sound(CobblemonSounds.ITEM_BLOCK_TEACUP_SOUNDS).mapColor(MapColor.NONE).noOcclusion(), DecorativeItemBlock.DecorativeItemBlockType.TEACUP))
val UNREMARKABLE_TEACUP = create("unremarkable_teacup", DecorativeItemBlock(BlockBehaviour.Properties.of().sound(SoundType.DECORATED_POT).mapColor(MapColor.NONE).noOcclusion(), DecorativeItemBlock.DecorativeItemBlockType.TEACUP))
@JvmField
val MASTERPIECE_TEACUP = create("masterpiece_teacup", DecorativeItemBlock(BlockBehaviour.Properties.of().sound(CobblemonSounds.ITEM_BLOCK_TEACUP_SOUNDS).mapColor(MapColor.NONE).noOcclusion(), DecorativeItemBlock.DecorativeItemBlockType.TEACUP))
val MASTERPIECE_TEACUP = create("masterpiece_teacup", DecorativeItemBlock(BlockBehaviour.Properties.of().sound(SoundType.DECORATED_POT).mapColor(MapColor.NONE).noOcclusion(), DecorativeItemBlock.DecorativeItemBlockType.TEACUP))
@JvmField
val CHIPPED_POT = create("chipped_pot", DecorativeItemBlock(BlockBehaviour.Properties.of().sound(SoundType.DECORATED_POT).mapColor(MapColor.NONE).noOcclusion(), DecorativeItemBlock.DecorativeItemBlockType.TEAPOT))
@JvmField
@@ -750,20 +750,5 @@ object CobblemonSounds : PlatformRegistry<Registry<SoundEvent>, ResourceKey<Regi
ITEM_BLOCK_JAR_GLASS_LIQUID_STEP
)
@JvmField
val ITEM_BLOCK_TEACUP_PLACE = this.create("block.item_block.teacup.place")
@JvmField
val ITEM_BLOCK_TEACUP_BREAK = this.create("block.item_block.teacup.break")
@JvmField
val ITEM_BLOCK_TEACUP_STEP = this.create("block.item_block.teacup.step")
@JvmField
val ITEM_BLOCK_TEACUP_SOUNDS = SoundType(1f, 1.1f,
ITEM_BLOCK_TEACUP_BREAK,
ITEM_BLOCK_TEACUP_STEP,
ITEM_BLOCK_TEACUP_PLACE,
ITEM_BLOCK_TEACUP_STEP,
ITEM_BLOCK_TEACUP_STEP
)
private fun create(name: String): SoundEvent = this.create(name, SoundEvent.createVariableRangeEvent(cobblemonResource(name)))
}
@@ -41,7 +41,6 @@ class WeightTweakRuleComponent : SpawnRuleComponent {
return if (spawnDetailSelector.selects(detail) && spawnablePositionSelector.selects(spawnablePosition)) {
runtime.environment.setSimpleVariable("spawn", detail.struct)
runtime.environment.setSimpleVariable("spawn_detail", detail.struct)
runtime.environment.setSimpleVariable("spawnable_position", spawnablePosition.getOrSetupStruct())
runtime.environment.setSimpleVariable("weight", DoubleValue(weight.toDouble()))
runtime.resolveFloat(this.weight)
} else {
@@ -23,7 +23,7 @@ import com.cobblemon.mod.common.util.battleLang
*/
class CombineInstruction(val message: BattleMessage) : InterpreterInstruction {
override fun invoke(battle: PokemonBattle) {
battle.dispatchGo() {
battle.dispatchWaiting(1.5F) {
battle.broadcastChatMessage(battleLang("combine").yellow())
}
}
@@ -169,6 +169,7 @@ class TypeGemCoreBlock(properties: Properties) : Block(properties) {
if (fullClusterCount == 0) {
if (gemCount < Cobblemon.config.typeGemMinGrowth && clusters.isNotEmpty()) {
println("Force set a cluster to FULL at size $gemCount")
val randomCluster = clusters.random()
level.setBlockAndUpdate(randomCluster.second, randomCluster.first.setValue(GROWTH_TYPE, GrowthType.FULL))
}
@@ -15,13 +15,19 @@ import com.cobblemon.mod.common.api.berry.GrowthPoint
import com.cobblemon.mod.common.api.events.CobblemonEvents
import com.cobblemon.mod.common.api.events.berry.BerryHarvestEvent
import com.cobblemon.mod.common.api.mulch.MulchVariant
import com.cobblemon.mod.common.api.text.text
import com.cobblemon.mod.common.block.BerryBlock
import com.cobblemon.mod.common.pokedex.scanner.BlockScanData
import com.cobblemon.mod.common.pokedex.scanner.Frame
import com.cobblemon.mod.common.pokedex.scanner.ScannableBlockEntity
import com.cobblemon.mod.common.util.lang
import net.minecraft.ResourceLocationException
import net.minecraft.core.BlockPos
import net.minecraft.core.HolderLookup
import net.minecraft.nbt.CompoundTag
import net.minecraft.nbt.ListTag
import net.minecraft.nbt.StringTag
import net.minecraft.network.chat.Component
import net.minecraft.network.protocol.Packet
import net.minecraft.network.protocol.game.ClientGamePacketListener
import net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket
@@ -35,11 +41,10 @@ import net.minecraft.world.level.Level
import net.minecraft.world.level.block.Block
import net.minecraft.world.level.block.CropBlock.UPDATE_CLIENTS
import net.minecraft.world.level.block.entity.BlockEntity
import net.minecraft.world.level.block.entity.BlockEntityTicker
import net.minecraft.world.level.block.state.BlockState
import net.minecraft.world.level.gameevent.GameEvent
class BerryBlockEntity(pos: BlockPos, state: BlockState) : BlockEntity(CobblemonBlockEntities.BERRY, pos, state) {
class BerryBlockEntity(pos: BlockPos, state: BlockState) : BlockEntity(CobblemonBlockEntities.BERRY, pos, state), ScannableBlockEntity {
lateinit var berryIdentifier: ResourceLocation
private val ticksPerMinute = 1200
var renderState: RenderState? = null
@@ -375,6 +380,22 @@ class BerryBlockEntity(pos: BlockPos, state: BlockState) : BlockEntity(Cobblemon
return stageTimer <= 0
}
override fun resolveBlockScan(): BlockScanData {
val berryName = berry()?.item()?.let { ItemStack(it).hoverName.copy() }
?: berryIdentifier.toString().text()
val frames = mutableSetOf<Frame>(
Frame(1, lang("ui.pokedex.scan.berry.stage", blockState.getValue(BerryBlock.AGE))),
Frame(2, berryName)
)
if (mulchVariant != MulchVariant.NONE) {
frames.add(Frame(3, Component.translatable("item.cobblemon.${mulchVariant.serializedName}_mulch")))
}
return BlockScanData(frames)
}
//Using a similar approach to ComputerCraft, implement this client side
interface RenderState : AutoCloseable {
var needsRebuild: Boolean
@@ -19,11 +19,16 @@ import com.cobblemon.mod.common.client.gui.pokedex.PokedexGUIConstants.BASE_HEIG
import com.cobblemon.mod.common.client.gui.pokedex.PokedexGUIConstants.BASE_WIDTH
import com.cobblemon.mod.common.client.render.drawScaledText
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity
import com.cobblemon.mod.common.pokedex.scanner.BlockScanData
import com.cobblemon.mod.common.pokedex.scanner.PokedexUsageContext
import com.cobblemon.mod.common.pokedex.scanner.ScannableBlockEntity
import com.cobblemon.mod.common.pokemon.Gender
import com.cobblemon.mod.common.pokemon.PokemonSizeCategory
import com.cobblemon.mod.common.util.cobblemonResource
import com.cobblemon.mod.common.util.lang
import net.minecraft.core.registries.BuiltInRegistries
import net.minecraft.network.chat.Component
import net.minecraft.world.level.block.entity.BlockEntity
import com.mojang.blaze3d.systems.RenderSystem
import com.mojang.blaze3d.vertex.PoseStack
import net.minecraft.client.DeltaTracker
@@ -82,13 +87,45 @@ class PokedexScannerRenderer {
fun infoFrameResource(isLeft: Boolean, tier: Int): ResourceLocation = cobblemonResource("textures/gui/pokedex/scan/scan_info_frame_${if (isLeft) "left" else "right"}_$tier.png")
}
private var lastFocusedBlockTypeId: ResourceLocation? = null
private fun getBlockEntityInfo(entity: BlockEntity): BlockScanData? {
val scannable = entity as? ScannableBlockEntity ?: return null
return scannable.resolveBlockScan()
}
fun renderInfoFrames(graphics: GuiGraphics, poseStack: PoseStack, usageContext: PokedexUsageContext, centerX: Int, centerY: Int, opacity: Float) {
if (usageContext.focusIntervals > 0) {
var infoDisplayedCounter = 0
usageContext.availableInfoFrames.forEachIndexed {index, isLeftSide ->
if (isLeftSide !== null) {
if (infoDisplayedCounter > 2 && !usageContext.isPokemonInFocusOwned) return@forEachIndexed
val isPokemonFocus = usageContext.scannableEntityInFocus != null
if (isPokemonFocus && infoDisplayedCounter > 1 && !usageContext.isPokemonInFocusOwned) return@forEachIndexed
infoDisplayedCounter++
val blockEntityInFocus: BlockEntity? = usageContext.blockEntityInFocus
val pokedexEntityData = usageContext.scannableEntityInFocus?.resolvePokemonScan()
// store the block entity typeId so our close animation knows what to show
if (pokedexEntityData != null) {
lastFocusedBlockTypeId = null
} else if (blockEntityInFocus != null) {
lastFocusedBlockTypeId = BuiltInRegistries.BLOCK_ENTITY_TYPE.getKey(blockEntityInFocus.type)
} else if (usageContext.focusIntervals <= 0f) {
lastFocusedBlockTypeId = null
}
val scanInfo = blockEntityInFocus?.let { getBlockEntityInfo(it) }
// if a block entity is being focused on make sure we only show the frames needed
if (pokedexEntityData == null && scanInfo != null) {
val hasFrameForSlot = scanInfo.frames.any { it.slot == infoDisplayedCounter }
if (!hasFrameForSlot) {
return@forEachIndexed
}
}
// Frames
val isInnerFrame = index == 1 || index == 2
val frameHeight = if (isInnerFrame) INNER_INFO_FRAME_HEIGHT else OUTER_INFO_FRAME_HEIGHT
@@ -110,77 +147,79 @@ class PokedexScannerRenderer {
val yOffsetText = when(index) { 0 -> 5; 1 -> 4; 2 -> 8; 3 -> 42; else -> 0 }
// Text
if (usageContext.focusIntervals == PokedexUsageContext.FOCUS_INTERVALS && usageContext.scannableEntityInFocus != null) {
val pokedexEntityData = usageContext.scannableEntityInFocus?.resolvePokemonScan() ?: return
if (infoDisplayedCounter == 1) {
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = lang("ui.lv.number", pokedexEntityData.pokemon.level).bold(),
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText,
shadow = true,
centered = true
)
}
if (infoDisplayedCounter == 2) {
val hasTrainer = (usageContext.scannableEntityInFocus?.resolveEntityScan() as? PokemonEntity)?.ownerUUID !== null
val speciesName = pokedexEntityData.getApparentSpecies().translatedName.bold()
var yOffsetName = if (hasTrainer) 2 else 0
if (hasTrainer) {
drawScaledText(
context = graphics,
text = lang("ui.pokedex.scan.trainer_owned"),
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText - yOffsetName,
shadow = true,
centered = true,
scale = 0.5F
)
}
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = speciesName,
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText + yOffsetName,
shadow = true,
centered = true
)
val gender = pokedexEntityData.pokemon.gender
val speciesNameWidth = Minecraft.getInstance().font.width(speciesName.font(CobblemonResources.DEFAULT_LARGE))
if (gender != Gender.GENDERLESS) {
val isMale = gender == Gender.MALE
val textSymbol = if (isMale) "♂".text().bold() else "♀".text().bold()
if (usageContext.focusIntervals == PokedexUsageContext.FOCUS_INTERVALS && (pokedexEntityData != null || blockEntityInFocus != null)) {
if (pokedexEntityData != null) {
if (infoDisplayedCounter == 1) {
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = textSymbol,
x = centerX + xOffset + xOffsetText + 2 + (speciesNameWidth / 2),
text = lang("ui.lv.number", pokedexEntityData.pokemon.level).bold(),
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText,
shadow = true,
centered = true
)
}
if (infoDisplayedCounter == 2) {
val hasTrainer =
(usageContext.scannableEntityInFocus?.resolveEntityScan() as? PokemonEntity)?.ownerUUID !== null
val speciesName = pokedexEntityData.getApparentSpecies().translatedName.bold()
var yOffsetName = if (hasTrainer) 2 else 0
if (hasTrainer) {
drawScaledText(
context = graphics,
text = lang("ui.pokedex.scan.trainer_owned"),
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText - yOffsetName,
shadow = true,
centered = true,
scale = 0.5F
)
}
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = speciesName,
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText + yOffsetName,
colour = if (isMale) 0x32CBFF else 0xFC5454,
shadow = true
shadow = true,
centered = true
)
val gender = pokedexEntityData.pokemon.gender
val speciesNameWidth =
Minecraft.getInstance().font.width(speciesName.font(CobblemonResources.DEFAULT_LARGE))
if (gender != Gender.GENDERLESS) {
val isMale = gender == Gender.MALE
val textSymbol = if (isMale) "♂".text().bold() else "♀".text().bold()
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = textSymbol,
x = centerX + xOffset + xOffsetText + 2 + (speciesNameWidth / 2),
y = centerY + yOffset + yOffsetText + yOffsetName,
colour = if (isMale) 0x32CBFF else 0xFC5454,
shadow = true
)
}
if (usageContext.isPokemonInFocusOwned) {
blitk(
matrixStack = poseStack,
texture = caughtIndicator,
x = (centerX + xOffset + xOffsetText - 7 - (speciesNameWidth / 2)) / SCALE,
y = (centerY + yOffset + yOffsetText + yOffsetName + 2) / SCALE,
height = 10,
width = 10,
scale = SCALE
)
}
}
if (usageContext.isPokemonInFocusOwned) {
blitk(
matrixStack = poseStack,
texture = caughtIndicator,
x = (centerX + xOffset + xOffsetText - 7 - (speciesNameWidth / 2)) / SCALE,
y = (centerY + yOffset + yOffsetText + yOffsetName + 2) / SCALE,
height = 10,
width = 10,
scale = SCALE
)
}
}
if (infoDisplayedCounter == 3) {
val pokemon = pokedexEntityData.pokemon
if (infoDisplayedCounter == 3) {
val pokemon = pokedexEntityData.pokemon
val entityAlpha = (usageContext.scannableEntityInFocus?.resolveEntityScan() as? PokemonEntity)
?.entityData
?.get(PokemonEntity.IS_ALPHA)
@@ -203,35 +242,66 @@ class PokedexScannerRenderer {
}
if (infoDisplayedCounter == 4) {
val typeText = lang("type.suffix", pokedexEntityData.getApparentForm().types.map { it.displayName.copy() }.reduce { acc, next -> acc.plus("/").plus(next) }).bold()
val typeWidth = Minecraft.getInstance().font.width(typeText.font(CobblemonResources.DEFAULT_LARGE))
// Split into 2 lines if text width is too long
if (typeWidth > (OUTER_INFO_FRAME_WIDTH - 8) && pokedexEntityData.getApparentForm().secondaryType !== null) {
val splitLines = typeText.string.split("/")
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = text(splitLines[0], "/").bold(),
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText - 4,
shadow = true,
centered = true
)
val typeText = lang(
"type.suffix",
pokedexEntityData.getApparentForm().types.map { it.displayName.copy() }
.reduce { acc, next -> acc.plus("/").plus(next) }).bold()
val typeWidth =
Minecraft.getInstance().font.width(typeText.font(CobblemonResources.DEFAULT_LARGE))
// Split into 2 lines if text width is too long
if (typeWidth > (OUTER_INFO_FRAME_WIDTH - 8) && pokedexEntityData.getApparentForm().secondaryType !== null) {
val splitLines = typeText.string.split("/")
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = text(splitLines[0], "/").bold(),
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText - 4,
shadow = true,
centered = true
)
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = text(splitLines[1]).bold(),
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText + 3,
shadow = true,
centered = true
)
} else {
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = typeText,
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText,
shadow = true,
centered = true
)
}
}
} else if (blockEntityInFocus != null && scanInfo != null) {
val frame = scanInfo.frames.firstOrNull { it.slot == infoDisplayedCounter } ?: return@forEachIndexed
val scale = frame.scale
if (scale != null) {
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = text(splitLines[1]).bold(),
text = frame.text.bold(),
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText + 3,
y = centerY + yOffset + yOffsetText,
shadow = true,
centered = true
centered = true,
scale = scale
)
} else {
drawScaledText(
context = graphics,
font = CobblemonResources.DEFAULT_LARGE,
text = typeText,
text = frame.text.bold(),
x = centerX + xOffset + xOffsetText,
y = centerY + yOffset + yOffsetText,
shadow = true,
@@ -462,4 +532,13 @@ class PokedexScannerRenderer {
renderScanOverlay(graphics, tickDelta)
}
}
private fun anyToComponent(value: Any?): MutableComponent {
return when (value) {
null -> text("")
is MutableComponent -> value
is Component -> value.copy()
else -> text(value.toString())
}
}
}
@@ -0,0 +1,70 @@
/*
* Copyright (C) 2023 Cobblemon Contributors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
package com.cobblemon.mod.common.client.render.models.blockbench.pokemon.gen3
import com.cobblemon.mod.common.client.render.models.blockbench.animation.QuadrupedWalkAnimation
import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame
import com.cobblemon.mod.common.client.render.models.blockbench.frame.QuadrupedFrame
import com.cobblemon.mod.common.client.render.models.blockbench.pokemon.CryProvider
import com.cobblemon.mod.common.client.render.models.blockbench.pokemon.PokemonPosableModel
import com.cobblemon.mod.common.client.render.models.blockbench.pose.CobblemonPose
import com.cobblemon.mod.common.entity.PoseType
import net.minecraft.client.model.geom.ModelPart
import net.minecraft.world.phys.Vec3
class TrapinchModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame, QuadrupedFrame {
override val rootPart = root.registerChildWithAllChildren("trapinch")
override val head = getPart("head")
override val foreLeftLeg = getPart("leg_front_left")
override val foreRightLeg = getPart("leg_front_right")
override val hindLeftLeg = getPart("leg_back_left")
override val hindRightLeg = getPart("leg_back_right")
override var portraitScale = 1.44F
override var portraitTranslation = Vec3(-0.4, -0.6, 0.0)
override var profileScale = 0.9F
override var profileTranslation = Vec3(0.12, 0.33, 0.0)
lateinit var standing: CobblemonPose
lateinit var walk: CobblemonPose
override val cryAnimation = CryProvider { bedrockStateful("trapinch", "cry") }
override fun registerPoses() {
val blink = quirk { bedrockStateful("trapinch", "blink") }
standing = registerPose(
poseName = "standing",
poseTypes = PoseType.UI_POSES + PoseType.STATIONARY_POSES,
quirks = arrayOf(blink),
animations = arrayOf(
singleBoneLook(),
bedrock("trapinch", "ground_idle")
)
)
walk = registerPose(
poseName = "walk",
poseTypes = PoseType.MOVING_POSES,
quirks = arrayOf(blink),
animations = arrayOf(
QuadrupedWalkAnimation(this, periodMultiplier = 1.1F),
singleBoneLook(),
bedrock("trapinch", "ground_idle")
)
)
}
// override fun getFaintAnimation(
// pokemonEntity: PokemonEntity,
// state: PosableState<PokemonEntity>
// ) = if (state.isPosedIn(standing, walk)) bedrockStateful("trapinch", "faint") else null
}
@@ -0,0 +1,104 @@
/*
* Copyright (C) 2023 Cobblemon Contributors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
package com.cobblemon.mod.common.client.render.models.blockbench.pokemon.gen3
import com.cobblemon.mod.common.client.render.models.blockbench.pokemon.PokemonPosableModel
import com.cobblemon.mod.common.client.render.models.blockbench.createTransformation
import com.cobblemon.mod.common.client.render.models.blockbench.frame.BiWingedFrame
import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame
import com.cobblemon.mod.common.client.render.models.blockbench.frame.QuadrupedFrame
import com.cobblemon.mod.common.client.render.models.blockbench.pokemon.CryProvider
import com.cobblemon.mod.common.client.render.models.blockbench.pose.CobblemonPose
import com.cobblemon.mod.common.client.render.models.blockbench.pose.ModelPartTransformation
import com.cobblemon.mod.common.client.render.models.blockbench.wavefunction.triangleFunction
import com.cobblemon.mod.common.entity.PoseType
import net.minecraft.client.model.geom.ModelPart
import net.minecraft.world.phys.Vec3
class VibravaModel (root: ModelPart) : PokemonPosableModel(root), QuadrupedFrame, HeadedFrame {
override val rootPart = root.registerChildWithAllChildren("vibrava")
override val head = getPart("head")
override val foreLeftLeg= getPart("leg_front_left")
override val foreRightLeg = getPart("leg_front_right")
override val hindLeftLeg = getPart("leg_back_left")
override val hindRightLeg = getPart("leg_back_right")
override var portraitScale = 1.36F
override var portraitTranslation = Vec3(-0.37, -0.55, 0.0)
override var profileScale = 0.54F
override var profileTranslation = Vec3(-0.01, 0.71, 0.0)
lateinit var standing: CobblemonPose
lateinit var walk: CobblemonPose
override val cryAnimation = CryProvider { bedrockStateful("vibrava", "cry") }
val wing_front_left = getPart("wing_front_left")
val wing_front_right = getPart("wing_front_right")
override fun registerPoses() {
val blink = quirk { bedrockStateful("vibrava", "blink") }
val wingFrame1 = object : BiWingedFrame {
override val rootPart = this@VibravaModel.rootPart
override val leftWing = getPart("wing_front_left")
override val rightWing = getPart("wing_front_right")
}
val wingFrame2 = object : BiWingedFrame {
override val rootPart = this@VibravaModel.rootPart
override val leftWing = getPart("wing_back_left")
override val rightWing = getPart("wing_back_right")
}
standing = registerPose(
poseName = "standing",
poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES - PoseType.HOVER,
transformTicks = 30,
quirks = arrayOf(blink),
animations = arrayOf(
singleBoneLook(pitchMultiplier = 0.6F, yawMultiplier = 0.3F),
bedrock("vibrava", "ground_idle")
),
transformedParts = arrayOf(
wing_front_left.createTransformation().addRotationDegrees(ModelPartTransformation.Y_AXIS, -75),
wing_front_right.createTransformation().addRotationDegrees(ModelPartTransformation.Y_AXIS, 75)
)
)
walk = registerPose(
poseName = "walk",
poseTypes = PoseType.MOVING_POSES + PoseType.HOVER,
transformTicks = 10,
quirks = arrayOf(blink),
animations = arrayOf(
singleBoneLook(pitchMultiplier = 0.6F, yawMultiplier = 0.3F),
bedrock("vibrava", "ground_idle"),
wingFrame1.wingFlap(
flapFunction = triangleFunction(period = 0.08F, amplitude = 0.6F),
timeVariable = { state, _, _ -> state.animationSeconds },
axis = ModelPartTransformation.Z_AXIS
),
wingFrame2.wingFlap(
flapFunction = triangleFunction(period = 0.1F, amplitude = 0.4F),
timeVariable = { state, _, _ -> 0.01F + state.animationSeconds },
axis = ModelPartTransformation.Z_AXIS
)
),
transformedParts = arrayOf(
rootPart.createTransformation().addPosition(ModelPartTransformation.Y_AXIS, -4),
wing_front_left.createTransformation().addRotationDegrees(ModelPartTransformation.Z_AXIS, -30),
wing_front_right.createTransformation().addRotationDegrees(ModelPartTransformation.Z_AXIS, 30)
)
)
}
}
@@ -507,6 +507,8 @@ object VaryingModelRepository {
inbuilt("jangmo-o", ::JangmoOModel)
inbuilt("hakamo-o", ::HakamoOModel)
inbuilt("kommo-o", ::KommoOModel)
inbuilt("trapinch", ::TrapinchModel)
inbuilt("vibrava", ::VibravaModel)
inbuilt("larvitar", ::LarvitarModel)
inbuilt("pupitar", ::PupitarModel)
inbuilt("impidimp", ::ImpidimpModel)
@@ -386,20 +386,18 @@ class PokemonServerDelegate : PokemonSideDelegate {
}
fun updateShownItem() {
val itemToShow = when {
val trackedShownItem = when {
// Show Hand Item if Held item is hidden
!entity.pokemon.heldItemVisible -> entity.mainHandItem
// Show Held Item unless it is empty
else -> (entity as PokemonEntity?)?.pokemon?.heldItemNoCopy()?.takeUnless { it.isEmpty }
// Show Hand Item if Held item is empty
?: entity.mainHandItem
}
}.copy()
/* Hide items tagged as hidden (If the item is in this list, it will not render) */
.let { if (it.`is`(CobblemonItemTags.HIDDEN_ITEMS) || (entity.pokemon.isAlpha && entity.pokemon.isWild())) ItemStack.EMPTY else it}
if (!ItemStack.matches(itemToShow, entity.shownItem)) {
entity.shownItem = itemToShow.copy()
}
entity.entityData.set(PokemonEntity.SHOWN_HELD_ITEM, trackedShownItem)
}
fun updatePoseType() {
@@ -0,0 +1,13 @@
package com.cobblemon.mod.common.pokedex.scanner
import net.minecraft.network.chat.MutableComponent
data class BlockScanData(
val frames: MutableSet<Frame> = mutableSetOf()
)
data class Frame(
val slot: Int,
val text: MutableComponent,
val scale: Float? = null
)
@@ -11,6 +11,7 @@ package com.cobblemon.mod.common.pokedex.scanner
import com.cobblemon.mod.common.CobblemonSounds
import com.cobblemon.mod.common.api.pokedex.PokedexEntryProgress
import com.cobblemon.mod.common.api.pokedex.PokedexLearnedInformation
import com.cobblemon.mod.common.block.entity.BerryBlockEntity
import com.cobblemon.mod.common.client.CobblemonClient
import com.cobblemon.mod.common.client.gui.pokedex.PokedexGUI
import com.cobblemon.mod.common.client.pokedex.PokedexScannerRenderer
@@ -18,6 +19,8 @@ import com.cobblemon.mod.common.client.pokedex.PokedexType
import com.cobblemon.mod.common.net.messages.client.pokedex.ServerConfirmedRegisterPacket
import com.cobblemon.mod.common.net.messages.server.pokedex.scanner.FinishScanningPacket
import com.cobblemon.mod.common.net.messages.server.pokedex.scanner.StartScanningPacket
import net.minecraft.core.registries.BuiltInRegistries
import net.minecraft.world.level.block.entity.BlockEntity
import kotlin.math.max
import kotlin.math.min
import kotlin.random.Random
@@ -26,6 +29,7 @@ import net.minecraft.client.Minecraft
import net.minecraft.client.gui.GuiGraphics
import net.minecraft.client.player.LocalPlayer
import net.minecraft.client.resources.sounds.SimpleSoundInstance
import net.minecraft.core.BlockPos
import net.minecraft.resources.ResourceLocation
import net.minecraft.sounds.SoundEvent
import kotlin.math.exp
@@ -51,6 +55,8 @@ class PokedexUsageContext {
var infoGuiOpen: Boolean = false
var scanningGuiOpen: Boolean = false
var isPokemonInFocusOwned: Boolean = false
var blockEntityInFocus: BlockEntity? = null
var blockPosInFocus: BlockPos? = null
var registerCompleted: Boolean = false
var scannedSpecies: ResourceLocation? = null
var scannableEntityInFocus: ScannableEntity? = null
@@ -68,6 +74,8 @@ class PokedexUsageContext {
var availableInfoFrames: MutableList<Boolean?> = mutableListOf(null, null, null, null)
val renderer: PokedexScannerRenderer = PokedexScannerRenderer()
private fun hasAnyFocus() = (scannableEntityInFocus != null) || (blockEntityInFocus != null)
fun stopUsing(ticksInUse: Int, speciesId: ResourceLocation? = null) {
if (ticksInUse < OPEN_SCANNER_BUFFER_TICKS) {
openPokedexGUI(type, speciesId)
@@ -89,7 +97,9 @@ class PokedexUsageContext {
if (transitionIntervals == TRANSITION_INTERVALS) playSound(CobblemonSounds.POKEDEX_SCAN_CLOSE)
transitionIntervals = max(transitionIntervals - updateInterval, 0F)
if (transitionIntervals <= 0) {
if (viewInfoTicks >= VIEW_INFO_BUFFER_TICKS) openPokedexGUI(type, scannableEntityInFocus!!.resolvePokemonScan()?.getApparentSpecies()?.resourceIdentifier)
if (viewInfoTicks >= VIEW_INFO_BUFFER_TICKS && scannableEntityInFocus != null) {
openPokedexGUI(type, scannableEntityInFocus!!.resolvePokemonScan()?.getApparentSpecies()?.resourceIdentifier)
}
resetState()
}
}
@@ -102,7 +112,7 @@ class PokedexUsageContext {
if (scanningProgress >= MAX_SCAN_PROGRESS) targetId?.let { FinishScanningPacket(it, zoomLevel.toInt()).sendToServer() }
if (focusIntervals > 0) focusIntervals = max(0F, focusIntervals - updateInterval)
} else {
if (scannableEntityInFocus != null) {
if (hasAnyFocus()) {
if (focusIntervals < FOCUS_INTERVALS) focusIntervals = min(focusIntervals + updateInterval, FOCUS_INTERVALS)
} else {
if (focusIntervals > 0) focusIntervals = max(0F, focusIntervals - updateInterval)
@@ -137,8 +147,9 @@ class PokedexUsageContext {
playSound(CobblemonSounds.POKEDEX_OPEN)
}
// todo display info of scanned berry to the Berry Dex later
fun attackKeyHeld(isHeld: Boolean) {
if (isHeld && scannableEntityInFocus !== null && viewInfoTicks < VIEW_INFO_BUFFER_TICKS && scanningProgress == 0F) {
if (isHeld && hasAnyFocus() && viewInfoTicks < VIEW_INFO_BUFFER_TICKS && scanningProgress == 0F) {
viewInfoTicks++
if (viewInfoTicks % 2 == 0) playSound(CobblemonSounds.POKEDEX_SCAN_LOOP)
} else if (viewInfoTicks > 0 && viewInfoTicks < VIEW_INFO_BUFFER_TICKS) {
@@ -147,26 +158,30 @@ class PokedexUsageContext {
}
fun tryScanPokemon(user: LocalPlayer) {
// Pokémon/entity scan
val targetScannableEntity = PokemonScanner.findScannableEntity(user, zoomLevel.toInt())
if (targetScannableEntity != null) {
if (targetScannableEntity != scannableEntityInFocus) {
resetFocusedPokemonState()
scannableEntityInFocus = targetScannableEntity
val resolvedPokemon = scannableEntityInFocus?.resolvePokemonScan()
if(resolvedPokemon == null) {
if (resolvedPokemon == null) {
resetFocusedPokemonState()
return
}
// Check if Pokémon in focus is owned
isPokemonInFocusOwned = CobblemonClient.clientPokedexData.getHighestKnowledgeForSpecies(resolvedPokemon.getApparentSpecies().resourceIdentifier) == PokedexEntryProgress.OWNED
isPokemonInFocusOwned =
CobblemonClient.clientPokedexData.getHighestKnowledgeForSpecies(resolvedPokemon.getApparentSpecies().resourceIdentifier) == PokedexEntryProgress.OWNED
// Randomize info frames for render
if (focusIntervals == 0F) {
availableInfoFrames = mutableListOf(null, null, null, null)
for (i in 0..3) {
var randomIndex = Random.nextInt(availableInfoFrames.size)
if (availableInfoFrames[randomIndex] !== null) randomIndex = availableInfoFrames.indexOfFirst { it == null }
if (availableInfoFrames[randomIndex] != null) randomIndex = availableInfoFrames.indexOfFirst { it == null }
availableInfoFrames.set(randomIndex, Random.nextBoolean())
}
}
@@ -176,9 +191,31 @@ class PokedexUsageContext {
if (newPokemonInfo == PokedexLearnedInformation.NONE) playSound(CobblemonSounds.POKEDEX_SCAN_DETAIL)
else scannedSpecies = resolvedPokemon.getApparentSpecies().resourceIdentifier
}
} else {
resetFocusedPokemonState()
return
}
// BlockEntity scan
val blockHit = PokemonScanner.findScannableBlockEntity(user, zoomLevel.toInt())
if (blockHit != null) {
val (pos, be) = blockHit
if (be != blockEntityInFocus || pos != blockPosInFocus) {
resetFocusedPokemonState()
blockEntityInFocus = be
blockPosInFocus = pos
if (focusIntervals == 0F) {
availableInfoFrames = mutableListOf(null, null, null, null)
for (i in 0..3) {
var randomIndex = Random.nextInt(availableInfoFrames.size)
if (availableInfoFrames[randomIndex] != null) randomIndex = availableInfoFrames.indexOfFirst { it == null }
availableInfoFrames[randomIndex] = Random.nextBoolean()
}
}
}
return
}
resetFocusedPokemonState()
}
fun onServerConfirmedRegister(packet: ServerConfirmedRegisterPacket) {
@@ -196,6 +233,8 @@ class PokedexUsageContext {
fun resetFocusedPokemonState() {
scannableEntityInFocus = null
blockEntityInFocus = null
blockPosInFocus = null
scannedSpecies = null
viewInfoTicks = 0
scanningProgress = 0F
@@ -10,10 +10,14 @@ package com.cobblemon.mod.common.pokedex.scanner
import com.cobblemon.mod.common.Cobblemon
import com.cobblemon.mod.common.pokedex.scanner.PokedexUsageContext.Companion.BLOCK_LENGTH_PER_ZOOM_STAGE
import net.minecraft.core.BlockPos
import net.minecraft.world.entity.Entity
import net.minecraft.world.level.ClipContext
import net.minecraft.world.phys.AABB
import net.minecraft.world.phys.BlockHitResult
import net.minecraft.world.phys.HitResult
import net.minecraft.core.registries.BuiltInRegistries
import net.minecraft.world.level.block.entity.BlockEntity
//Handles the actual raycasting to figure out what pokemon we are looking at
object PokemonScanner {
@@ -100,4 +104,34 @@ object PokemonScanner {
fun isEntityInRange(castingEntity: Entity, targetEntity: Entity, zoomLevel: Int): Boolean {
return targetEntity.position().distanceTo(castingEntity.position()) <= Cobblemon.config.maxPokedexScanningDetectionRange + (zoomLevel * BLOCK_LENGTH_PER_ZOOM_STAGE)
}
fun findScannableBlockEntity(castingEntity: Entity, zoomLevel: Int): Pair<BlockPos, BlockEntity>? {
val eyePos = castingEntity.getEyePosition(1.0F)
val lookVec = castingEntity.getViewVector(1.0F)
val maxDistance =
Cobblemon.config.maxPokedexScanningDetectionRange + (zoomLevel * BLOCK_LENGTH_PER_ZOOM_STAGE)
val end = eyePos.add(lookVec.scale(maxDistance.toDouble()))
val hit = castingEntity.level().clip(
ClipContext(
eyePos,
end,
ClipContext.Block.OUTLINE,
ClipContext.Fluid.NONE,
castingEntity
)
)
if (hit.type != HitResult.Type.BLOCK) return null
val pos = (hit as BlockHitResult).blockPos
val be = castingEntity.level().getBlockEntity(pos) ?: return null
val typeId = BuiltInRegistries.BLOCK_ENTITY_TYPE.getKey(be.type) ?: return null
// if (BlockScanProviderRegistry.get(typeId) == null) return null
return pos to be
}
}
@@ -0,0 +1,5 @@
package com.cobblemon.mod.common.pokedex.scanner
interface ScannableBlockEntity {
fun resolveBlockScan(): BlockScanData
}
@@ -0,0 +1,6 @@
{
"accessWidener": "cobblemon-common.accesswidener",
"injected_interfaces": {
"net/minecraft/class_630": ["com/cobblemon/mod/common/client/render/models/blockbench/pose/Bone"]
}
}
@@ -612,9 +612,6 @@
"locator_target": {
"position": [0, 0, -3]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.lapras.ride_ground_walk": {
@@ -6970,10 +6970,6 @@
"2.6667": [0, 0, 0]
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_claw_large');",
"1.3333": "q.run_molang('cobblemon:stepsound_claw_large');"
}
},
"animation.aerodactyl.ground_run": {
@@ -8174,10 +8170,6 @@
"finger_air_outer_right2": {
"rotation": [72.5, 0, 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_claw_large');",
"0.6667": "q.run_molang('cobblemon:stepsound_claw_large');"
}
},
"animation.aerodactyl.battle_air_idle": {
@@ -835,10 +835,6 @@
}
}
}
},
"timeline": {
"0.5": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.5": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.dragonite.sleep": {
@@ -485,10 +485,6 @@
"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": {
@@ -1539,14 +1535,6 @@
"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,12 +427,6 @@
"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": {
@@ -882,12 +876,6 @@
"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": {
@@ -246,10 +246,6 @@
"seat_1_locator": {
"rotation": ["-20+Math.cos((query.anim_time) * 90 * 32/3 - 90) * -2", 0, 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.375": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.heracross.ground_run": {
@@ -421,10 +417,6 @@
"rotation": ["-10.883883476+Math.cos((query.anim_time) * 90 * 29/3 * 2 - 90) * 2", 0, "0+Math.cos((query.anim_time) * 90 * 29/3) * -3"],
"position": ["0+Math.cos((query.anim_time) * 90 * 29/3 - 90) * -0.3", "0+Math.cos((query.anim_time) * 90 * 29/3 * 2) * 0.4", 0]
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.25": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.heracross.ride_ground_run": {
@@ -635,10 +635,6 @@
"rotation": [-20, 0, 0],
"position": [0, -1.75, 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.75": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.ursaring.ride_ground_walk": {
@@ -1138,10 +1134,6 @@
"rotation": [-45, 0, 0],
"position": [0, -3, 0]
}
},
"timeline": {
"0.1042": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.4792": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.ursaring.ride_ground_run": {
@@ -141,10 +141,6 @@
"tail4": {
"rotation": ["-math.sin(q.anim_time*90*8-285)*14", 0, 0]
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5417": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.mantine.water_idle": {
@@ -1396,10 +1396,6 @@
"right_feather_tip3": {
"rotation": [0, 30, 0]
}
},
"timeline": {
"0.4167": "q.run_molang('cobblemon:stepsound_claw_medium');",
"1.1667": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.skarmory.ride_ground_walk": {
@@ -2231,10 +2227,6 @@
"right_feather_tip3": {
"rotation": [0, 19.66667, 0]
}
},
"timeline": {
"0.1667": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.5417": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.skarmory.ride_ground_run": {
@@ -1341,12 +1341,6 @@
"rotation": [-32, 0, 0],
"position": [0, -4.7, 0.1]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.0": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.slaking.ground_run": {
@@ -2519,12 +2513,6 @@
"2.0": [-39, 0, 0]
}
}
},
"timeline": {
"0.0833": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.5833": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0833": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.5833": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.slaking.physical": {
@@ -208,12 +208,6 @@
"1.0": [10.74, 0, 0]
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.125": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.625": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.camerupt.ground_run": {
@@ -401,10 +395,6 @@
"seat_6_locator": {
"rotation": ["0+Math.cos((query.anim_time) * 90 * 16 - 90) * 3", "0+Math.cos((query.anim_time) * 90 * 8) * -3", 0]
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.2917": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.camerupt.ride_jump": {
@@ -861,10 +861,6 @@
"rotation": [39, 0, 0],
"position": [0, 0, 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.75": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.flygon.ground_run": {
@@ -1494,10 +1490,6 @@
}
}
}
},
"timeline": {
"0.2917": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.7917": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.flygon.air_idle": {
@@ -607,10 +607,6 @@
"tail_middle_left3": {
"rotation": ["(8+math.sin(q.anim_time*90*6-170+29)*-13)", 0, 0]
}
},
"timeline": {
"0.3333": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.9583": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.altaria.air_idle": {
@@ -1443,12 +1443,6 @@
"2.75": [0, 0, 0]
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.75": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.5": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.25": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.tropius.ground_run": {
@@ -1878,10 +1872,6 @@
"0.5": [0, 0, 0]
}
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.375": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.tropius.walkspeed_test": {
@@ -650,12 +650,6 @@
"tail8": {
"rotation": ["2.5+math.sin(q.anim_time*90*2-285)*6", "math.sin(q.anim_time*90*1-460)*12", 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.0": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.salamence.ground_run": {
@@ -1082,10 +1076,6 @@
"locator_seat_1": {
"rotation": [10, 0, "0+Math.cos((query.anim_time)*90*16/3)*-8"]
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.4167": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.salamence.battle_idle": {
@@ -508,14 +508,6 @@
],
"position": [0, "3.594+0.5*math.sin(q.anim_time*90*12-90)", -1.19547]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.6667": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.6667": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.metagross.ground_walk": {
@@ -1219,16 +1211,6 @@
"-0.2*math.sin(q.anim_time*90*4-90)"
]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.0833": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0833": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.0833": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.0833": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.metagross.ride_ground_run": {
@@ -913,10 +913,6 @@
"locator_seat_1": {
"rotation": [2.5, 0, 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.625": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.staraptor.walkspeed": {
@@ -1233,10 +1233,6 @@
"-math.clamp(math.sin(q.anim_time*90*1.5-30+180)*10,-10,8)"
]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.2917": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.bastiodon.ground_run": {
@@ -2825,12 +2821,6 @@
}
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.0833": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5833": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.bastiodon.battle_idle": {
@@ -746,10 +746,6 @@
"1.0": [0, 0, 0]
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.5": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.honchkrow.ride_ground_walk": {
@@ -736,10 +736,6 @@
"rotation": [-50, 0, 0],
"position": [0, -2, -1]
}
},
"timeline": {
"0.1667": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.7917": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.garchomp.ride_ground_walk": {
@@ -1455,10 +1451,6 @@
"rotation": [-55, 0, 0],
"position": [0, -2, -1]
}
},
"timeline": {
"0.12": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.4533": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.garchomp.ride_ground_run": {
@@ -2610,9 +2602,6 @@
}
}
}
},
"timeline": {
"0.4167": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.garchomp.blink": {
@@ -4520,9 +4509,6 @@
"1.875": [0, 0, 0]
}
}
},
"timeline": {
"1.25": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.garchomp.physical_alt": {
@@ -5941,10 +5927,6 @@
}
}
}
},
"timeline": {
"1.375": "q.run_molang('cobblemon:stepsound_standard_medium');",
"2.4583": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.garchomp.physical_blunt": {
@@ -8040,9 +8022,6 @@
}
}
}
},
"timeline": {
"2.5833": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.garchomp.special": {
@@ -10946,10 +10925,6 @@
}
}
}
},
"timeline": {
"1.0417": "q.run_molang('cobblemon:stepsound_standard_medium');",
"2.5417": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.garchomp.battle_cry": {
@@ -301,10 +301,6 @@
"locator_seat_2": {
"rotation": [0, 0, "0+math.sin(q.anim_time*90*3-75)*4"]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.6667": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.lickilicky.ground_run": {
@@ -394,10 +390,6 @@
"locator_seat_2": {
"rotation": [7.5, 0, "math.sin(q.anim_time*90*5-75)*4"]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.4167": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.lickilicky.sleep": {
@@ -531,11 +523,6 @@
"1.5": [0, 0, 0]
}
}
},
"sound_effects": {
"0.0": {
"effect": "pokemon.lickilicky.cry"
}
}
},
"animation.lickilicky.ride_ground_walk": {
@@ -409,10 +409,6 @@
"rotation": [0, "-math.cos(q.anim_time*90*4/1.5-10)*1", "2.5*math.cos(q.anim_time*90*4/1.5-40)*1"],
"position": [0, "-math.cos(q.anim_time*90*8/1.5)*1", 0]
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.7917": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.mamoswine.ground_run": {
@@ -765,12 +761,6 @@
"1.0": [-24.5, 0, 0]
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.375": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.9167": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.mamoswine.ride_ground_walk": {
@@ -1942,9 +1942,10 @@
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.5": "q.run_molang('cobblemon:stepsound_hoof_medium');"
"sound_effects": {
"1.1667": {
"effect": "zebstrika_cry"
}
}
},
"animation.zebstrika.ground_run": {
@@ -2677,12 +2678,6 @@
}
}
}
},
"timeline": {
"0.0333": "q.run_molang('cobblemon:stepsound_hoof_large');",
"0.1": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.1667": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.2333": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.zebstrika.walkspeed_test": {
@@ -1318,12 +1318,6 @@
"right_eyebrow2": {
"rotation": [0, 0, "0-math.sin(q.anim_time*90*20-40)*0.5"]
}
},
"timeline": {
"0.1667": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.25": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.8333": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.9167": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.darmanitan.ground_run": {
@@ -2194,10 +2188,6 @@
"right_eyebrow2": {
"rotation": [0, 0, "0-math.sin(q.anim_time*90*20-40)*0.5"]
}
},
"timeline": {
"0.1667": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.875": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.darmanitan.cry": {
@@ -2688,20 +2688,6 @@
"rotation": ["0+math.sin(q.anim_time*90*4/3-60)*2", 0, "0+math.sin(q.anim_time*90*4/3-150)*1"],
"position": [0, "0+math.sin(q.anim_time*90*4/3-30)*-0.8", "0+math.sin(q.anim_time*90*4/3-90)*0.2"]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.25": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.5": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.75": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.0": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.25": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.5": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.75": "q.run_molang('cobblemon:stepsound_standard_medium');",
"2.0": "q.run_molang('cobblemon:stepsound_standard_medium');",
"2.25": "q.run_molang('cobblemon:stepsound_standard_medium');",
"2.5": "q.run_molang('cobblemon:stepsound_standard_medium');",
"2.75": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.crustle.ground_run": {
@@ -3668,20 +3654,6 @@
"rotation": ["0+math.sin(q.anim_time*90*4/2-80)*1.5", 0, "0+math.sin(q.anim_time*90*4/2-150)*0.75"],
"position": [0, "0+math.sin(q.anim_time*90*4/2)*-0.3", "0+math.sin(q.anim_time*90*4/2-90)*0.4"]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.1667": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.3333": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.5": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.6667": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.8333": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.0": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.1667": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.3333": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.5": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.6667": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.8333": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.crustle.ride_ground_walk": {
@@ -1488,10 +1488,6 @@
"locator_seat_1": {
"rotation": ["10-math.sin(q.anim_time*90*4-120)*3", "-math.sin(q.anim_time*90*2-60)*6", "math.sin(q.anim_time*90*2+20)*6"]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_claw_medium');",
"1.0": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.archeops.surfacewaterlocation": {
@@ -2623,10 +2619,6 @@
"rotation": ["17.5-math.sin(q.anim_time*90*32/3+30)*2", "-math.cos(q.anim_time*90*16/3+50)*-6", "math.cos(q.anim_time*90*16/3+10)*-4"],
"position": [0, "1.5+math.sin(q.anim_time*90*32/3-90)*-1", "-3+math.sin(q.anim_time*90*32/3-90)*-1"]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.375": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.archeops.ride_ground_run": {
@@ -444,10 +444,6 @@
"2.0": [0, 0, 0]
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.golurk.ground_run": {
@@ -829,10 +825,6 @@
"rotation": ["-12.5+Math.cos((query.anim_time)*90*16/3-90)*-6", "0+Math.cos((query.anim_time)*90*8/3)*4", "0+Math.cos((query.anim_time)*90*8/3)*-2"],
"position": [0, -2, 0]
}
},
"timeline": {
"0.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0417": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.golurk.air_idle": {
@@ -652,10 +652,6 @@
"1.3333": [0, 0, 0]
}
}
},
"timeline": {
"0.1667": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.8333": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.bouffalant.ground_run": {
@@ -1458,16 +1454,6 @@
"pupil_right": {
"position": [0, 0.3, 0]
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.125": "q.run_molang('cobblemon:stepsound_hoof_large');",
"0.2083": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.4583": "q.run_molang('cobblemon:stepsound_hoof_large');",
"0.5417": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.625": "q.run_molang('cobblemon:stepsound_hoof_large');",
"0.7083": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.9583": "q.run_molang('cobblemon:stepsound_hoof_large');"
}
},
"animation.bouffalant.blink": {
@@ -3978,15 +3964,6 @@
"locator_target": {
"position": [-11, 0, 1]
}
},
"timeline": {
"0.3333": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.625": "q.run_molang('cobblemon:stepsound_hoof_standard');",
"1.3333": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"1.5833": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"2.125": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"2.4583": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"2.5833": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.bouffalant.special_WIP": {
@@ -6050,9 +6027,6 @@
}
}
}
},
"timeline": {
"0.4583": "q.run_molang('cobblemon:stepsound_minecraft');"
}
},
"animation.bouffalant.battle_cry": {
@@ -7383,10 +7357,6 @@
"1.25": {
"effect": "pokemon.bouffalant.cry"
}
},
"timeline": {
"0.4167": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.875": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.bouffalant.faint": {
@@ -7857,20 +7827,32 @@
"pupil_left": {
"position": {
"0.0": [0, 0, 0],
"1.7083": {"pre": [0, 0, 0], "post": [0, 0.2, 0]},
"2.375": {"pre": [0, 0.2, 0], "post": [0, 0, 0]}
"1.7083": {
"pre": [0, 0, 0],
"post": [0, 0.2, 0]
},
"2.375": {
"pre": [0, 0.2, 0],
"post": [0, 0, 0]
}
}
},
"eyelid_left": {
"position": {
"0.0": [0, 0, 0],
"2.6667": {"pre": [0, 0, 0], "post": [0.1, 0, -0.1]}
"2.6667": {
"pre": [0, 0, 0],
"post": [0.1, 0, -0.1]
}
}
},
"eyelid_right": {
"position": {
"0.0": [0, 0, 0],
"2.6667": {"pre": [0, 0, 0], "post": [-0.1, 0, -0.1]}
"2.6667": {
"pre": [0, 0, 0],
"post": [-0.1, 0, -0.1]
}
}
},
"afro": {
@@ -9367,40 +9349,66 @@
"eyelid_recoil_left": {
"position": {
"0.0": [0.1, 0, -0.1],
"0.4583": {"pre": [0.1, 0, -0.1], "post": [0, 0, 0]},
"0.7917": {"pre": [0, 0, 0], "post": [0.1, 0, -0.1]},
"1.7083": {"pre": [0.1, 0, -0.1], "post": [0, 0, 0]},
"2.3333": {"pre": [0, 0, 0], "post": [0.1, 0, -0.1]},
"2.5": {"pre": [0.1, 0, -0.1], "post": [0, 0, 0]}
"0.4583": {
"pre": [0.1, 0, -0.1],
"post": [0, 0, 0]
},
"0.7917": {
"pre": [0, 0, 0],
"post": [0.1, 0, -0.1]
},
"1.7083": {
"pre": [0.1, 0, -0.1],
"post": [0, 0, 0]
},
"2.3333": {
"pre": [0, 0, 0],
"post": [0.1, 0, -0.1]
},
"2.5": {
"pre": [0.1, 0, -0.1],
"post": [0, 0, 0]
}
}
},
"eyelid_sad_right": {
"position": {
"0.0": [0, 0, 0],
"1.7083": {"pre": [0, 0, 0], "post": [-0.1, 0, 0]},
"2.3333": {"pre": [-0.1, 0, 0], "post": [0, 0, 0]}
"1.7083": {
"pre": [0, 0, 0],
"post": [-0.1, 0, 0]
},
"2.3333": {
"pre": [-0.1, 0, 0],
"post": [0, 0, 0]
}
}
},
"eyelid_recoil_right": {
"position": {
"0.0": [-0.1, 0, -0.1],
"0.4583": {"pre": [-0.1, 0, -0.1], "post": [0, 0, 0]},
"0.7917": {"pre": [0, 0, 0], "post": [-0.1, 0, -0.1]},
"1.7083": {"pre": [-0.1, 0, -0.1], "post": [0, 0, 0]},
"2.3333": {"pre": [0, 0, 0], "post": [-0.1, 0, -0.1]},
"2.5": {"pre": [-0.1, 0, -0.1], "post": [0, 0, 0]}
"0.4583": {
"pre": [-0.1, 0, -0.1],
"post": [0, 0, 0]
},
"0.7917": {
"pre": [0, 0, 0],
"post": [-0.1, 0, -0.1]
},
"1.7083": {
"pre": [-0.1, 0, -0.1],
"post": [0, 0, 0]
},
"2.3333": {
"pre": [0, 0, 0],
"post": [-0.1, 0, -0.1]
},
"2.5": {
"pre": [-0.1, 0, -0.1],
"post": [0, 0, 0]
}
}
}
},
"timeline": {
"0.375": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.875": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"1.25": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"1.4167": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"1.5": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"1.75": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"2.2083": "q.run_molang('cobblemon:stepsound_standard_medium');",
"2.3333": "q.run_molang('cobblemon:stepsound_standard_heavy');"
}
},
"animation.bouffalant.walk_test": {
@@ -1714,10 +1714,6 @@
}
}
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.7917": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.braviary.air_idle": {
@@ -2022,10 +2022,6 @@
"1.5": [-10, 0, 0]
}
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.7917": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.braviary_hisuian.air_idle": {
@@ -2298,7 +2294,7 @@
},
"timeline": {
"0.0417": "q.has_entity ? { q.sound('animation.plumage.wing_flap.medium'); };",
"1.375": "q.has_entity ? { q.sound('animation.plumage.wing_flap.medium'); };"
"1.3333": "q.has_entity ? { q.sound('animation.plumage.wing_flap.medium'); };"
}
},
"animation.braviary_hisuian.air_fly": {
@@ -747,10 +747,6 @@
}
}
}
},
"timeline": {
"0.0833": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.5833": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.gogoat.ground_run": {
@@ -1365,12 +1361,6 @@
"0.5": [0, -0.24, 0]
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.0833": "q.run_molang('cobblemon:stepsound_hoof_heavy');",
"0.1667": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.4167": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.gogoat.ride_ground_walk": {
@@ -1584,10 +1584,6 @@
"2.3333": [0, 0, 0]
}
}
},
"timeline": {
"1.25": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.4583": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.tyrantrum.special": {
@@ -4995,12 +4991,6 @@
"finger_front_left2": {
"rotation": [0, -17.5, 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.0": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.tyrantrum.ground_run": {
@@ -5973,14 +5963,6 @@
"4.0": [0, 0, 0]
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.6667": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.6667": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.3333": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.tyrantrum.ride_ground_run": {
@@ -2461,10 +2461,6 @@
"locator_seat_1": {
"rotation": [0, "-math.sin(q.anim_time*90*1.145)*12", "math.sin(q.anim_time*90*1.145)*12"]
}
},
"timeline": {
"0.75": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.5": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.goodra.ground_run": {
@@ -3008,10 +3004,6 @@
}
}
}
},
"timeline": {
"0.1667": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5417": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.goodra.idle_quirk1": {
@@ -2374,10 +2374,6 @@
"tail1": {
"rotation": ["-5-math.sin(q.anim_time*90*2.285-60)*3", "-math.sin(q.anim_time*90*1.145-20)*8", "math.sin(q.anim_time*90*1.145-20)*10"]
}
},
"timeline": {
"0.75": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.5": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.goodra_hisuian.ground_run": {
@@ -2934,10 +2930,6 @@
}
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.goodra_hisuian.idle_quirk": {
@@ -919,10 +919,6 @@
"1.0": [0, 0, 0]
}
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.5417": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.noivern.ground_run2": {
@@ -1609,10 +1605,6 @@
"0.2083": [0, 0, 0]
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_claw_large');",
"0.125": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.noivern.ride_ground": {
@@ -235,10 +235,6 @@
"wing_fold_right3": {
"rotation": [0, 27.5, 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.1667": "q.run_molang('cobblemon:stepsound_minecraft');"
}
},
"animation.vikavolt.ground_idle": {
@@ -863,12 +863,6 @@
"1.8333": [0, 0, 0]
}
}
},
"timeline": {
"0.4167": "q.run_molang('cobblemon:stepsound_hoof_large');",
"0.7917": "q.run_molang('cobblemon:stepsound_hoof_large');",
"1.4583": "q.run_molang('cobblemon:stepsound_hoof_large');",
"1.8333": "q.run_molang('cobblemon:stepsound_hoof_large');"
}
},
"animation.mudsdale.ground_run": {
@@ -1445,12 +1439,6 @@
"0.9167": [0, 0, 0]
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.4583": "q.run_molang('cobblemon:stepsound_hoof_large');",
"0.7083": "q.run_molang('cobblemon:stepsound_hoof_large');",
"0.7917": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.mudsdale.ride_ground_walk": {
@@ -421,10 +421,6 @@
"seat_1_locator": {
"rotation": ["-10-Math.cos((query.anim_time)*90*4-150)*1", "-0-Math.cos((query.anim_time)*90*2-30)*-3", "0+Math.cos((query.anim_time)*90*2-120)*4"]
}
},
"timeline": {
"0.0833": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0833": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.duraludon.ground_run": {
@@ -725,10 +721,6 @@
"rotation": ["-20-Math.cos((query.anim_time)*90*8-90)*-2", "-0-Math.cos((query.anim_time)*90*4-80)*-4", "0+Math.cos((query.anim_time)*90*4-40)*8"],
"position": [0, 0, -2]
}
},
"timeline": {
"0.0833": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5833": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.duraludon.ride_ground_run": {
@@ -2045,13 +2037,6 @@
}
}
}
},
"timeline": {
"0.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.625": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.2917": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.125": "q.run_molang('cobblemon:stepsound_standard_medium');",
"2.375": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.duraludon.special": {
@@ -2902,9 +2887,6 @@
"2.6667": {"pre": [0, 0, -0.1], "post": [0, 0, 0]}
}
}
},
"timeline": {
"0.7917": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.duraludon.status": {
@@ -5200,11 +5182,6 @@
}
}
}
},
"timeline": {
"0.1667": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.4167": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.0": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.duraludon.recoil": {
@@ -1207,10 +1207,6 @@
"shoulder_spike_left3": {
"rotation": [0, "math.sin(q.anim_time*90*4-120)*16", 0]
}
},
"timeline": {
"0.5833": "q.run_molang('cobblemon:stepsound_claw_large');",
"1.5833": "q.run_molang('cobblemon:stepsound_claw_large');"
}
},
"animation.ursaluna.ground_run": {
@@ -1960,12 +1956,6 @@
}
}
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_claw_large');",
"0.0972": "q.run_molang('cobblemon:stepsound_claw_large');",
"0.2361": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.3472": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.ursaluna.sleep": {
@@ -2789,31 +2779,31 @@
"rotation": ["-30+math.sin(q.anim_time*90*20-30)*5", 0, "math.cos(q.anim_time*90*20-30)*2"]
},
"spike_right": {
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-30)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-30)*5", 0, 0]
},
"spike_right2": {
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-32)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-32)*5", 0, 0]
},
"spike_right3": {
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-51)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-51)*5", 0, 0]
},
"spike_right4": {
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-41)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-41)*5", 0, 0]
},
"spike_left": {
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-39)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-39)*5", 0, 0]
},
"spike_left2": {
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-35)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-35)*5", 0, 0]
},
"spike_left3": {
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-30)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-30)*5", 0, 0]
},
"spike_left4": {
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-45)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-45)*5", 0, 0]
},
"spike_middle": {
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-50)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-50)*5", 0, 0]
},
"spike_bottom_middle": {
"rotation": ["20+q.r.velocity_y(0)*-10+math.sin(q.anim_time*90*20-30)*5", 0, 0]
@@ -1730,10 +1730,6 @@
"1.25": [0, 0, 0]
}
}
},
"timeline": {
"0.3333": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.9583": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.sneasler.ground_walk_basket": {
@@ -2426,10 +2422,6 @@
"rotation": [-50, 0, 0],
"position": [0, -3.75, 0]
}
},
"timeline": {
"0.1667": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.4167": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.sneasler.ground_run_basket": {
@@ -501,10 +501,19 @@
},
"scale": {
"0.0": [0, 0, 0],
"1.5833": {"pre": [0, 0, 0], "post": [0, 0, 0]},
"1.5833": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
},
"1.6667": [1, 1, 1],
"2.7083": {"pre": [1, 1, 1], "post": [0, 0, 0]},
"3.0": {"pre": [0, 0, 0], "post": [0, 0, 0]}
"2.7083": {
"pre": [1, 1, 1],
"post": [0, 0, 0]
},
"3.0": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
}
}
},
"wing_open_right2": {
@@ -738,10 +747,19 @@
},
"scale": {
"0.0": [0, 0, 0],
"1.5833": {"pre": [0, 0, 0], "post": [0, 0, 0]},
"1.5833": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
},
"1.6667": [1, 1, 1],
"2.7083": {"pre": [1, 1, 1], "post": [0, 0, 0]},
"3.0": {"pre": [0, 0, 0], "post": [0, 0, 0]}
"2.7083": {
"pre": [1, 1, 1],
"post": [0, 0, 0]
},
"3.0": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
}
}
},
"wing_open_left2": {
@@ -1023,9 +1041,18 @@
},
"scale": {
"0.0": [1, 1, 1],
"1.5833": {"pre": [1, 1, 1], "post": [1, 1, 1]},
"1.6667": {"pre": [1, 1, 1], "post": [0, 0, 0]},
"2.6667": {"pre": [0, 0, 0], "post": [0, 0, 0]},
"1.5833": {
"pre": [1, 1, 1],
"post": [1, 1, 1]
},
"1.6667": {
"pre": [1, 1, 1],
"post": [0, 0, 0]
},
"2.6667": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
},
"2.7083": [1, 1, 1],
"3.0": [1, 1, 1]
}
@@ -1199,9 +1226,18 @@
},
"scale": {
"0.0": [1, 1, 1],
"1.5833": {"pre": [1, 1, 1], "post": [1, 1, 1]},
"1.6667": {"pre": [1, 1, 1], "post": [0, 0, 0]},
"2.6667": {"pre": [0, 0, 0], "post": [0, 0, 0]},
"1.5833": {
"pre": [1, 1, 1],
"post": [1, 1, 1]
},
"1.6667": {
"pre": [1, 1, 1],
"post": [0, 0, 0]
},
"2.6667": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
},
"2.7083": [1, 1, 1],
"3.0": [1, 1, 1]
}
@@ -1430,9 +1466,18 @@
"eyelid_left": {
"position": {
"0.0": [0, 0, 0],
"0.5": {"pre": [0, 0, 0], "post": [0.1, 0, -0.1]},
"0.625": {"pre": [0.1, 0, -0.1], "post": [0, 0, 0]},
"3.0": {"pre": [0, 0, 0], "post": [0, 0, 0]}
"0.5": {
"pre": [0, 0, 0],
"post": [0.1, 0, -0.1]
},
"0.625": {
"pre": [0.1, 0, -0.1],
"post": [0, 0, 0]
},
"3.0": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
}
}
},
"eye_right": {
@@ -1444,9 +1489,18 @@
"eyelid_right": {
"position": {
"0.0": [0, 0, 0],
"0.5": {"pre": [0, 0, 0], "post": [-0.1, 0, -0.1]},
"0.625": {"pre": [-0.1, 0, -0.1], "post": [0, 0, 0]},
"3.0": {"pre": [0, 0, 0], "post": [0, 0, 0]}
"0.5": {
"pre": [0, 0, 0],
"post": [-0.1, 0, -0.1]
},
"0.625": {
"pre": [-0.1, 0, -0.1],
"post": [0, 0, 0]
},
"3.0": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
}
}
},
"puff": {
@@ -2663,11 +2717,6 @@
"3.0": [-2, 0, 0]
}
}
},
"timeline": {
"0.5": "q.run_molang('cobblemon:stepsound_claw_medium');",
"1.375": "q.run_molang('cobblemon:stepsound_claw_medium');",
"2.5417": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.kilowattrel.special": {
@@ -2894,7 +2943,10 @@
"scale": {
"0.0": [0, 0, 0],
"0.0833": [1, 1, 1],
"2.9167": {"pre": [1, 1, 1], "post": [0, 0, 0]}
"2.9167": {
"pre": [1, 1, 1],
"post": [0, 0, 0]
}
}
},
"wing_open_right2": {
@@ -3289,7 +3341,10 @@
"scale": {
"0.0": [0, 0, 0],
"0.0833": [1, 1, 1],
"2.9167": {"pre": [1, 1, 1], "post": [0, 0, 0]}
"2.9167": {
"pre": [1, 1, 1],
"post": [0, 0, 0]
}
}
},
"wing_open_left2": {
@@ -3609,8 +3664,14 @@
},
"scale": {
"0.0": [1, 1, 1],
"0.0833": {"pre": [1, 1, 1], "post": [0, 0, 0]},
"2.875": {"pre": [0, 0, 0], "post": [0, 0, 0]},
"0.0833": {
"pre": [1, 1, 1],
"post": [0, 0, 0]
},
"2.875": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
},
"2.9167": [1, 1, 1]
}
},
@@ -3642,9 +3703,18 @@
},
"scale": {
"0.0": [1, 1, 1],
"0.0833": {"pre": [1, 1, 1], "post": [0, 0, 0]},
"0.25": {"pre": [0, 0, 0], "post": [0, 0, 0]},
"2.875": {"pre": [0, 0, 0], "post": [0, 0, 0]},
"0.0833": {
"pre": [1, 1, 1],
"post": [0, 0, 0]
},
"0.25": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
},
"2.875": {
"pre": [0, 0, 0],
"post": [0, 0, 0]
},
"2.9167": [1, 1, 1]
}
},
@@ -5192,15 +5262,27 @@
"eyelid_left": {
"position": {
"0.0": [0, 0, 0],
"1.0417": {"pre": [0, 0, 0], "post": [0.1, 0, -0.1]},
"1.3333": {"pre": [0.1, 0, -0.1], "post": [0, 0, 0]}
"1.0417": {
"pre": [0, 0, 0],
"post": [0.1, 0, -0.1]
},
"1.3333": {
"pre": [0.1, 0, -0.1],
"post": [0, 0, 0]
}
}
},
"eyelid_right": {
"position": {
"0.0": [0, 0, 0],
"1.0417": {"pre": [0, 0, 0], "post": [-0.1, 0, -0.1]},
"1.3333": {"pre": [-0.1, 0, -0.1], "post": [0, 0, 0]}
"1.0417": {
"pre": [0, 0, 0],
"post": [-0.1, 0, -0.1]
},
"1.3333": {
"pre": [-0.1, 0, -0.1],
"post": [0, 0, 0]
}
}
},
"jaw": {
@@ -5338,9 +5420,6 @@
}
}
}
},
"timeline": {
"2.6667": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.kilowattrel.ground_walk": {
@@ -6166,10 +6245,6 @@
"claw_back_right": {
"rotation": [-7.5, 0, 0]
}
},
"timeline": {
"0.2917": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.9583": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.kilowattrel.ground_run": {
@@ -6758,10 +6833,6 @@
"claw_outer_right": {
"rotation": [17.5, 0, 0]
}
},
"timeline": {
"0.1667": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.5": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.kilowattrel.sleep": {
@@ -402,10 +402,6 @@
"0+Math.cos((query.anim_time) * 90 * 4) * 3"
]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.5": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.espathra.ground_run": {
@@ -706,10 +702,6 @@
"rotation": ["0+Math.cos((query.anim_time) * 90 * 16 - 90) * 3", 0, "0+Math.cos((query.anim_time) * 90 * 8) * 6"],
"position": [0, "0+Math.cos((query.anim_time) * 90 * 16) * -0.6", 0]
}
},
"timeline": {
"0.0833": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.3333": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.espathra.ride_ground_walk": {
@@ -1558,10 +1550,6 @@
"0.875": [0, 0, 0]
}
}
},
"timeline": {
"1.7083": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.0417": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.espathra.sleep": {
@@ -401,10 +401,6 @@
"fingers_right": {
"rotation": ["15+Math.cos((query.anim_time)*90*8-130)*-3", 0, 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.5": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.cyclizar.ground_run": {
@@ -799,10 +795,6 @@
"0.4167": [0, 0, 0]
}
}
},
"timeline": {
"0.0833": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.375": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.cyclizar.mount_idle": {
@@ -1209,10 +1201,6 @@
}
}
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_standard_medium');",
"0.5417": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.cyclizar.ride_mount_walk": {
@@ -923,12 +923,6 @@
"neck_spike6": {
"rotation": [0, "math.cos(q.anim_time*90*8/3-120)*-6", 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_hoof_large');",
"0.5417": "q.run_molang('cobblemon:stepsound_hoof_large');",
"0.75": "q.run_molang('cobblemon:stepsound_hoof_large');",
"1.2917": "q.run_molang('cobblemon:stepsound_hoof_large');"
}
},
"animation.farigiraf.ground_run": {
@@ -1584,12 +1578,6 @@
"neck_spike6": {
"rotation": [0, "math.sin(q.anim_time*90*16/3-130)*-6", 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.0833": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.1667": "q.run_molang('cobblemon:stepsound_hoof_large');",
"0.6667": "q.run_molang('cobblemon:stepsound_hoof_large');"
}
},
"animation.farigiraf.battle_idle": {
@@ -278,10 +278,6 @@
"rotation": [-27.5, 0, 0],
"position": [0, 0, 1]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.archaludon.ground_run": {
@@ -510,10 +506,6 @@
"seat_1_locator": {
"rotation": [-22.5, 0, 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.archaludon.ride_ground_run": {
@@ -1460,12 +1452,6 @@
"2.75": [0, 0, 0]
}
}
},
"timeline": {
"0.25": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.2917": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.5833": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.875": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.archaludon.special": {
@@ -2593,13 +2579,6 @@
}
}
}
},
"timeline": {
"0.25": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.375": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.8333": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.625": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.8333": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.archaludon.electroshot": {
@@ -3736,13 +3715,6 @@
}
}
}
},
"timeline": {
"0.25": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.375": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.8333": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.5417": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.archaludon.status": {
@@ -5433,13 +5405,6 @@
}
}
}
},
"timeline": {
"0.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.75": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.125": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.375": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.archaludon.battle_cry": {
@@ -7135,13 +7100,6 @@
"1.25": {
"effect": "pokemon.archaludon.cry"
}
},
"timeline": {
"0.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.75": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.125": "q.run_molang('cobblemon:stepsound_standard_large');",
"3.375": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.archaludon.faint": {
@@ -7790,14 +7748,6 @@
"2.1667": [2, 0.3, -0.4]
}
}
},
"timeline": {
"0.4167": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.7083": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.0": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.4583": "q.run_molang('cobblemon:stepsound_standard_medium');",
"1.625": "q.run_molang('cobblemon:stepsound_standard_large');",
"2.125": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.archaludon.sleep": {
@@ -15,51 +15,11 @@
"name": "smeargle",
"pivot": [0, 0, 0]
},
{
"name": "locator_root",
"parent": "smeargle",
"pivot": [0, 0, 0],
"locators": {
"root": [0, 0, 0]
}
},
{
"name": "locator_top",
"parent": "smeargle",
"pivot": [0, 30, 0],
"locators": {
"top": [0, 30, 0]
}
},
{
"name": "locator_special",
"parent": "smeargle",
"pivot": [0, 14, -20],
"locators": {
"special": [0, 14, -20]
}
},
{
"name": "body",
"parent": "smeargle",
"pivot": [0, 6, 0]
},
{
"name": "locator_target",
"parent": "body",
"pivot": [0, 14, -8],
"locators": {
"target": [0, 14, -8]
}
},
{
"name": "locator_middle",
"parent": "body",
"pivot": [0, 14, 0],
"locators": {
"middle": [0, 14, 0]
}
},
{
"name": "torso",
"parent": "body",
@@ -108,23 +68,6 @@
{"origin": [10.5, 14, -1.5], "size": [2, 2, 3], "inflate": 0.02, "uv": [22, 46]}
]
},
{
"name": "locator_hand_secondary",
"parent": "hand_left",
"pivot": [12.5, 14, 0],
"rotation": [0, -90, 0],
"locators": {
"hand_secondary": [12.5, 14, 0]
}
},
{
"name": "locator_item",
"parent": "hand_left",
"pivot": [12.5, 14, 0],
"locators": {
"item": [12.5, 14, 0]
}
},
{
"name": "thumb_left",
"parent": "hand_left",
@@ -197,15 +140,6 @@
{"origin": [-12.5, 14, -1.5], "size": [2, 2, 3], "inflate": 0.02, "uv": [32, 46], "mirror": true}
]
},
{
"name": "locator_hand_primary",
"parent": "hand_right",
"pivot": [-12.5, 14, 0],
"rotation": [0, 90, 0],
"locators": {
"hand_primary": [-12.5, 14, 0]
}
},
{
"name": "thumb_right",
"parent": "hand_right",
@@ -272,31 +206,6 @@
{"origin": [-1.5, 21, -8.01], "size": [1, 1, 0], "uv": [0, 9], "mirror": true}
]
},
{
"name": "locator_mouth",
"parent": "head",
"pivot": [0, 18, -4.75],
"locators": {
"mouth": [0, 18, -4.75]
}
},
{
"name": "locator_item_face",
"parent": "head",
"pivot": [0, 25.5, -7.5],
"rotation": [-35, 0, 0],
"locators": {
"item_face": [0, 25.5, -7.5]
}
},
{
"name": "locator_face",
"parent": "head",
"pivot": [0, 23, -8],
"locators": {
"face": [0, 23, -8]
}
},
{
"name": "eyes",
"parent": "head",
@@ -346,15 +255,6 @@
{"origin": [4.03, 22.5, -5.5], "size": [0, 2, 1], "uv": [8, -1]}
]
},
{
"name": "locator_eye_left",
"parent": "pupil_left",
"pivot": [4, 23.5, -5],
"rotation": [0, -90, 0],
"locators": {
"eye2": [4, 23.5, -5]
}
},
{
"name": "eyelid_left",
"parent": "eye_left",
@@ -423,15 +323,6 @@
{"origin": [-4.03, 22.5, -5.5], "size": [0, 2, 1], "uv": [8, 18], "mirror": true}
]
},
{
"name": "locator_eye_right",
"parent": "pupil_right",
"pivot": [-4, 23.5, -5],
"rotation": [0, 90, 0],
"locators": {
"eye1": [-4, 23.5, -5]
}
},
{
"name": "eyelid_happy_right",
"parent": "eye_right",
@@ -514,22 +405,6 @@
{"origin": [-1, 28, -1.25], "size": [2, 3, 2], "uv": [3, 25]}
]
},
{
"name": "locator_head",
"parent": "hat",
"pivot": [0, 26.5, -6.25],
"locators": {
"head": [0, 26.5, -6.25]
}
},
{
"name": "locator_item_hat",
"parent": "hat",
"pivot": [0, 28.5, -0.75],
"locators": {
"item_hat": [0, 28.5, -0.75]
}
},
{
"name": "tail",
"parent": "torso",
@@ -562,15 +437,6 @@
{"origin": [-1.1, 6.5, 19.5], "size": [2, 2, 6], "uv": [44, 32]}
]
},
{
"name": "locator_tail",
"parent": "tail4",
"pivot": [0, 7.5, 22.5],
"rotation": [-180, 0, 180],
"locators": {
"tail": [0, 7.5, 22.5]
}
},
{
"name": "tail5",
"parent": "tail4",
@@ -620,24 +486,6 @@
{"origin": [-3, 7.5, 50], "size": [6, 0, 4], "pivot": [0, 7.5, 52], "rotation": [0, 0, -45], "uv": [66, 19]}
]
},
{
"name": "locator_tail_tip",
"parent": "tail_end_fur",
"pivot": [0, 7.5, 54],
"rotation": [-180, 0, 180],
"locators": {
"tail_tip": [0, 7.5, 54]
}
},
{
"name": "locator_physical",
"parent": "tail_end_fur",
"pivot": [0, 7.5, 51],
"rotation": [-180, 0, 180],
"locators": {
"physical": [0, 7.5, 51]
}
},
{
"name": "tail_end_fur_left",
"parent": "tail_end2",
@@ -686,15 +534,6 @@
{"origin": [1, 0.09, -1], "size": [2, 0, 2], "uv": [50, 48]}
]
},
{
"name": "locator_foot_secondary",
"parent": "foot_left",
"pivot": [2, 0.5, -2],
"rotation": [90, 0, 0],
"locators": {
"foot_secondary": [2, 0.5, -2]
}
},
{
"name": "foot_left2",
"parent": "foot_left",
@@ -728,15 +567,6 @@
{"origin": [-3, 0.09, -1], "size": [2, 0, 2], "uv": [50, 52], "mirror": true}
]
},
{
"name": "locator_foot_primary",
"parent": "foot_right",
"pivot": [-2, 0.5, -2],
"rotation": [90, 0, 0],
"locators": {
"foot_primary": [-2, 0.5, -2]
}
},
{
"name": "foot_right2",
"parent": "foot_right",
@@ -1,61 +0,0 @@
{
"portraitScale": 1.5,
"portraitTranslation": [-0.52, -0.54, 0],
"profileScale": 0.9,
"profileTranslation": [0.12, 0.33, 0],
"rootBone": "trapinch",
"animations": {
"cry": "q.bedrock_stateful('trapinch', 'cry')"
},
"poses": {
"battle-standing": {
"poseTypes": ["STAND"],
"isBattle": true,
"animations": [
"q.look('head')",
"q.bedrock('trapinch', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('trapinch', 'blink')"
]
},
"battle-sleep": {
"poseTypes": ["SLEEP"],
"isBattle": true,
"animations": ["q.bedrock('trapinch', 'battle_sleep')"],
"namedAnimations": {
"cry": "q.bedrock_stateful('dummy', 'cry')"
},
"quirks": []
},
"standing": {
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
"isBattle": false,
"animations": [
"q.look('head')",
"q.bedrock('trapinch', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('trapinch', 'blink')"
]
},
"walking": {
"poseTypes": ["WALK"],
"animations": [
"q.bedrock('trapinch', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('trapinch', 'blink')"
]
},
"sleep": {
"poseTypes": ["SLEEP"],
"isBattle": false,
"animations": ["q.bedrock('trapinch', 'sleep')"],
"namedAnimations": {
"cry": "q.bedrock_stateful('dummy', 'cry')"
},
"quirks": []
}
}
}
@@ -1,60 +0,0 @@
{
"portraitScale": 1.36,
"portraitTranslation": [-0.37, -0.55, 0.0],
"profileScale": 0.54,
"profileTranslation": [0.01, 0.71, 0],
"rootBone": "vibrava",
"animations": {
"cry": "q.bedrock_stateful('vibrava', 'cry')"
},
"poses": {
"standing": {
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
"animations": [
"q.look('head')",
"q.bedrock('vibrava', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('vibrava', q.array('look_left_quirk', 'look_right_quirk'), 30, 90, 1)"
]
},
"walking": {
"poseTypes": ["WALK"],
"animations": [
"q.bedrock('vibrava', 'air_fly')"
],
"transformedParts": [
{
"part": "body",
"position": [0, -10, 0],
"rotation": [0, 0, 0],
"isVisible": true
}
]
},
"hover": {
"poseTypes": ["HOVER"],
"isBattle": false,
"animations": [
"q.look('head')",
"q.bedrock('vibrava', 'air_idle')"
],
"quirks": [
"q.bedrock_quirk('vibrava', q.array('look_left_quirk', 'look_right_quirk'), 30, 90, 1)"
]
},
"fly": {
"poseTypes": ["FLY"],
"animations": [
"q.bedrock('vibrava', 'air_fly')"
]
},
"sleep": {
"poseTypes": ["SLEEP"],
"animations": ["q.bedrock('vibrava', 'sleep')"],
"namedAnimations": {
"cry": "q.bedrock_stateful('dummy', 'cry')"
}
}
}
}
@@ -1473,6 +1473,9 @@
"cobblemon.ui.pokedex.weight": "Weight: %1$skg",
"cobblemon.ui.pokedex.height": "Height: %1$sm",
"cobblemon.ui.pokedex.scan.berry.stage": "Stage: %s",
"cobblemon.ui.pokedex.scan.berry.mulch_none": "No Mulch",
"cobblemon.ui.pokedex.evolution.item_interact.tooltip": "Needs %1$s item to evolve",
"cobblemon.ui.pokedex.evolution.trade.tooltip.with_species": "Evolves when traded with %1$s",
"cobblemon.ui.pokedex.evolution.trade.tooltip.with_any_species": "Evolves when traded",
@@ -1147,33 +1147,6 @@
{ "name": "cobblemon:block/item_block/jar_glass_liquid_step_4", "volume": 0.2 }
]
},
"block.item_block.teacup.place": {
"subtitle": "subtitles.block.generic.place",
"sounds": [
{ "name": "cobblemon:block/item_block/teacup_place_1", "volume": 0.3 },
{ "name": "cobblemon:block/item_block/teacup_place_2", "volume": 0.3 },
{ "name": "cobblemon:block/item_block/teacup_place_3", "volume": 0.3 },
{ "name": "cobblemon:block/item_block/teacup_place_4", "volume": 0.3 }
]
},
"block.item_block.teacup.break": {
"subtitle": "subtitles.block.generic.break",
"sounds": [
{ "name": "cobblemon:block/item_block/teacup_break_1", "volume": 0.4 },
{ "name": "cobblemon:block/item_block/teacup_break_2", "volume": 0.4 },
{ "name": "cobblemon:block/item_block/teacup_break_3", "volume": 0.4 },
{ "name": "cobblemon:block/item_block/teacup_break_4", "volume": 0.4 }
]
},
"block.item_block.teacup.step": {
"subtitle": "subtitles.block.generic.footsteps",
"sounds": [
{ "name": "cobblemon:block/item_block/teacup_step_1", "volume": 0.2 },
{ "name": "cobblemon:block/item_block/teacup_step_2", "volume": 0.2 },
{ "name": "cobblemon:block/item_block/teacup_step_3", "volume": 0.2 },
{ "name": "cobblemon:block/item_block/teacup_step_4", "volume": 0.2 }
]
},
"move.absorb.actor": {
"sounds": [ { "name": "cobblemon:move/absorb/absorb_actor", "volume": 0.3 } ]
},
@@ -1680,18 +1653,6 @@
"move.horndrill.target_2": {
"sounds": [ { "name": "cobblemon:move/horndrill/horndrill_target_2", "volume": 1.0 } ]
},
"move.playrough.actor_1": {
"sounds": [ { "name": "cobblemon:move/playrough/playrough_actor_1", "volume": 1.0 } ]
},
"move.playrough.actor_2": {
"sounds": [ { "name": "cobblemon:move/playrough/playrough_actor_2", "volume": 1.0 } ]
},
"move.playrough.actor_3": {
"sounds": [ { "name": "cobblemon:move/playrough/playrough_actor_3", "volume": 1.0 } ]
},
"move.playrough.target": {
"sounds": [ { "name": "cobblemon:move/playrough/playrough_target", "volume": 1.0 } ]
},
"move.gigatonhammer.actor": {
"sounds": [ { "name": "cobblemon:move/gigatonhammer/gigatonhammer_actor", "volume": 1.0 } ]
},
@@ -2555,12 +2516,12 @@
"stepsound.grass.minecraft": {
"subtitle": "subtitles.block.generic.footsteps",
"sounds": [
{ "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 }
{ "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 }
]
},
"stepsound.glass.minecraft": {
@@ -2586,23 +2547,23 @@
"stepsound.mud.minecraft": {
"subtitle": "subtitles.block.generic.footsteps",
"sounds": [
{ "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 }
{ "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 }
]
},
"stepsound.stone.minecraft": {
"subtitle": "subtitles.block.generic.footsteps",
"sounds": [
{ "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 }
{ "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 }
]
},
"stepsound.wood.minecraft": {
@@ -14,20 +14,10 @@
"entityCondition": "q.entity.is_user == true && q.missed(q.entity.uuid) == false",
"expressions": ["q.play_animation(q.bedrock_stateful('playrough', 'actor'))"]
},
{
"type": "entity_molang",
"entityCondition": "q.entity.is_user == true && q.missed(q.entity.uuid) == false",
"expressions": ["q.sound('move.playrough.actor_1');"]
},
{
"type": "pause",
"pause": 0.125
},
{
"type": "entity_molang",
"entityCondition": "q.entity.is_user == false && q.missed(q.entity.uuid) == false",
"expressions": ["q.sound('move.playrough.actor_2');"]
},
{
"type": "entity_particles",
"entityCondition": "q.entity.is_user == false && q.missed(q.entity.uuid) == false",
@@ -45,21 +35,7 @@
},
{
"type": "pause",
"pause": 0.5
},
{
"type": "entity_molang",
"entityCondition": "q.entity.is_user == true && q.missed(q.entity.uuid) == false",
"expressions": ["q.sound('move.playrough.actor_3');"]
},
{
"type": "entity_molang",
"entityCondition": "q.entity.is_user == false && q.missed(q.entity.uuid) == false",
"expressions": ["q.sound('move.playrough.target');"]
},
{
"type": "pause",
"pause": 0.225
"pause": 0.725
},
{
"type": "remove_holds",
@@ -0,0 +1,36 @@
{
"parent": "cobblemon:recipes/consumables",
"criteria": {
"has_the_recipe": {
"conditions": {
"recipe": "cobblemon:campfire_pot/sweet_heart"
},
"trigger": "minecraft:recipe_unlocked"
},
"has_eggant": {
"conditions": {
"items": [
{
"items": "cobblemon:eggant_berry"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"on_correct_version": {
"trigger": "minecraft:impossible"
}
},
"requirements": [
[
"has_the_recipe",
"has_eggant",
"on_correct_version"
]
],
"rewards": {
"recipes": [
"cobblemon:campfire_pot/sweet_heart"
]
}
}
@@ -0,0 +1,24 @@
{
"type": "cobblemon:cooking_pot_shapeless",
"group": "sweet_heart",
"category": "misc",
"ingredients": [
{
"item": "cobblemon:eggant_berry"
},
{
"item": "minecraft:cocoa_beans"
},
{
"item": "minecraft:cocoa_beans"
},
{
"item": "minecraft:sugar"
}
],
"result": {
"id": "cobblemon:sweet_heart"
},
"seasoningTag": "cobblemon:empty",
"seasoningProcessors": []
}
@@ -7,7 +7,6 @@
"maleRatio": 0.875,
"height": 18,
"weight": 590,
"silenceStepSounds": true,
"pokedex": [
"cobblemon.species.aerodactyl.desc"
],
@@ -7,7 +7,6 @@
"maleRatio": 0.5,
"height": 22,
"weight": 2100,
"silenceStepSounds": true,
"pokedex": [
"cobblemon.species.dragonite.desc"
],
@@ -7,7 +7,6 @@
"maleRatio": 0.5,
"height": 13,
"weight": 1,
"silenceStepSounds": true,
"pokedex": [
"cobblemon.species.gastly.desc"
],
@@ -7,7 +7,6 @@
"maleRatio": 0.5,
"height": 25,
"weight": 2200,
"silenceStepSounds": true,
"pokedex": [
"cobblemon.species.lapras.desc"
],
@@ -7,7 +7,6 @@
"maleRatio": -1,
"height": 3,
"weight": 60,
"silenceStepSounds": true,
"pokedex": [
"cobblemon.species.magnemite.desc"
],
@@ -7,7 +7,6 @@
"maleRatio": -1,
"height": 10,
"weight": 600,
"silenceStepSounds": true,
"pokedex": [
"cobblemon.species.magneton.desc"
],
@@ -7,7 +7,6 @@
"maleRatio": 0.5,
"height": 11,
"weight": 335,
"silenceStepSounds": true,
"pokedex": [
"cobblemon.species.ariados.desc"
],
Loaded 100 of 186 files, more files were not shown because too many files have changed in this diff. Show more