diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/BayleefModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/BayleefModel.kt deleted file mode 100644 index 8268768d8f..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/BayleefModel.kt +++ /dev/null @@ -1,83 +0,0 @@ -/* - * 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.gen2 - -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -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.Pose -import com.cobblemon.mod.common.entity.PoseType -import com.cobblemon.mod.common.util.isBattling -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class BayleefModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame { - override val rootPart = root.registerChildWithAllChildren("bayleef") - override val head = getPart("head") - - override var portraitScale = 1.8F - override var portraitTranslation = Vec3(-0.5, 0.7, 0.0) - - override var profileScale = 0.71F - override var profileTranslation = Vec3(0.0, 0.65, 0.0) - - lateinit var standing: Pose - lateinit var walking: Pose - lateinit var sleep: Pose - lateinit var battleidle: Pose - - override val cryAnimation = CryProvider { bedrockStateful("bayleef", "cry") } - - override fun registerPoses() { - val blink = quirk { bedrockStateful("bayleef", "blink") } - sleep = registerPose( - poseType = PoseType.SLEEP, - animations = arrayOf(bedrock("bayleef", "sleep")) - ) - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES, - transformTicks = 10, - condition = { !it.isBattling }, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("bayleef", "ground_idle") - ) - ) - - walking = registerPose( - poseName = "walking", - poseTypes = PoseType.MOVING_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("bayleef", "ground_walk") - ) - ) - - battleidle = registerPose( - poseName = "battle_idle", - poseTypes = PoseType.STATIONARY_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - condition = { it.isBattling }, - animations = arrayOf( - singleBoneLook(), - bedrock("bayleef", "battle_idle") - ) - ) - } -// override fun getFaintAnimation( -// pokemonEntity: PokemonEntity, -// state: PosableState -// ) = if (state.isPosedIn(standing, walking, battleidle, sleep)) bedrockStateful("bayleef", "faint") else null -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/ChikoritaModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/ChikoritaModel.kt deleted file mode 100644 index 980b3a6b45..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/ChikoritaModel.kt +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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.gen2 - -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -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.Pose -import com.cobblemon.mod.common.entity.PoseType -import com.cobblemon.mod.common.util.isBattling -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class ChikoritaModel(root: ModelPart) : PokemonPosableModel(root), HeadedFrame { - override val rootPart = root.registerChildWithAllChildren("chikorita") - override val head = getPart("head") - - override var portraitScale = 1.7F - override var portraitTranslation = Vec3(-0.1, -0.32, 0.0) - - override var profileScale = 0.71F - override var profileTranslation = Vec3(0.0, 0.67, 0.0) - - lateinit var standing: Pose - lateinit var walking: Pose - lateinit var sleep: Pose - lateinit var battleidle: Pose - - override val cryAnimation = CryProvider { bedrockStateful("chikorita", "cry") } - - override fun registerPoses() { - val blink = quirk { bedrockStateful("chikorita", "blink") } - sleep = registerPose( - poseType = PoseType.SLEEP, - animations = arrayOf(bedrock("chikorita", "sleep")) - ) - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES, - transformTicks = 10, - condition = { !it.isBattling }, - quirks = arrayOf(blink), - animations = arrayOf( - bedrock("chikorita", "ground_idle") - ) - ) - - walking = registerPose( - poseName = "walking", - poseTypes = PoseType.MOVING_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - animations = arrayOf( - bedrock("chikorita", "ground_walk") - ) - ) - - battleidle = registerPose( - poseName = "battle_idle", - poseTypes = PoseType.STATIONARY_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - condition = { it.isBattling }, - animations = arrayOf( - bedrock("chikorita", "battle_idle") - ) - ) - } -// override fun getFaintAnimation( -// pokemonEntity: PokemonEntity, -// state: PosableState -// ) = if (state.isPosedIn(standing, walking, battleidle, sleep)) bedrockStateful("chikorita", "faint") else null -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/CroconawModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/CroconawModel.kt deleted file mode 100644 index 811d4a0f9b..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/CroconawModel.kt +++ /dev/null @@ -1,152 +0,0 @@ -/* - * 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.gen2 - -import com.cobblemon.mod.common.client.render.models.blockbench.PosableState -import com.cobblemon.mod.common.client.render.models.blockbench.createTransformation -import com.cobblemon.mod.common.client.render.models.blockbench.frame.BipedFrame -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -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.ModelPartTransformation -import com.cobblemon.mod.common.client.render.models.blockbench.pose.Pose -import com.cobblemon.mod.common.entity.PoseType -import com.cobblemon.mod.common.util.isBattling -import com.cobblemon.mod.common.util.isUnderWater -import com.cobblemon.mod.common.util.isInWater -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class CroconawModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame, BipedFrame { - override val rootPart = root.registerChildWithAllChildren("croconaw") - override val head = getPart("head") - - override val leftLeg = getPart("leg_left") - override val rightLeg = getPart("leg_right") - - override var portraitScale = 1.3F - override var portraitTranslation = Vec3(-0.2, 1.0, 0.0) - - override var profileScale = 0.6F - override var profileTranslation = Vec3(0.0, 0.76, 0.0) - - lateinit var standing: Pose - lateinit var walk: Pose - lateinit var floating: Pose - lateinit var swimming: Pose - lateinit var sleep: Pose - lateinit var watersleep: Pose - lateinit var battleidle: Pose - lateinit var water_surface_idle: Pose - lateinit var water_surface_swim: Pose - - val wateroffset = -10 - - override val cryAnimation = CryProvider { bedrockStateful("croconaw", "cry") } - - override fun registerPoses() { - val blink = quirk { bedrockStateful("croconaw", "blink")} - - sleep = registerPose( - poseName = "sleeping", - poseType = PoseType.SLEEP, - condition = { !it.isInWater }, - animations = arrayOf(bedrock("croconaw", "sleep")) - ) - - watersleep = registerPose( - poseName = "water_sleeping", - poseType = PoseType.SLEEP, - condition = { it.isInWater }, - animations = arrayOf(bedrock("croconaw", "water_sleep")) - ) - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.UI_POSES + PoseType.STAND, - condition = { !it.isBattling && !it.isInWater && !it.isUnderWater }, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("croconaw", "ground_idle") - ) - ) - - walk = registerPose( - poseName = "walk", - poseType = PoseType.WALK, - condition = { !it.isInWater && !it.isUnderWater }, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("croconaw", "ground_walk") - ) - ) - - floating = registerPose( - poseName = "floating", - poseType = PoseType.FLOAT, - condition = { it.isUnderWater }, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("croconaw", "water_idle") - ) - ) - - swimming = registerPose( - poseName = "swimming", - transformTicks = 10, - condition = { it.isUnderWater }, - poseType = PoseType.SWIM, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("croconaw", "water_swim"), - ) - ) - - battleidle = registerPose( - poseName = "battle_idle", - poseTypes = PoseType.STATIONARY_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - condition = { it.isBattling && !it.isInWater }, - animations = arrayOf( - singleBoneLook(), - bedrock("croconaw", "battle_idle") - ) - ) - - water_surface_idle = registerPose( - poseName = "surface_idle", - poseTypes = PoseType.STATIONARY_POSES, - quirks = arrayOf(blink), - condition = { !it.isUnderWater && it.isInWater }, - animations = arrayOf( - singleBoneLook(), - bedrock("croconaw", "surfacewater_idle"), - ), - transformedParts = arrayOf(rootPart.createTransformation().addPosition(ModelPartTransformation.Y_AXIS, wateroffset)) - ) - - water_surface_swim = registerPose( - poseName = "surface_swim", - poseTypes = PoseType.MOVING_POSES, - quirks = arrayOf(blink), - condition = { !it.isUnderWater && it.isInWater }, - animations = arrayOf( - singleBoneLook(), - bedrock("croconaw", "surfacewater_swim"), - ), - transformedParts = arrayOf(rootPart.createTransformation().addPosition(ModelPartTransformation.Y_AXIS, wateroffset)) - ) - } - override fun getFaintAnimation(state: PosableState) = if (state.isPosedIn(standing, walk, battleidle, sleep)) bedrockStateful("croconaw", "faint") else if (state.isPosedIn(water_surface_idle, water_surface_swim, watersleep )) bedrockStateful("croconaw", "faint") else null -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/CyndaquilHisuiBiasModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/CyndaquilHisuiBiasModel.kt deleted file mode 100644 index 5e49ea0562..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/CyndaquilHisuiBiasModel.kt +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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.gen2 - -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -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 com.cobblemon.mod.common.util.isBattling -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class CyndaquilHisuiBiasModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame { - override val rootPart = root.registerChildWithAllChildren("cyndaquil_hisui_bias") - override val head = getPart("head") - - override var portraitScale = 1.4F - override var portraitTranslation = Vec3(-0.26, 0.0, 0.0) - - override var profileScale = 0.65F - override var profileTranslation = Vec3(0.0, 0.8, 0.0) - - lateinit var standing: CobblemonPose - lateinit var walking: CobblemonPose - lateinit var sleep: CobblemonPose - lateinit var battleidle: CobblemonPose - - override val cryAnimation = CryProvider { if (it.isBattling) bedrockStateful("cyndaquil_hisui_bias", "battle_cry") else bedrockStateful("cyndaquil_hisui_bias", "cry") } - - override fun registerPoses() { -// val sneeze = quirk { bedrockStateful("cyndaquil_hisui_bias", "sneeze_quirk") } - - sleep = registerPose( - poseType = PoseType.SLEEP, - animations = arrayOf(bedrock("cyndaquil_hisui_bias", "sleep")) - ) - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES, - transformTicks = 10, - condition = { !it.isBattling }, -// quirks = arrayOf(sneeze), - animations = arrayOf( - singleBoneLook(), - bedrock("cyndaquil_hisui_bias", "ground_idle") - ) - ) - - walking = registerPose( - poseName = "walking", - poseTypes = PoseType.MOVING_POSES, - transformTicks = 10, -// quirks = arrayOf(sneeze), - animations = arrayOf( - singleBoneLook(), - bedrock("cyndaquil_hisui_bias", "ground_walk") - ) - ) - - battleidle = registerPose( - poseName = "battle_idle", - poseTypes = PoseType.STATIONARY_POSES, - transformTicks = 10, -// quirks = arrayOf(sneeze), - condition = { it.isBattling }, - animations = arrayOf( - singleBoneLook(minPitch = 0F), - bedrock("cyndaquil_hisui_bias", "battle_idle") - ) - ) - } -// override fun getFaintAnimation( -// pokemonEntity: PokemonEntity, -// state: PosableState -// ) = if (state.isPosedIn(standing, walking, battleidle, sleep)) bedrockStateful("cyndaquil_hisui_bias", "faint") else null -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/CyndaquilModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/CyndaquilModel.kt deleted file mode 100644 index 4e433d9bcb..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/CyndaquilModel.kt +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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.gen2 - -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -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.Pose -import com.cobblemon.mod.common.entity.PoseType -import com.cobblemon.mod.common.util.isBattling -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class CyndaquilModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame { - override val rootPart = root.registerChildWithAllChildren("cyndaquil") - override val head = getPart("head") - - override var portraitScale = 1.4F - override var portraitTranslation = Vec3(-0.26, 0.0, 0.0) - - override var profileScale = 0.65F - override var profileTranslation = Vec3(0.0, 0.8, 0.0) - - lateinit var standing: Pose - lateinit var walking: Pose - lateinit var sleep: Pose - lateinit var battleidle: Pose - - override val cryAnimation = CryProvider { if (it.isBattling) bedrockStateful("cyndaquil", "battle_cry") else bedrockStateful("cyndaquil", "cry") } - - override fun registerPoses() { -// val sneeze = quirk { bedrockStateful("cyndaquil", "sneeze_quirk") } - - sleep = registerPose( - poseType = PoseType.SLEEP, - animations = arrayOf(bedrock("cyndaquil", "sleep")) - ) - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES, - transformTicks = 10, - condition = { !it.isBattling }, -// quirks = arrayOf(sneeze), - animations = arrayOf( - singleBoneLook(), - bedrock("cyndaquil", "ground_idle") - ) - ) - - walking = registerPose( - poseName = "walking", - poseTypes = PoseType.MOVING_POSES, - transformTicks = 10, -// quirks = arrayOf(sneeze), - animations = arrayOf( - singleBoneLook(), - bedrock("cyndaquil", "ground_walk") - ) - ) - - battleidle = registerPose( - poseName = "battle_idle", - poseTypes = PoseType.STATIONARY_POSES, - transformTicks = 10, -// quirks = arrayOf(sneeze), - condition = { it.isBattling }, - animations = arrayOf( - singleBoneLook(minPitch = 0F), - bedrock("cyndaquil", "battle_idle") - ) - ) - } -// override fun getFaintAnimation( -// pokemonEntity: PokemonEntity, -// state: PosableState -// ) = if (state.isPosedIn(standing, walking, battleidle, sleep)) bedrockStateful("cyndaquil", "faint") else null -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/MeganiumModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/MeganiumModel.kt deleted file mode 100644 index b5ba602317..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/MeganiumModel.kt +++ /dev/null @@ -1,83 +0,0 @@ -/* - * 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.gen2 - -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -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.Pose -import com.cobblemon.mod.common.entity.PoseType -import com.cobblemon.mod.common.util.isBattling -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class MeganiumModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame { - override val rootPart = root.registerChildWithAllChildren("meganium") - override val head = getPart("head") - - override var portraitScale = 1.2F - override var portraitTranslation = Vec3(-0.7, 2.4, 0.0) - - override var profileScale = 0.43F - override var profileTranslation = Vec3(0.0, 1.12, 0.0) - - lateinit var standing: Pose - lateinit var walking: Pose - lateinit var sleep: Pose - lateinit var battleidle: Pose - - override val cryAnimation = CryProvider { bedrockStateful("meganium", "cry") } - - override fun registerPoses() { - val blink = quirk { bedrockStateful("meganium", "blink") } - sleep = registerPose( - poseType = PoseType.SLEEP, - animations = arrayOf(bedrock("meganium", "sleep")) - ) - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES, - transformTicks = 10, - condition = { !it.isBattling }, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("meganium", "ground_idle") - ) - ) - - walking = registerPose( - poseName = "walking", - poseTypes = PoseType.MOVING_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("meganium", "ground_walk") - ) - ) - - battleidle = registerPose( - poseName = "battle_idle", - poseTypes = PoseType.STATIONARY_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - condition = { it.isBattling }, - animations = arrayOf( - singleBoneLook(), - bedrock("meganium", "battle_idle") - ) - ) - } -// override fun getFaintAnimation( -// pokemonEntity: PokemonEntity, -// state: PosableState -// ) = if (state.isPosedIn(standing, walking, battleidle, sleep)) bedrockStateful("meganium", "faint") else null -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/QuilavaModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/QuilavaModel.kt deleted file mode 100644 index a416313548..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/QuilavaModel.kt +++ /dev/null @@ -1,88 +0,0 @@ -/* - * 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.gen2 - -import com.cobblemon.mod.common.client.render.models.blockbench.animation.PrimaryAnimation -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -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.Pose -import com.cobblemon.mod.common.entity.PoseType -import com.cobblemon.mod.common.util.isBattling -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class QuilavaModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame { - override val rootPart = root.registerChildWithAllChildren("quilava") - override val head = getPart("head") - - override var portraitScale = 1.5F - override var portraitTranslation = Vec3(-0.65, -0.6, 0.0) - - override var profileScale = 0.7F - override var profileTranslation = Vec3(0.0, 0.65, 0.0) - - lateinit var standing: Pose - lateinit var walking: Pose - lateinit var sleep: Pose - lateinit var battleidle: Pose - - override val cryAnimation = CryProvider { if (it.isBattling) bedrockStateful("quilava", "battle_cry") else PrimaryAnimation(bedrockStateful("quilava", "cry")) } - - override fun registerPoses() { - val blink = quirk { bedrockStateful("quilava", "blink") } - - sleep = registerPose( - poseType = PoseType.SLEEP, - animations = arrayOf(bedrock("quilava", "sleep")) - ) - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES, - transformTicks = 10, - condition = { !it.isBattling }, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("quilava", "fire_idle"), - bedrock("quilava", "ground_idle") - ) - ) - - walking = registerPose( - poseName = "walking", - poseTypes = PoseType.MOVING_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("quilava", "fire_idle"), - bedrock("quilava", "ground_walk") - ) - ) - - battleidle = registerPose( - poseName = "battle_idle", - poseTypes = PoseType.STATIONARY_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - condition = { it.isBattling }, - animations = arrayOf( - singleBoneLook(), - bedrock("quilava", "fire_idle"), - bedrock("quilava", "battle_idle") - ) - ) - } -// override fun getFaintAnimation( -// pokemonEntity: PokemonEntity, -// state: PosableState -// ) = if (state.isPosedIn(standing, walking, battleidle, sleep)) bedrockStateful("quilava", "faint") else null -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/TyphlosionHisuianModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/TyphlosionHisuianModel.kt deleted file mode 100644 index 34fd55dc27..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/TyphlosionHisuianModel.kt +++ /dev/null @@ -1,114 +0,0 @@ -/* - * 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.gen2 - -import com.cobblemon.mod.common.client.render.models.blockbench.createTransformation -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -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 com.cobblemon.mod.common.util.isBattling -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class TyphlosionHisuianModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame { - override val rootPart = root.registerChildWithAllChildren("typhlosion") - override val head = getPart("head") - - override var portraitScale = 1.4F - override var portraitTranslation = Vec3(-0.45, 2.37, 0.0) - - override var profileScale = 0.5F - override var profileTranslation = Vec3(0.0, 1.0, 0.0) - - lateinit var standing: CobblemonPose - lateinit var walking: CobblemonPose - lateinit var sleep: CobblemonPose - lateinit var battleidle: CobblemonPose - - val spoopy_flame = getPart("fire_main") - val spoopy_orb1 = getPart("fire_orb_right1") - val spoopy_orb2 = getPart("fire_orb_middle1") - val spoopy_orb3 = getPart("fire_orb_left1") - - override val cryAnimation = CryProvider { if (it.isBattling) bedrockStateful("typhlosion_hisuian", "battle_cry") else bedrockStateful("typhlosion_hisuian", "cry") } - - override fun registerPoses() { - val blink = quirk { bedrockStateful("typhlosion_hisuian", "blink") } - - sleep = registerPose( - poseType = PoseType.SLEEP, - transformedParts = arrayOf( - spoopy_flame.createTransformation().withVisibility(visibility = false), - spoopy_orb1.createTransformation().withVisibility(visibility = false), - spoopy_orb2.createTransformation().withVisibility(visibility = false), - spoopy_orb3.createTransformation().withVisibility(visibility = false) - ), - animations = arrayOf(bedrock("typhlosion_hisuian", "sleep")) - ) - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES, - transformTicks = 10, - condition = { !it.isBattling }, - quirks = arrayOf(blink), - transformedParts = arrayOf( - spoopy_flame.createTransformation().withVisibility(visibility = false), - spoopy_orb1.createTransformation().withVisibility(visibility = false), - spoopy_orb2.createTransformation().withVisibility(visibility = false), - spoopy_orb3.createTransformation().withVisibility(visibility = false) - ), - animations = arrayOf( - singleBoneLook(minPitch = 0F), - bedrock("typhlosion_hisuian", "ground_idle") - ) - ) - - walking = registerPose( - poseName = "walking", - poseTypes = PoseType.MOVING_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - transformedParts = arrayOf( - spoopy_flame.createTransformation().withVisibility(visibility = false), - spoopy_orb1.createTransformation().withVisibility(visibility = false), - spoopy_orb2.createTransformation().withVisibility(visibility = false), - spoopy_orb3.createTransformation().withVisibility(visibility = false) - ), - animations = arrayOf( - singleBoneLook(minPitch = 0F), - bedrock("typhlosion_hisuian", "ground_walk") - ) - ) - - battleidle = registerPose( - poseName = "battle_idle", - poseTypes = PoseType.STATIONARY_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - transformedParts = arrayOf( - spoopy_flame.createTransformation().withVisibility(visibility = true), - spoopy_orb1.createTransformation().withVisibility(visibility = true), - spoopy_orb2.createTransformation().withVisibility(visibility = true), - spoopy_orb3.createTransformation().withVisibility(visibility = true) - ), - condition = { it.isBattling }, - animations = arrayOf( - singleBoneLook(minPitch = 0F), - bedrock("typhlosion_hisuian", "battle_idle") - ) - ) - } -// override fun getFaintAnimation( -// pokemonEntity: PokemonEntity, -// state: PosableState -// ) = if (state.isPosedIn(standing, walking, battleidle, sleep)) bedrockStateful("typhlosion_hisuian", "faint") else null -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/TyphlosionModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/TyphlosionModel.kt deleted file mode 100644 index 3a4a9a7133..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen2/TyphlosionModel.kt +++ /dev/null @@ -1,85 +0,0 @@ -/* - * 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.gen2 - -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -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.Pose -import com.cobblemon.mod.common.entity.PoseType -import com.cobblemon.mod.common.entity.pokemon.PokemonEntity -import com.cobblemon.mod.common.util.isBattling -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class TyphlosionModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame { - override val rootPart = root.registerChildWithAllChildren("typhlosion") - override val head = getPart("head") - - override var portraitScale = 1.4F - override var portraitTranslation = Vec3(-0.65, 1.8, 0.0) - - override var profileScale = 0.5F - override var profileTranslation = Vec3(0.0, 1.0, 0.0) - - lateinit var standing: Pose - lateinit var walking: Pose - lateinit var sleep: Pose - lateinit var battleidle: Pose - - override val cryAnimation = CryProvider { state -> if ((state.getEntity() as? PokemonEntity)?.isBattling == true) bedrockStateful("typhlosion", "battle_cry") else bedrockStateful("typhlosion", "cry") } - - override fun registerPoses() { - val blink = quirk { bedrockStateful("typhlosion", "blink") } - - sleep = registerPose( - poseType = PoseType.SLEEP, - animations = arrayOf(bedrock("typhlosion", "sleep")) - ) - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES, - transformTicks = 10, - condition = { !it.isBattling }, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(minPitch = 0F), - bedrock("typhlosion", "ground_idle") - ) - ) - - walking = registerPose( - poseName = "walking", - poseTypes = PoseType.MOVING_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(minPitch = 0F), - bedrock("typhlosion", "ground_walk") - ) - ) - - battleidle = registerPose( - poseName = "battle_idle", - poseTypes = PoseType.STATIONARY_POSES, - transformTicks = 10, - quirks = arrayOf(blink), - condition = { it.isBattling }, - animations = arrayOf( - singleBoneLook(minPitch = 0F), - bedrock("typhlosion", "battle_idle") - ) - ) - } -// override fun getFaintAnimation( -// pokemonEntity: PokemonEntity, -// state: PosableState -// ) = if (state.isPosedIn(standing, walking, battleidle, sleep)) bedrockStateful("typhlosion", "faint") else null -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/repository/VaryingModelRepository.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/repository/VaryingModelRepository.kt index 8d0d660c72..af95208634 100644 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/repository/VaryingModelRepository.kt +++ b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/repository/VaryingModelRepository.kt @@ -453,9 +453,7 @@ object VaryingModelRepository { inbuilt("grimmsnarl", ::GrimmsnarlModel) inbuilt("klefki", ::KlefkiModel) inbuilt("samurott_hisuian", ::SamurottHisuianModel) - inbuilt("cyndaquil_hisui_bias", ::CyndaquilHisuiBiasModel) inbuilt("quilava_hisui_bias", ::QuilavaHisuiBiasModel) - inbuilt("typhlosion_hisuian", ::TyphlosionHisuianModel) inbuilt("rowlet_hisui_bias", ::RowletHisuiBiasModel) inbuilt("dartrix_hisui_bias", ::DartrixHisuiBiasModel) inbuilt("decidueye_hisuian", ::DecidueyeHisuianModel) diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0152_chikorita/chikorita.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0152_chikorita/chikorita.json new file mode 100644 index 0000000000..a4ab934397 --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0152_chikorita/chikorita.json @@ -0,0 +1,66 @@ +{ + "rootBone": "chikorita", + "portraitScale": 1.7, + "portraitTranslation": [ + -0.1, + -0.32, + 0 + ], + "profileScale": 0.71, + "profileTranslation": [ + 0, + 0.67, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('chikorita', 'cry')" + }, + "poses": { + "sleep": { + "poseTypes": [ + "SLEEP" + ], + "animations": [ + "q.bedrock('chikorita', 'sleep')" + ] + }, + "standing": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER", "PROFILE", "PORTRAIT" + ], + "isBattle": false, + "animations": [ + "q.bedrock('chikorita', 'ground_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('chikorita', 'blink')" + ] + }, + "walking": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.bedrock('chikorita', 'ground_walk')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('chikorita', 'blink')" + ] + }, + "battle_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "isBattle": true, + "animations": [ + "q.bedrock('chikorita', 'battle_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('chikorita', 'blink')" + ] + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0153_bayleef/bayleef.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0153_bayleef/bayleef.json new file mode 100644 index 0000000000..6dc6d939b1 --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0153_bayleef/bayleef.json @@ -0,0 +1,69 @@ +{ + "rootBone": "bayleef", + "portraitScale": 1.8, + "portraitTranslation": [ + -0.5, + 0.7, + 0 + ], + "profileScale": 0.71, + "profileTranslation": [ + 0, + 0.65, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('bayleef', 'cry')" + }, + "poses": { + "sleep": { + "poseTypes": [ + "SLEEP" + ], + "animations": [ + "q.bedrock('bayleef', 'sleep')" + ] + }, + "standing": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER", "PROFILE", "PORTRAIT" + ], + "animations": [ + "q.look('head')", + "q.bedrock('bayleef', 'ground_idle')" + ], + "isBattle": false, + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('bayleef', 'blink')" + ] + }, + "walking": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.look('head')", + "q.bedrock('bayleef', 'ground_walk')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('bayleef', 'blink')" + ] + }, + "battle_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "animations": [ + "q.look('head')", + "q.bedrock('bayleef', 'battle_idle')" + ], + "isBattle": true, + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('bayleef', 'blink')" + ] + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0154_meganium/meganium.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0154_meganium/meganium.json new file mode 100644 index 0000000000..4eacb8797f --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0154_meganium/meganium.json @@ -0,0 +1,69 @@ +{ + "rootBone": "meganium", + "portraitScale": 1.2, + "portraitTranslation": [ + -0.7, + 2.4, + 0 + ], + "profileScale": 0.43, + "profileTranslation": [ + 0, + 1.12, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('meganium', 'cry')" + }, + "poses": { + "sleep": { + "poseTypes": [ + "SLEEP" + ], + "animations": [ + "q.bedrock('meganium', 'sleep')" + ] + }, + "standing": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER", "PROFILE", "PORTRAIT" + ], + "isBattle": false, + "animations": [ + "q.look('head')", + "q.bedrock('meganium', 'ground_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('meganium', 'blink')" + ] + }, + "walking": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.look('head')", + "q.bedrock('meganium', 'ground_walk')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('meganium', 'blink')" + ] + }, + "battle_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "isBattle": true, + "animations": [ + "q.look('head')", + "q.bedrock('meganium', 'battle_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('meganium', 'blink')" + ] + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0155_cyndaquil/cyndaquil.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0155_cyndaquil/cyndaquil.json new file mode 100644 index 0000000000..590e213922 --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0155_cyndaquil/cyndaquil.json @@ -0,0 +1,60 @@ +{ + "rootBone": "cyndaquil", + "portraitScale": 1.4, + "portraitTranslation": [ + -0.26, + 0, + 0 + ], + "profileScale": 0.65, + "profileTranslation": [ + 0, + 0.8, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('cyndaquil', 'cry')" + }, + "poses": { + "sleep": { + "poseTypes": [ + "SLEEP" + ], + "animations": [ + "q.bedrock('cyndaquil', 'sleep')" + ] + }, + "standing": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER", "PROFILE", "PORTRAIT" + ], + "isBattle": false, + "animations": [ + "q.look('head')", + "q.bedrock('cyndaquil', 'ground_idle')" + ], + "transformTicks": 10 + }, + "walking": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.look('head')", + "q.bedrock('cyndaquil', 'ground_walk')" + ], + "transformTicks": 10 + }, + "battle_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "isBattle": true, + "animations": [ + "q.look('head')", + "q.bedrock('cyndaquil', 'battle_idle')" + ], + "transformTicks": 10 + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0155_cyndaquil/cyndaquil_hisui_bias.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0155_cyndaquil/cyndaquil_hisui_bias.json new file mode 100644 index 0000000000..7c3be49321 --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0155_cyndaquil/cyndaquil_hisui_bias.json @@ -0,0 +1,60 @@ +{ + "rootBone": "cyndaquil_hisui_bias", + "portraitScale": 1.4, + "portraitTranslation": [ + -0.26, + 0, + 0 + ], + "profileScale": 0.65, + "profileTranslation": [ + 0, + 0.8, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('cyndaquil_hisui_bias', 'cry')" + }, + "poses": { + "sleep": { + "poseTypes": [ + "SLEEP" + ], + "animations": [ + "q.bedrock('cyndaquil_hisui_bias', 'sleep')" + ] + }, + "standing": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER", "PROFILE", "PORTRAIT" + ], + "isBattle": false, + "animations": [ + "q.look('head')", + "q.bedrock('cyndaquil_hisui_bias', 'ground_idle')" + ], + "transformTicks": 10 + }, + "walking": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.look('head')", + "q.bedrock('cyndaquil_hisui_bias', 'ground_walk')" + ], + "transformTicks": 10 + }, + "battle_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "isBattle": true, + "animations": [ + "q.look('head')", + "q.bedrock('cyndaquil_hisui_bias', 'battle_idle')" + ], + "transformTicks": 10 + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0156_quilava/quilava.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0156_quilava/quilava.json new file mode 100644 index 0000000000..61e778503f --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0156_quilava/quilava.json @@ -0,0 +1,72 @@ +{ + "rootBone": "quilava", + "portraitScale": 1.5, + "portraitTranslation": [ + -0.65, + -0.6, + 0 + ], + "profileScale": 0.7, + "profileTranslation": [ + 0, + 0.65, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('quilava', 'cry')" + }, + "poses": { + "sleep": { + "poseTypes": [ + "SLEEP" + ], + "animations": [ + "q.bedrock('quilava', 'sleep')" + ] + }, + "standing": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER", "PROFILE", "PORTRAIT" + ], + "isBattle": false, + "animations": [ + "q.look('head')", + "q.bedrock('quilava', 'fire_idle')", + "q.bedrock('quilava', 'ground_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('quilava', 'blink')" + ] + }, + "walking": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.look('head')", + "q.bedrock('quilava', 'fire_idle')", + "q.bedrock('quilava', 'ground_walk')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('quilava', 'blink')" + ] + }, + "battle_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "isBattle": true, + "animations": [ + "q.look('head')", + "q.bedrock('quilava', 'fire_idle')", + "q.bedrock('quilava', 'battle_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('quilava', 'blink')" + ] + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0156_quilava/quilava_hisui_bias.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0156_quilava/quilava_hisui_bias.json new file mode 100644 index 0000000000..5a00bb2ced --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0156_quilava/quilava_hisui_bias.json @@ -0,0 +1,72 @@ +{ + "rootBone": "quilava_hisui_bias", + "portraitScale": 1.5, + "portraitTranslation": [ + -0.65, + -0.6, + 0 + ], + "profileScale": 0.7, + "profileTranslation": [ + 0, + 0.65, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('quilava_hisui_bias', 'cry')" + }, + "poses": { + "sleep": { + "poseTypes": [ + "SLEEP" + ], + "animations": [ + "q.bedrock('quilava_hisui_bias', 'sleep')" + ] + }, + "standing": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER", "PROFILE", "PORTRAIT" + ], + "isBattle": false, + "animations": [ + "q.look('head')", + "q.bedrock('quilava_hisui_bias', 'fire_idle')", + "q.bedrock('quilava_hisui_bias', 'ground_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('quilava_hisui_bias', 'blink')" + ] + }, + "walking": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.look('head')", + "q.bedrock('quilava_hisui_bias', 'fire_idle')", + "q.bedrock('quilava_hisui_bias', 'ground_walk')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('quilava_hisui_bias', 'blink')" + ] + }, + "battle_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "isBattle": true, + "animations": [ + "q.look('head')", + "q.bedrock('quilava_hisui_bias', 'fire_idle')", + "q.bedrock('quilava_hisui_bias', 'battle_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('quilava_hisui_bias', 'blink')" + ] + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0157_typhlosion/typhlosion.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0157_typhlosion/typhlosion.json new file mode 100644 index 0000000000..5be6df9acd --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0157_typhlosion/typhlosion.json @@ -0,0 +1,69 @@ +{ + "rootBone": "typhlosion", + "portraitScale": 1.4, + "portraitTranslation": [ + -0.65, + 1.8, + 0 + ], + "profileScale": 0.5, + "profileTranslation": [ + 0, + 1, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('typhlosion', 'cry')" + }, + "poses": { + "sleep": { + "poseTypes": [ + "SLEEP" + ], + "animations": [ + "q.bedrock('typhlosion', 'sleep')" + ] + }, + "standing": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER", "PROFILE", "PORTRAIT" + ], + "isBattle": false, + "animations": [ + "q.look('head')", + "q.bedrock('typhlosion', 'ground_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('typhlosion', 'blink')" + ] + }, + "walking": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.look('head')", + "q.bedrock('typhlosion', 'ground_walk')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('typhlosion', 'blink')" + ] + }, + "battle_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "isBattle": true, + "animations": [ + "q.look('head')", + "q.bedrock('typhlosion', 'battle_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('typhlosion', 'blink')" + ] + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0157_typhlosion/typhlosion_hisuian.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0157_typhlosion/typhlosion_hisuian.json new file mode 100644 index 0000000000..dce9e38dcd --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0157_typhlosion/typhlosion_hisuian.json @@ -0,0 +1,69 @@ +{ + "rootBone": "typhlosion", + "portraitScale": 1.4, + "portraitTranslation": [ + -0.45, + 2.37, + 0 + ], + "profileScale": 0.5, + "profileTranslation": [ + 0, + 1, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('typhlosion_hisuian', 'cry')" + }, + "poses": { + "sleep": { + "poseTypes": [ + "SLEEP" + ], + "animations": [ + "q.bedrock('typhlosion_hisuian', 'sleep')" + ] + }, + "standing": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER", "PROFILE", "PORTRAIT" + ], + "isBattle": false, + "animations": [ + "q.look('head')", + "q.bedrock('typhlosion_hisuian', 'ground_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('typhlosion_hisuian', 'blink')" + ] + }, + "walking": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.look('head')", + "q.bedrock('typhlosion_hisuian', 'ground_walk')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('typhlosion_hisuian', 'blink')" + ] + }, + "battle_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "isBattle": true, + "animations": [ + "q.look('head')", + "q.bedrock('typhlosion_hisuian', 'battle_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('typhlosion_hisuian', 'blink')" + ] + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0159_croconaw/croconaw.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0159_croconaw/croconaw.json new file mode 100644 index 0000000000..bfa27368fd --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0159_croconaw/croconaw.json @@ -0,0 +1,152 @@ +{ + "rootBone": "croconaw", + "portraitScale": 1.3, + "portraitTranslation": [ + -0.2, + 1, + 0 + ], + "profileScale": 0.6, + "profileTranslation": [ + 0, + 0.76, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('croconaw', 'cry')", + "faint": "q.bedrock_stateful('croconaw', 'faint')" + }, + "poses": { + "standing": { + "poseTypes": [ + "PROFILE", + "PORTRAIT", + "STAND" + ], + "isBattle": false, + "isInWaterOrRain": false, + "isUnderWater": false, + "animations": [ + "q.look('head')", + "q.bedrock('croconaw', 'ground_idle')" + ], + "quirks": [ + "q.bedrock_quirk('croconaw', 'blink')" + ] + }, + "walk": { + "poseTypes": [ + "WALK" + ], + "isInWaterOrRain": false, + "isUnderWater": false, + "animations": [ + "q.look('head')", + "q.bedrock('croconaw', 'ground_walk')" + ], + "quirks": [ + "q.bedrock_quirk('croconaw', 'blink')" + ] + }, + "float": { + "poseTypes": [ + "FLOAT" + ], + "animations": [ + "q.look('head')", + "q.bedrock('croconaw', 'water_idle')" + ], + "isUnderWater": true, + "quirks": [ + "q.bedrock_quirk('croconaw', 'blink')" + ] + }, + "swim": { + "poseTypes": [ + "SWIM" + ], + "animations": [ + "q.look('head')", + "q.bedrock('croconaw', 'water_swim')" + ], + "isUnderWater": true, + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('croconaw', 'blink')" + ] + }, + "battle_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "isBattle": true, + "isTouchingWater": false, + "animations": [ + "q.look('head')", + "q.bedrock('croconaw', 'battle_idle')" + ], + "transformTicks": 10, + "quirks": [ + "q.bedrock_quirk('croconaw', 'blink')" + ] + }, + "surface_idle": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER" + ], + "isUnderWater": false, + "isTouchingWater": true, + "animations": [ + "q.look('head')", + "q.bedrock('croconaw', 'surfacewater_idle')" + ], + "quirks": [ + "q.bedrock_quirk('croconaw', 'blink')" + ], + "transformedParts": [ + { + "part": "croconaw", + "position": [0, -10, 0] + } + ] + }, + "surface_swim": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.look('head')", + "q.bedrock('croconaw', 'surfacewater_swim')" + ], + "isUnderWater": false, + "isTouchingWater": true, + "quirks": [ + "q.bedrock_quirk('croconaw', 'blink')" + ], + "transformedParts": [ + { + "part": "croconaw", + "position": [0, -10, 0] + } + ] + }, + "sleep": { + "poseTypes": [ + "SLEEP" + ], + "isTouchingWater": false, + "animations": [ + "q.bedrock('croconaw', 'sleep')" + ] + }, + "water_sleep": { + "poseTypes": [ + "SLEEP" + ], + "isTouchingWater": true, + "animations": [ + "q.bedrock('croconaw', 'water_sleep')" + ] + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0161_sentret/sentret.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0161_sentret/sentret.json new file mode 100644 index 0000000000..df84d035a0 --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0161_sentret/sentret.json @@ -0,0 +1,44 @@ +{ + "rootBone": "sentret", + "portraitScale": 2.34, + "portraitTranslation": [ + -0.37, + -0.67, + 0 + ], + "profileScale": 0.65, + "profileTranslation": [ + 0, + 0.76, + 0 + ], + "animations": { + "cry": "q.bedrock_stateful('sentret', 'cry')" + }, + "poses": { + "standing": { + "poseTypes": [ + "STAND", "FLOAT", "HOVER", "PROFILE", "PORTRAIT" + ], + "animations": [ + "q.bedrock('sentret', 'ground_idle')" + ], + "quirks": [ + "q.bedrock_quirk('sentret', 'blink')" + ] + }, + "walk": { + "poseTypes": [ + "WALK", "SWIM", "FLY" + ], + "animations": [ + "q.bedrock('sentret', 'ground_idle')", + "q.biped_walk(0.6, 0.9, 'foot_left', 'foot_right')", + "q.bimanual_swing(0.6, 0.9, 'arm_left', 'arm_right')" + ], + "quirks": [ + "q.bedrock_quirk('sentret', 'blink')" + ] + } + } +} \ No newline at end of file