Compare commits

...
Author SHA1 Message Date
whatsy 617ef93a9d Merge branch 'implement_pokemon' into drop-system-update 2026-12-04 12:48:20 -05:00
Sterrezo 6e1b9ea1a3 Update CHANGELOG.md 2026-12-04 01:34:34 +01:00
Sterrezo 30ed871084 Added stepsounds to Braviary, added stepsounds and corrected wing flaps for Hisuian Braviary 2026-12-04 01:33:50 +01:00
Sterrezo e6633760f7 Added stepsounds to Archaludon 2026-12-04 01:14:24 +01:00
Sterrezo 90310e4b3e Added stepsounds to Farigiraf 2026-12-04 01:01:28 +01:00
Sterrezo f79861490f Added stepsounds to Cyclizar 2026-12-04 00:51:24 +01:00
Sterrezo 88d3eefeda Added stepsounds to Espathra 2026-12-04 00:47:41 +01:00
Sterrezo bfc8006abb Added stepsounds to Kilowattrel 2026-12-04 00:34:02 +01:00
Sterrezo c79ed2ad25 Added stepsounds to Sneasler 2026-12-03 23:51:41 +01:00
Sterrezo 3f927ad7d5 Added stepsounds to Ursaluna 2026-12-03 23:41:59 +01:00
Sterrezo f839d5970f Removed Minecraft stepsounds from Dragapult 2026-12-03 23:34:04 +01:00
Sterrezo 90c3ecc5d5 Added stepsounds to Duraludon 2026-12-03 23:32:30 +01:00
Sterrezo 0b60b660c3 Added Corviknight stepsounds to the changelog 2026-12-03 23:15:44 +01:00
Sterrezo 87faa5346e Revoked stepsound privileges from Dhelmise 2026-12-03 23:15:09 +01:00
Sterrezo 101cf475f9 Removed the cry from Skiddo's status animation 2026-12-03 22:12:22 +01:00
Sterrezo 07a429298d Added stepsounds to Mudsdale, removed vanilla stepsounds from Vikavolt 2026-12-03 20:35:01 +01:00
Sterrezo c26b514d17 Added stepsounds to Vikavolt, removed footstep sounds from some Pokémon that levitate 2026-12-03 20:22:11 +01:00
Sterrezo 7d1d72768f Added stepsounds to Noivern 2026-12-03 20:03:09 +01:00
Sterrezo 38a302c532 Added stepsounds to Goodra and Hisuian Goodra 2026-12-03 19:00:35 +01:00
Sterrezo ea1675edd3 Added stepsounds to Tyrantrum 2026-12-03 18:33:08 +01:00
Sterrezo f59fa555c5 Added stepsounds to Gogoat 2026-12-03 18:22:50 +01:00
Sterrezo 94c9e70593 Added stepsounds to Skiddo 2026-12-03 17:01:04 +01:00
Jerzykv fdf2ccb4a9 Changelog 2026-12-01 19:51:53 +01:00
Jerzykv 3b252fed00 Implemented Trapinch and Vibrava animations 2026-12-01 19:36:28 +01:00
Sterrezo 0d14365932 Updated Bouffalant stepsounds, listed more Pokémon stepsounds that were missing in the changelog 2026-12-01 16:39:02 +01:00
Sterrezo 1cd082fef5 Added stepsounds to Bouffalant 2026-12-01 14:57:31 +01:00
Sterrezo d1d92d3f79 Added stepsounds to Golurk 2026-12-01 14:42:34 +01:00
Sterrezo aee990157e Added stepsounds to Archeops 2026-12-01 14:36:24 +01:00
Sterrezo 340cd8b210 Added stepsounds to Crustle, fixed Daramnitan stepsounds 2026-12-01 13:57:38 +01:00
Sterrezo 332c4dbb0e Added stepsounds to Darmanitan 2026-12-01 13:37:56 +01:00
Sterrezo 1a31170451 Update zebstrika.animation.json 2026-12-01 13:28:30 +01:00
Sterrezo 2c61bac244 Added stepsounds to Zebstrika 2026-12-01 13:23:00 +01:00
Sterrezo 226dc1239e Added stepsounds to Mamoswine 2026-11-30 17:05:13 +01:00
Sterrezo 0f0b88ea3b Added stepsounds to Lickilicky 2026-11-30 16:25:34 +01:00
Sterrezo 771d6c0756 Added stepsounds to Garchomp 2026-11-30 16:17:52 +01:00
Sterrezo 8bb06a5a4b Added stepsounds to Honchkrow 2026-11-30 16:01:42 +01:00
Sterrezo 33b5f9cbda Added stepsounds to Bastiodon 2026-11-29 13:06:39 +01:00
Sterrezo 949fd6b374 Added stepsounds to Staraptor 2026-11-29 12:52:19 +01:00
Sterrezo 1d1a23aadb Added stepsounds to Metagross 2026-11-29 12:42:20 +01:00
Sterrezo 866f210baf Added stepsounds to Salamence 2026-11-29 00:30:42 +01:00
Sterrezo f2957756ce Added stepsounds to Tropius, updated Flygon stepsounds 2026-11-29 00:19:17 +01:00
Sterrezo 0f4bd480fa Added stepsounds to Altaria 2026-11-29 00:08:20 +01:00
Sterrezo 83fb781f65 Added stepsounds to Flygon 2026-11-29 00:00:53 +01:00
Sterrezo 0941d50aaf Added stepsounds to Camerupt 2026-11-28 23:04:38 +01:00
Sterrezo 63c43fc41a Added stepsounds to Slaking 2026-11-26 16:12:09 +01:00
Sterrezo 8450681b54 Added stepsounds to Skarmory 2026-11-26 16:05:21 +01:00
Sterrezo 003c3b39ab Added stepsounds to Mantine 2026-11-26 15:58:40 +01:00
Sterrezo f9c7e38db4 Update ursaring.animation.json 2026-11-26 15:43:16 +01:00
Sterrezo c5421bc92a Added stepsounds to Ursaring 2026-11-26 15:42:29 +01:00
Sterrezo 1533bf8e41 Added stepsounds to Heracross 2026-11-26 15:30:42 +01:00
Sterrezo a016188534 Added stepsounds to Girafarig, fixed doubled Dragonite stepsounds 2026-11-25 21:57:28 +01:00
Sterrezo a100a3adf1 Revoked stepsound privileges from Crobat 2026-11-25 21:42:52 +01:00
Sterrezo d847e9e23b Stepsound volume rebalancing 2026-11-25 21:38:01 +01:00
Sterrezo 45fdaf43ea Added stepsounds to Ariados 2026-11-25 21:29:24 +01:00
whatsy 786c2c2df8 Merge branch 'implement_pokemon' into drop-system-update 2026-11-25 12:23:15 -05:00
Sterrezo dea8c56226 Added stepsounds to Draognite 2026-11-25 17:05:19 +01:00
Sterrezo 98e4232239 Update aerodactyl.animation.json 2026-11-25 16:55:17 +01:00
Sterrezo 65559b86c8 Added stepsounds to Aerodactyl 2026-11-25 16:53:30 +01:00
Sterrezo fdb2957844 Added stepsounds to Lapras 2026-11-25 16:41:02 +01:00
whatsy 6c1cb94287 Merge branch 'main' into drop-system-update 2026-11-24 18:55:38 -05:00
whatsy c8c1c4dee8 fix: remove unnecessary override in PokemonEntity 2026-11-24 18:54:37 -05:00
Hiroku 99e72339db Remove rogue println, closes #2147 2026-11-08 10:32:42 +10:00
ewwww 396b31e530 locators added to smeargle 2026-11-07 13:30:33 -05:00
Hiroku 10c9931d2c Merge branch 'weight-tweak-tweak' into 'main'
add `spawnable_position` to weight rule component's "weight" expression

Closes #2145

See merge request cable-mc/cobblemon!2521
2026-11-07 08:20:09 +00:00
Hiroku 0e55165570 Merge branch 'main' into 'main'
Main - fixs #2142, unown name issue.

See merge request cable-mc/cobblemon!2523
2026-11-07 08:19:02 +00:00
Matthew Baerg b6b87621a5 Update file CHANGELOG.md 2026-11-07 04:42:37 +00:00
Matthew Baerg 71b01d562b Update file CHANGELOG.md 2026-11-07 04:39:00 +00:00
Matthew Baerg 21eb66e69b Update file unown.json 2026-11-07 03:31:36 +00:00
Matthew Baerg 8b04e57a1d Update file unown.json 2026-11-07 02:35:21 +00:00
Hiroku 1ff3b7ee96 Updated molang dep for some library fixes 2026-11-07 12:07:03 +10:00
spacky 8a2d6096e3 update changelog 2026-11-03 09:02:01 -08:00
spacky 2645b5e375 add spawnable_position to weight rule component's "weight" expression 2026-11-03 08:03:14 -08:00
whatsy b6beed0963 cleanup 2026-11-03 10:27:13 -05:00
Ronak Chavva 2a882e137a fix(*): temp feature individualism 2026-11-02 13:34:52 -06:00
whatsy 9be710ff32 this floette is gonna drive me insane 2026-11-02 10:57:44 -05:00
whatsy 7a9393b39f more pokedex compat and other stuff 2026-11-01 15:12:12 -05:00
whatsy 087a167bfa ...and then make that PlatformRegistry actually work 2026-10-30 15:18:54 -04:00
whatsy 461d21a87d Convert CobblemonLootItemConditions into a PlatformRegistry 2026-10-30 14:48:30 -04:00
whatsy 78953357a8 Pokedex compat 2026-10-30 14:39:38 -04:00
whatsy bdfabb3724 Update CHANGELOG.md + resolve merge conflicts 2026-10-27 23:54:56 -04:00
whatsy 3adb6144a3 Merge branch 'refs/heads/main' into drop-system-update
# Conflicts:
#	common/src/main/resources/data/cobblemon/species/generation1/exeggutor.json
#	common/src/main/resources/data/cobblemon/species/generation4/rotom.json
#	common/src/main/resources/data/cobblemon/species/generation4/wormadam.json
#	common/src/main/resources/data/cobblemon/species/generation5/kyurem.json
#	common/src/main/resources/data/cobblemon/species/generation6/avalugg.json
#	common/src/main/resources/data/cobblemon/species/generation6/flabebe.json
#	common/src/main/resources/data/cobblemon/species/generation6/floette.json
#	common/src/main/resources/data/cobblemon/species/generation6/florges.json
#	common/src/main/resources/data/cobblemon/species/generation6/goodra.json
#	common/src/main/resources/data/cobblemon/species/generation6/greninja.json
#	common/src/main/resources/data/cobblemon/species/generation6/sliggoo.json
#	common/src/main/resources/data/cobblemon/species/generation7/decidueye.json
#	common/src/main/resources/data/cobblemon/species/generation8/toxtricity.json
2026-10-27 23:48:49 -04:00
whatsy 65bcd118a3 finalizing 2026-10-21 13:25:46 -04:00
whatsy bf6f97e740 auto fire aspect support 2026-10-21 12:25:24 -04:00
whatsy 4e48e2ff9b scraper updates 2026-10-20 18:43:01 -04:00
whatsy faa488b153 ported all pokemon over to loot tables 2026-10-19 17:09:20 -04:00
whatsy 93dbc015fb loot table drop entry type implementation 2026-10-19 13:49:34 -04:00
whatsy 7edf6669d8 Vanilla loot tables for pokemon drops: wip, pushing for review 2026-10-19 11:52:44 -04:00
2258 changed files with 104420 additions and 21282 deletions

No files matched your search

+33 -1
View File
@@ -5,23 +5,55 @@
- 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.
- 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.
### Animation updates for the following Pokémon
- Trapinch
- Vibrava
### Particles
### Cries added/updated for the following Pokémon
### Model updates for the following Pokémon
### Animation updates for the following Pokémon
### 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. (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.
### Developer
- Fixed JsonArray to MoValue conversion not working properly.
### Developer
### Molang & Datapacks
- Added a `loot_table` drop entry type.
- Accepts an `id` field, pointing to a vanilla loot table.
- All base mod Pokémon have been moved to this new system.
- Added the `cobblemon:requirement` loot item condition.
- Accepts a `requirement` field, containing a Requirement, using the existing Cobblemon requirement system.
### Localization
- `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
@@ -16,6 +16,7 @@ import com.cobblemon.mod.common.api.drop.CommandDropEntry
import com.cobblemon.mod.common.api.drop.DropEntry
import com.cobblemon.mod.common.api.drop.EvolutionItemDropEntry
import com.cobblemon.mod.common.api.drop.ItemDropEntry
import com.cobblemon.mod.common.api.drop.LootTableDropEntry
import com.cobblemon.mod.common.api.events.CobblemonEvents
import com.cobblemon.mod.common.api.events.CobblemonEvents.DATA_SYNCHRONIZED
import com.cobblemon.mod.common.api.habitats.HabitatPools
@@ -90,6 +91,7 @@ import com.cobblemon.mod.common.events.EntityCallbackHandler
import com.cobblemon.mod.common.events.PokedexHandler
import com.cobblemon.mod.common.events.ServerTickHandler
import com.cobblemon.mod.common.events.StatHandler
import com.cobblemon.mod.common.loot.CobblemonLootItemConditions
import com.cobblemon.mod.common.net.messages.client.settings.ServerSettingsPacket
import com.cobblemon.mod.common.permission.LaxPermissionValidator
import com.cobblemon.mod.common.platform.events.PlatformEvents
@@ -223,12 +225,15 @@ object Cobblemon {
implementation.registerEntityDataSerializers()
implementation.registerCriteria()
implementation.registerEntitySubPredicates()
implementation.registerLootItemConditions()
implementation.registerMobEffects()
DispenserBehaviorRegistry.registerDispenserBehaviors()
CobblemonLootItemConditions.touch()
DropEntry.register("command", CommandDropEntry::class.java)
DropEntry.register("item", ItemDropEntry::class.java, isDefault = true)
DropEntry.register("evolution", EvolutionItemDropEntry::class.java)
DropEntry.register("loot_table", LootTableDropEntry::class.java)
ExperienceGroups.registerDefaults()
CaptureCalculators.registerDefaults()
@@ -118,6 +118,7 @@ interface CobblemonImplementation {
fun registerMenu()
fun registerEntitySubPredicates()
fun registerLootItemConditions()
/**
* TODO
@@ -10,9 +10,14 @@ package com.cobblemon.mod.common.api.drop
import com.cobblemon.mod.common.api.events.CobblemonEvents.LOOT_DROPPED
import com.cobblemon.mod.common.api.events.drops.LootDroppedEvent
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity
import com.cobblemon.mod.common.pokemon.Pokemon
import com.cobblemon.mod.common.util.cobblemonResource
import net.minecraft.core.registries.Registries
import kotlin.random.Random
import net.minecraft.network.RegistryFriendlyByteBuf
import net.minecraft.resources.ResourceKey
import net.minecraft.resources.ResourceLocation
import net.minecraft.server.level.ServerLevel
import net.minecraft.server.level.ServerPlayer
import net.minecraft.world.entity.LivingEntity
@@ -105,7 +110,11 @@ class DropTable {
) {
LOOT_DROPPED.postThen(
event = LootDroppedEvent(this, player, entity, drops),
ifSucceeded = { it.drops.forEach { it.drop(entity, world, pos, player) } }
ifSucceeded = {
val pokemon = (entity as? PokemonEntity)?.pokemon?.species?.resourceIdentifier ?: return@postThen
it.drops.forEach { it.drop(entity, world, pos, player) }
// val lootKey = ResourceKey.create(Registries.LOOT_TABLE, cobblemonResource("pokemon/${pokemon}"))
}
)
}
@@ -0,0 +1,64 @@
package com.cobblemon.mod.common.api.drop
import net.minecraft.core.registries.Registries
import net.minecraft.resources.ResourceKey
import net.minecraft.resources.ResourceLocation
import net.minecraft.server.level.ServerLevel
import net.minecraft.server.level.ServerPlayer
import net.minecraft.world.entity.LivingEntity
import net.minecraft.world.entity.item.ItemEntity
import net.minecraft.world.level.storage.loot.LootParams
import net.minecraft.world.level.storage.loot.parameters.LootContextParamSets
import net.minecraft.world.level.storage.loot.parameters.LootContextParams
import net.minecraft.world.phys.Vec3
/**
* A drop entry that points to a vanilla loot table.
*/
class LootTableDropEntry(
override var percentage: Float,
override var quantity: Int,
override var maxSelectableTimes: Int,
val id: ResourceLocation
) : DropEntry {
override fun drop(
entity: LivingEntity?,
world: ServerLevel,
pos: Vec3,
player: ServerPlayer?
) {
val key = ResourceKey.create(Registries.LOOT_TABLE, id)
val playerEntity = player as? LivingEntity
if (entity == null) return
if (playerEntity != null) {
val params = LootParams.Builder(world)
.withParameter(LootContextParams.ATTACKING_ENTITY, playerEntity)
.withParameter(LootContextParams.DAMAGE_SOURCE, playerEntity.damageSources().genericKill())
.withParameter(LootContextParams.ORIGIN, pos)
.withParameter(LootContextParams.THIS_ENTITY, entity)
.create(LootContextParamSets.ENTITY)
val drops = world.server.reloadableRegistries().getLootTable(key)
.getRandomItems(params)
for (stack in drops) {
if (stack.isEmpty) continue
val itemEntity = ItemEntity(world, pos.x, pos.y, pos.z, stack)
itemEntity.setDefaultPickUpDelay()
world.addFreshEntity(itemEntity)
}
} else {
val params = LootParams.Builder(world)
.create(LootContextParamSets.EMPTY)
val drops = world.server.reloadableRegistries().getLootTable(key)
.getRandomItems(params)
for (stack in drops) {
if (stack.isEmpty) continue
val itemEntity = ItemEntity(world, pos.x, pos.y, pos.z, stack)
itemEntity.setDefaultPickUpDelay()
world.addFreshEntity(itemEntity)
}
}
}
}
@@ -9,6 +9,7 @@
package com.cobblemon.mod.common.api.pokedex.filter
import com.cobblemon.mod.common.api.drop.ItemDropEntry
import com.cobblemon.mod.common.api.drop.LootTableDropEntry
import com.cobblemon.mod.common.api.moves.MoveTemplate
import com.cobblemon.mod.common.api.pokedex.AbstractPokedexManager
import com.cobblemon.mod.common.api.pokedex.PokedexEntryProgress
@@ -17,14 +18,22 @@ import com.cobblemon.mod.common.api.pokemon.PokemonSpecies
import com.cobblemon.mod.common.api.pokemon.evolution.Evolution
import com.cobblemon.mod.common.api.tms.TechnicalMachines
import com.cobblemon.mod.common.client.CobblemonClient
import com.cobblemon.mod.common.client.gui.pokedex.widgets.DropsScrollingWidget.DropWidgetEntry
import com.cobblemon.mod.common.pokemon.abilities.HiddenAbility
import com.cobblemon.mod.common.pokemon.FormData
import com.cobblemon.mod.common.util.asIdentifierDefaultingNamespace
import com.cobblemon.mod.common.util.asTranslated
import com.cobblemon.mod.common.util.itemRegistry
import com.cobblemon.mod.common.util.server
import com.google.gson.JsonArray
import com.google.gson.JsonParser
import net.minecraft.client.Minecraft
import net.minecraft.core.registries.Registries
import net.minecraft.resources.ResourceLocation
import net.minecraft.tags.TagKey
import net.minecraft.world.item.ItemStack
import java.util.Locale
import java.util.Locale.getDefault
/**
* A Pokedex [EntryFilter] that filters out entries that do not contain the current search.
@@ -75,11 +84,59 @@ class SearchFilter(val pokedexManager: AbstractPokedexManager, val searchString:
if (pokedexManager.getHighestKnowledgeFor(entry) == PokedexEntryProgress.UNREGISTERED) return false
val dropsList = mutableListOf<String>()
val formsList = if (species.forms.isEmpty()) mutableListOf(species.standardForm) else species.forms
formsList.forEach {
it.drops.entries.forEach {
if (it is ItemDropEntry) {
val itemStack = Minecraft.getInstance().player?.level()?.itemRegistry?.get(it.item)?.defaultInstance ?: ItemStack.EMPTY
formsList.forEach { formData ->
formData.drops.entries.forEach { dropEntry ->
if (dropEntry is ItemDropEntry) {
val itemStack = Minecraft.getInstance().player?.level()?.itemRegistry?.get(dropEntry.item)?.defaultInstance ?: ItemStack.EMPTY
if (!itemStack.isEmpty) dropsList.add(itemStack.displayName.string.lowercase())
} else if (dropEntry is LootTableDropEntry) {
val server = server() ?: return@forEach
val lootTableResource = ResourceLocation.fromNamespaceAndPath(
dropEntry.id.namespace,
"loot_table/${dropEntry.id.path}.json"
)
val resource = server.resourceManager
.getResource(lootTableResource)
.orElse(null)
?: return@forEach
val json = resource.openAsReader().use { reader ->
JsonParser.parseReader(reader).asJsonObject
}
json.getAsJsonArray("pools")?.forEach { poolElement ->
val pool = poolElement.asJsonObject
val entries = pool.getAsJsonArray("entries") ?: return@forEach
for (entry in entries.map { it.asJsonObject }) {
val items = mutableSetOf<String>()
if (entry["type"].asString == "minecraft:tag") {
val itemRegistry = Minecraft.getInstance()
.level!!
.registryAccess()
.lookupOrThrow(Registries.ITEM)
val tagKey = TagKey.create(Registries.ITEM, ResourceLocation.parse(entry["name"].asString))
val tagItems = itemRegistry.getOrThrow(tagKey)
.stream()
.map { holder ->
holder.unwrapKey().map {
val itemStack = Minecraft.getInstance().player?.level()?.itemRegistry?.get(it.location())?.defaultInstance ?: ItemStack.EMPTY
itemStack.displayName.string.lowercase()
}.orElse(null)
}.toList().filterNotNull()
items.addAll(tagItems)
} else if (entry["type"].asString == "minecraft:item") {
val itemStack = Minecraft.getInstance().player?.level()?.itemRegistry?.get(ResourceLocation.parse(entry["name"].asString))?.defaultInstance ?: ItemStack.EMPTY
items.add(itemStack.displayName.string.lowercase())
}
dropsList.addAll(items.map { it })
}
}
}
}
}
@@ -8,9 +8,14 @@
package com.cobblemon.mod.common.api.pokemon.requirement
import com.cobblemon.mod.common.api.pokemon.PokemonSpecies
import com.cobblemon.mod.common.api.pokemon.evolution.ContextEvolution
import com.cobblemon.mod.common.api.pokemon.evolution.Evolution
import com.cobblemon.mod.common.pokemon.Pokemon
import com.mojang.serialization.Codec
import com.mojang.serialization.DataResult
import com.mojang.serialization.Dynamic
import com.mojang.serialization.JsonOps
import net.minecraft.resources.ResourceLocation
import java.util.WeakHashMap
@@ -40,5 +45,26 @@ fun interface Requirement {
companion object {
val pokedexIconOverrides = WeakHashMap<Requirement, ResourceLocation>()
val pokedexTooltipOverrides = WeakHashMap<Requirement, String>()
val CODEC: Codec<Requirement> = Codec.PASSTHROUGH.comapFlatMap(
{ dynamic ->
try {
val json = dynamic.convert(JsonOps.INSTANCE).value
DataResult.success(
PokemonSpecies.gson.fromJson(json, Requirement::class.java)
)
} catch (e: Exception) {
DataResult.error {
"Failed to decode Requirement: ${e.message}"
}
}
},
{ requirement ->
Dynamic(
JsonOps.INSTANCE,
PokemonSpecies.gson.toJsonTree(requirement, Requirement::class.java)
)
}
)
}
}
@@ -41,6 +41,7 @@ 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 {
@@ -22,6 +22,7 @@ import net.minecraft.resources.ResourceLocation
import net.minecraft.server.level.ServerLevel
import net.minecraft.util.RandomSource
import net.minecraft.world.level.BlockGetter
import net.minecraft.world.level.Level
import net.minecraft.world.level.LevelAccessor
import net.minecraft.world.level.block.Block
import net.minecraft.world.level.block.Blocks
@@ -154,6 +155,19 @@ class TypeGemCoreBlock(properties: Properties) : Block(properties) {
return clusters
}
override fun onRemove(
state: BlockState,
level: Level,
pos: BlockPos,
newState: BlockState,
movedByPiston: Boolean
) {
getConnectedClusters(level, pos).forEach { // Stop growth of connected gems when core is removed
level.setBlockAndUpdate(it.second, it.first.setValue(GROWTH_TYPE, GrowthType.DECORATION))
}
super.onRemove(state, level, pos, newState, movedByPiston)
}
override fun randomTick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
// should we tick at all?
if (random.nextFloat() >= Cobblemon.config.typeGemTickChance) {
@@ -169,7 +183,6 @@ 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))
}
@@ -748,6 +748,8 @@ class PokedexGUI private constructor(
}
TAB_DROPS -> {
(tabInfoElement as DropsScrollingWidget).dropTable = form.drops
(tabInfoElement as DropsScrollingWidget).form = form
(tabInfoElement as DropsScrollingWidget).aspects = aspects.toSet()
(tabInfoElement as DropsScrollingWidget).setEntries()
}
TAB_MOVES -> {
@@ -10,6 +10,9 @@ package com.cobblemon.mod.common.client.gui.pokedex.widgets
import com.cobblemon.mod.common.api.drop.DropTable
import com.cobblemon.mod.common.api.drop.ItemDropEntry
import com.cobblemon.mod.common.api.drop.LootTableDropEntry
import com.cobblemon.mod.common.api.pokemon.PokemonSpecies
import com.cobblemon.mod.common.api.pokemon.requirement.Requirement
import com.cobblemon.mod.common.api.text.bold
import com.cobblemon.mod.common.client.CobblemonResources
import com.cobblemon.mod.common.client.gui.ScrollingWidget
@@ -17,17 +20,27 @@ import com.cobblemon.mod.common.client.gui.pokedex.PokedexGUIConstants
import com.cobblemon.mod.common.client.render.drawScaledText
import com.cobblemon.mod.common.client.render.drawScaledTextJustifiedRight
import com.cobblemon.mod.common.client.render.renderScaledGuiItemIcon
import com.cobblemon.mod.common.pokemon.FormData
import com.cobblemon.mod.common.pokemon.Pokemon
import com.cobblemon.mod.common.util.itemRegistry
import com.cobblemon.mod.common.util.lang
import java.text.DecimalFormat
import com.cobblemon.mod.common.util.server
import com.google.gson.JsonArray
import com.google.gson.JsonObject
import com.google.gson.JsonParser
import net.minecraft.ChatFormatting
import net.minecraft.Util
import net.minecraft.client.Minecraft
import net.minecraft.client.gui.GuiGraphics
import net.minecraft.core.registries.Registries
import net.minecraft.network.chat.Component
import net.minecraft.network.chat.MutableComponent
import net.minecraft.resources.ResourceLocation
import net.minecraft.tags.TagKey
import net.minecraft.util.FastColor
import net.minecraft.util.Mth
import net.minecraft.world.item.ItemStack
import java.text.DecimalFormat
class DropsScrollingWidget(val pX: Int, val pY: Int): ScrollingWidget<DropsScrollingWidget.DropWidgetEntry>(
width = PokedexGUIConstants.HALF_OVERLAY_WIDTH - 2,
@@ -38,6 +51,8 @@ class DropsScrollingWidget(val pX: Int, val pY: Int): ScrollingWidget<DropsScrol
) {
var dropTable: DropTable = DropTable()
var aspects: Set<String> = emptySet()
var form: FormData = FormData()
companion object {
val df = DecimalFormat("#.##")
@@ -50,9 +65,157 @@ class DropsScrollingWidget(val pX: Int, val pY: Int): ScrollingWidget<DropsScrol
override fun getX() = pX
override fun getY() = pY
private fun getFormAspects(): Set<String> {
val formAspects = form.species.forms
.flatMapTo(mutableSetOf()) { it.aspects }
.apply { addAll(form.species.standardForm.aspects) }
val selectedFormAspectPrefixes = form.aspects
.mapNotNull { it.substringBeforeLast('-', "").takeIf(String::isNotEmpty) }
.toSet()
return formAspects + aspects.filter { aspect ->
val prefix = aspect.substringBeforeLast('-', "")
prefix.isNotEmpty() && prefix in selectedFormAspectPrefixes
}
}
private fun checkPokemonConditions(condition: JsonObject): Boolean {
val conditionType = condition["condition"].asString
if (conditionType == "cobblemon:requirement") {
val requirementJson = condition["requirement"].asJsonObject
val selectedAspects = (aspects - getFormAspects()) + form.aspects
val requirement = PokemonSpecies.gson.fromJson(requirementJson, Requirement::class.java)
val tempPokemon = Pokemon().apply { species = form.species }
tempPokemon.form = form
tempPokemon.forcedAspects = selectedAspects
tempPokemon.shiny = "shiny" in selectedAspects
tempPokemon.updateAspects()
return requirement.check(tempPokemon)
}
if (conditionType == "minecraft:all_of") {
val terms = condition["terms"]?.asJsonArray ?: return true
return terms.all {
checkPokemonConditions(it.asJsonObject)
}
}
if (conditionType == "minecraft:any_of") {
val terms = condition["terms"]?.asJsonArray ?: return true
return terms.any {
checkPokemonConditions(it.asJsonObject)
}
}
if (conditionType == "minecraft:inverted") {
val term = condition["term"]?.asJsonObject ?: return true
return !checkPokemonConditions(term)
}
return true
}
fun setEntries() {
dropTable.entries.forEach {
if (it is ItemDropEntry) addEntry(DropWidgetEntry(it))
clearEntries()
dropTable.entries.forEach { it ->
if (it is ItemDropEntry) {
addEntry(DropWidgetEntry(it, mutableSetOf(it.item)))
} else if (it is LootTableDropEntry) { // LootTable doesn't expose pools, so we gotta do all this bullshit
val server = server() ?: return
val lootTableResource = ResourceLocation.fromNamespaceAndPath(
it.id.namespace,
"loot_table/${it.id.path}.json"
)
val resource = server.resourceManager
.getResource(lootTableResource)
.orElse(null)
?: return@forEach
val json = resource.openAsReader().use { reader ->
JsonParser.parseReader(reader).asJsonObject
}
json.getAsJsonArray("pools")?.forEach { poolElement ->
val pool = poolElement.asJsonObject
val entries = pool.getAsJsonArray("entries") ?: return@forEach
val validEntries = entries
.map { entryElement -> entryElement.asJsonObject }
.filter { entry ->
val conditions = entry["conditions"]?.asJsonArray ?: JsonArray()
conditions.all { condition ->
val conditionJson = condition.asJsonObject
checkPokemonConditions(conditionJson)
}
}
val totalWeight = validEntries.sumOf { entry ->
entry["weight"]?.asInt ?: 1
}
for (entry in validEntries) {
val dropEntry = ItemDropEntry()
val conditions = entry["conditions"]?.asJsonArray ?: JsonArray()
val functions = entry["functions"]?.asJsonArray ?: JsonArray()
val items = mutableSetOf<ResourceLocation>()
var tag: ResourceLocation? = null
if (validEntries.size > 1 && totalWeight > 0) {
val weight = entry["weight"]?.asInt ?: 1
dropEntry.percentage = weight.toFloat() / totalWeight.toFloat() * 100F
}
conditions.forEach { condition ->
val conditionJson = condition.asJsonObject
val conditionType = conditionJson["condition"].asString
if (conditionType == "minecraft:random_chance") {
val chance = conditionJson["chance"].asFloat * 100F
if (validEntries.size > 1) {
dropEntry.percentage *= chance / 100F
} else {
dropEntry.percentage = chance
}
}
}
functions.forEach { function ->
val functionObj = function.asJsonObject
if (functionObj["function"].asString == "set_count") {
val count = functionObj["count"].asJsonObject
val min = count["min"].asInt
val max = count["max"].asInt
dropEntry.quantityRange = IntRange(min, max)
}
}
if (entry["type"].asString == "minecraft:tag") {
val itemRegistry = Minecraft.getInstance()
.level!!
.registryAccess()
.lookupOrThrow(Registries.ITEM)
val tagKey = TagKey.create(Registries.ITEM, ResourceLocation.parse(entry["name"].asString))
tag = tagKey.location
val tagItems = itemRegistry.getOrThrow(tagKey)
.stream()
.map { holder ->
holder.unwrapKey().map {
it.location()
}.orElse(null)
}.toList().filterNotNull()
items.addAll(tagItems)
} else if (entry["type"].asString == "minecraft:item") {
items.add(ResourceLocation.parse(entry["name"].asString))
}
addEntry(DropWidgetEntry(dropEntry, items, tag))
}
}
}
}
}
@@ -90,7 +253,7 @@ class DropsScrollingWidget(val pX: Int, val pY: Int): ScrollingWidget<DropsScrol
shadow = true
)
if (dropTable.entries.size == 0) {
if (dropTable.entries.isEmpty()) {
drawScaledText(
context = context,
text = lang("ui.pokedex.info.drops_empty"),
@@ -128,7 +291,7 @@ class DropsScrollingWidget(val pX: Int, val pY: Int): ScrollingWidget<DropsScrol
return children()[index] as DropWidgetEntry
}
class DropWidgetEntry(val entry: ItemDropEntry): Slot<DropWidgetEntry>() {
class DropWidgetEntry(val entry: ItemDropEntry, val items: MutableSet<ResourceLocation>, val tag: ResourceLocation? = null): Slot<DropWidgetEntry>() {
override fun render(
context: GuiGraphics,
index: Int,
@@ -141,9 +304,14 @@ class DropsScrollingWidget(val pX: Int, val pY: Int): ScrollingWidget<DropsScrol
hovered: Boolean,
tickDelta: Float
) {
if (items.isEmpty()) return
context.pose().pushPose()
context.pose().translate(0f, 0f, 100f)
val itemStack = Minecraft.getInstance().player?.level()?.itemRegistry?.get(entry.item)?.defaultInstance ?: ItemStack.EMPTY
val index = ((Util.getMillis() / 1000L) % items.size).toInt()
val itemLocation = items.elementAt(index)
val itemStack = Minecraft.getInstance().player?.level()?.itemRegistry?.get(itemLocation)?.defaultInstance ?: ItemStack.EMPTY
renderScaledGuiItemIcon(
itemStack = itemStack,
x = x.toDouble(),
@@ -151,28 +319,32 @@ class DropsScrollingWidget(val pX: Int, val pY: Int): ScrollingWidget<DropsScrol
matrixStack = context.pose(),
scale = PokedexGUIConstants.SCALE.toDouble()
)
context.pose().pushPose()
val min = entry.quantityRange?.min() ?: entry.quantity
val max = entry.quantityRange?.max() ?: entry.quantity
if (min == max) {
entry.quantity = min
entry.quantityRange = null
}
// var itemName: String = Component.translatable(itemStack.hoverName).string
// itemName = if (itemName.length > 24) {
// itemName.substring(0, 24 - 3) + "..."
// } else {
// itemName
// }
val displayName = if (tag == null) {
itemStack.hoverName.copy().withStyle(ChatFormatting.BOLD)
} else {
Component.translatable("tag.item.${tag.namespace}.${tag.path.replace('/', '.')}").withStyle(ChatFormatting.BOLD)
}
val displayText: MutableComponent = if (entry.quantityRange != null) {
lang(
"ui.pokedex.info.drops_display",
itemStack.hoverName.copy().withStyle(ChatFormatting.BOLD),
displayName,
lang("ui.pokedex.info.drops_range", min, max)
)
} else {
lang(
"ui.pokedex.info.drops_display",
itemStack.hoverName.copy().withStyle(ChatFormatting.BOLD),
displayName,
lang("ui.pokedex.info.drops_amount", entry.quantity)
)
}
@@ -1,70 +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.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
}
@@ -1,104 +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.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,8 +507,6 @@ 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)
@@ -117,6 +117,7 @@ import net.minecraft.core.BlockPos
import net.minecraft.core.Direction
import net.minecraft.core.component.DataComponents
import net.minecraft.core.registries.BuiltInRegistries
import net.minecraft.core.registries.Registries
import net.minecraft.nbt.CompoundTag
import net.minecraft.nbt.NbtOps
import net.minecraft.nbt.NbtUtils
@@ -132,6 +133,7 @@ import net.minecraft.network.protocol.game.DebugPackets
import net.minecraft.network.syncher.EntityDataAccessor
import net.minecraft.network.syncher.EntityDataSerializers
import net.minecraft.network.syncher.SynchedEntityData
import net.minecraft.resources.ResourceKey
import net.minecraft.resources.ResourceLocation
import net.minecraft.server.level.ServerEntity
import net.minecraft.server.level.ServerLevel
@@ -173,6 +175,7 @@ import net.minecraft.world.level.gameevent.GameEvent
import net.minecraft.world.level.material.EmptyFluid
import net.minecraft.world.level.material.FluidState
import net.minecraft.world.level.pathfinder.PathType
import net.minecraft.world.level.storage.loot.LootTable
import net.minecraft.world.phys.AABB
import net.minecraft.world.phys.Vec3
import java.util.*
@@ -0,0 +1,28 @@
package com.cobblemon.mod.common.loot
import com.cobblemon.mod.common.loot.conditions.RequirementLootItemCondition
import com.cobblemon.mod.common.platform.PlatformRegistry
import com.cobblemon.mod.common.util.cobblemonResource
import net.minecraft.core.Registry
import net.minecraft.core.registries.BuiltInRegistries
import net.minecraft.core.registries.Registries
import net.minecraft.resources.ResourceKey
import net.minecraft.world.level.storage.loot.predicates.LootItemConditionType
object CobblemonLootItemConditions :
PlatformRegistry<Registry<LootItemConditionType>, ResourceKey<Registry<LootItemConditionType>>, LootItemConditionType>() {
@JvmField
val REQUIREMENT_CONDITION = create(
cobblemonResource("requirement"),
LootItemConditionType(RequirementLootItemCondition.CODEC)
)
fun touch() = Unit
override val registry: Registry<LootItemConditionType>
get() = BuiltInRegistries.LOOT_CONDITION_TYPE
override val resourceKey: ResourceKey<Registry<LootItemConditionType>>
get() = Registries.LOOT_CONDITION_TYPE
}
@@ -0,0 +1,37 @@
package com.cobblemon.mod.common.loot.conditions
import com.cobblemon.mod.common.api.pokemon.requirement.Requirement
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity
import com.cobblemon.mod.common.loot.CobblemonLootItemConditions
import com.mojang.serialization.MapCodec
import com.mojang.serialization.codecs.RecordCodecBuilder
import net.minecraft.world.level.storage.loot.LootContext
import net.minecraft.world.level.storage.loot.parameters.LootContextParams
import net.minecraft.world.level.storage.loot.predicates.LootItemCondition
import net.minecraft.world.level.storage.loot.predicates.LootItemConditionType
/**
* Allows for use of a [Requirement] as a [LootItemConditionType]
*/
class RequirementLootItemCondition(
val requirement: Requirement
) : LootItemCondition {
override fun getType(): LootItemConditionType {
return CobblemonLootItemConditions.REQUIREMENT_CONDITION
}
override fun test(t: LootContext): Boolean {
val entity = t.getParamOrNull(LootContextParams.THIS_ENTITY) as? PokemonEntity ?: return false
return requirement.check(entity.pokemon)
}
companion object {
val CODEC: MapCodec<RequirementLootItemCondition> = RecordCodecBuilder.mapCodec { instance ->
instance.group(
Requirement.CODEC.fieldOf("requirement")
.forGetter(RequirementLootItemCondition::requirement)
).apply(instance, ::RequirementLootItemCondition)
}
}
}
@@ -71,6 +71,7 @@ object CobblemonRequirementAdapter : RequirementAdapter {
this.registerType(OwnerHoldsItemRequirement.ADAPTER_VARIANT, OwnerHoldsItemRequirement::class)
this.registerType(ChanceRequirement.ADAPTER_VARIANT, ChanceRequirement::class)
this.registerType(NegateRequirement.ADAPTER_VARIANT, NegateRequirement::class)
this.registerType(AspectRequirement.ADAPTER_VARIANT, AspectRequirement::class)
}
val gson: Gson by lazy {
@@ -0,0 +1,20 @@
package com.cobblemon.mod.common.pokemon.requirements
import com.cobblemon.mod.common.api.pokemon.requirement.Requirement
import com.cobblemon.mod.common.pokemon.Pokemon
/**
* A [Requirement] that checks if a [Pokemon] has a certain aspect.
*
* @property aspect The aspect to check for.
* @author whatsy
*/
class AspectRequirement(val target: String) : Requirement {
override fun check(pokemon: Pokemon): Boolean {
return target in pokemon.aspects
}
companion object {
val ADAPTER_VARIANT = "aspect"
}
}
@@ -612,6 +612,9 @@
"locator_target": {
"position": [0, 0, -3]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.lapras.ride_ground_walk": {
@@ -6970,6 +6970,10 @@
"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": {
@@ -8170,6 +8174,10 @@
"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,6 +835,10 @@
}
}
}
},
"timeline": {
"0.5": "q.run_molang('cobblemon:stepsound_standard_large');",
"1.5": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.dragonite.sleep": {
@@ -485,6 +485,10 @@
"locator_seat_1": {
"rotation": ["-12.5+math.cos(q.anim_time*90*3*2)*3", "0-math.cos(q.anim_time*90*3-180)*6", "0-math.cos(q.anim_time*90*3)*6"]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.6667": "q.run_molang('cobblemon:stepsound_minecraft');"
}
},
"animation.ariados.ground_run": {
@@ -1535,6 +1539,14 @@
"locator_seat_1": {
"rotation": ["-17.5+math.cos(q.anim_time*90*9*2)*4", "0+math.cos(q.anim_time*90*9-60)*4", 0]
}
},
"timeline": {
"0.125": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.375": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.5833": "q.run_molang('cobblemon:stepsound_minecraft');",
"0.7917": "q.run_molang('cobblemon:stepsound_minecraft');",
"1.0417": "q.run_molang('cobblemon:stepsound_minecraft');",
"1.25": "q.run_molang('cobblemon:stepsound_minecraft');"
}
},
"animation.ariados.ride_ground_walk": {
@@ -427,6 +427,12 @@
"neck2_spikes": {
"rotation": [0, "-math.cos(q.anim_time*90*4+30)*3", 0]
}
},
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.0278": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.5": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.5278": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.girafarig.ground_run": {
@@ -876,6 +882,12 @@
"head_spikes": {
"rotation": [0, "-math.sin(q.anim_time*90*8+30)*8", 0]
}
},
"timeline": {
"0.2083": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.25": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.2917": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.3333": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.girafarig.battle_idle": {
@@ -246,6 +246,10 @@
"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": {
@@ -417,6 +421,10 @@
"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,6 +635,10 @@
"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": {
@@ -1134,6 +1138,10 @@
"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,6 +141,10 @@
"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,6 +1396,10 @@
"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": {
@@ -2227,6 +2231,10 @@
"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,6 +1341,12 @@
"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": {
@@ -2513,6 +2519,12 @@
"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,6 +208,12 @@
"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": {
@@ -395,6 +401,10 @@
"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,6 +861,10 @@
"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": {
@@ -1490,6 +1494,10 @@
}
}
}
},
"timeline": {
"0.2917": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.7917": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.flygon.air_idle": {
@@ -607,6 +607,10 @@
"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,6 +1443,12 @@
"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": {
@@ -1872,6 +1878,10 @@
"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,6 +650,12 @@
"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": {
@@ -1076,6 +1082,10 @@
"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,6 +508,14 @@
],
"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": {
@@ -1211,6 +1219,16 @@
"-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,6 +913,10 @@
"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,6 +1233,10 @@
"-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": {
@@ -2821,6 +2825,12 @@
}
}
}
},
"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,6 +746,10 @@
"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,6 +736,10 @@
"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": {
@@ -1451,6 +1455,10 @@
"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": {
@@ -2602,6 +2610,9 @@
}
}
}
},
"timeline": {
"0.4167": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.garchomp.blink": {
@@ -4509,6 +4520,9 @@
"1.875": [0, 0, 0]
}
}
},
"timeline": {
"1.25": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.garchomp.physical_alt": {
@@ -5927,6 +5941,10 @@
}
}
}
},
"timeline": {
"1.375": "q.run_molang('cobblemon:stepsound_standard_medium');",
"2.4583": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.garchomp.physical_blunt": {
@@ -8022,6 +8040,9 @@
}
}
}
},
"timeline": {
"2.5833": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.garchomp.special": {
@@ -10925,6 +10946,10 @@
}
}
}
},
"timeline": {
"1.0417": "q.run_molang('cobblemon:stepsound_standard_medium');",
"2.5417": "q.run_molang('cobblemon:stepsound_standard_medium');"
}
},
"animation.garchomp.battle_cry": {
@@ -301,6 +301,10 @@
"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": {
@@ -390,6 +394,10 @@
"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": {
@@ -523,6 +531,11 @@
"1.5": [0, 0, 0]
}
}
},
"sound_effects": {
"0.0": {
"effect": "pokemon.lickilicky.cry"
}
}
},
"animation.lickilicky.ride_ground_walk": {
@@ -409,6 +409,10 @@
"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": {
@@ -761,6 +765,12 @@
"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,10 +1942,9 @@
}
}
},
"sound_effects": {
"1.1667": {
"effect": "zebstrika_cry"
}
"timeline": {
"0.0": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.5": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.zebstrika.ground_run": {
@@ -2678,6 +2677,12 @@
}
}
}
},
"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,6 +1318,12 @@
"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": {
@@ -2188,6 +2194,10 @@
"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,6 +2688,20 @@
"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": {
@@ -3654,6 +3668,20 @@
"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,6 +1488,10 @@
"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": {
@@ -2619,6 +2623,10 @@
"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,6 +444,10 @@
"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": {
@@ -825,6 +829,10 @@
"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,6 +652,10 @@
"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": {
@@ -1454,6 +1458,16 @@
"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": {
@@ -3964,6 +3978,15 @@
"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": {
@@ -6027,6 +6050,9 @@
}
}
}
},
"timeline": {
"0.4583": "q.run_molang('cobblemon:stepsound_minecraft');"
}
},
"animation.bouffalant.battle_cry": {
@@ -7357,6 +7383,10 @@
"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": {
@@ -7827,32 +7857,20 @@
"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": {
@@ -9349,66 +9367,40 @@
"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,6 +1714,10 @@
}
}
}
},
"timeline": {
"0.0417": "q.run_molang('cobblemon:stepsound_claw_medium');",
"0.7917": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.braviary.air_idle": {
@@ -2022,6 +2022,10 @@
"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": {
@@ -2294,7 +2298,7 @@
},
"timeline": {
"0.0417": "q.has_entity ? { q.sound('animation.plumage.wing_flap.medium'); };",
"1.3333": "q.has_entity ? { q.sound('animation.plumage.wing_flap.medium'); };"
"1.375": "q.has_entity ? { q.sound('animation.plumage.wing_flap.medium'); };"
}
},
"animation.braviary_hisuian.air_fly": {
@@ -747,6 +747,10 @@
}
}
}
},
"timeline": {
"0.0833": "q.run_molang('cobblemon:stepsound_hoof_medium');",
"0.5833": "q.run_molang('cobblemon:stepsound_hoof_medium');"
}
},
"animation.gogoat.ground_run": {
@@ -1361,6 +1365,12 @@
"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,6 +1584,10 @@
"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": {
@@ -4991,6 +4995,12 @@
"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": {
@@ -5963,6 +5973,14 @@
"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,6 +2461,10 @@
"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": {
@@ -3004,6 +3008,10 @@
}
}
}
},
"timeline": {
"0.1667": "q.run_molang('cobblemon:stepsound_standard_large');",
"0.5417": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.goodra.idle_quirk1": {
@@ -2374,6 +2374,10 @@
"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": {
@@ -2930,6 +2934,10 @@
}
}
}
},
"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,6 +919,10 @@
"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": {
@@ -1605,6 +1609,10 @@
"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,6 +235,10 @@
"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,6 +863,12 @@
"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": {
@@ -1439,6 +1445,12 @@
"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,6 +421,10 @@
"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": {
@@ -721,6 +725,10 @@
"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": {
@@ -2037,6 +2045,13 @@
}
}
}
},
"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": {
@@ -2887,6 +2902,9 @@
"2.6667": {"pre": [0, 0, -0.1], "post": [0, 0, 0]}
}
}
},
"timeline": {
"0.7917": "q.run_molang('cobblemon:stepsound_standard_large');"
}
},
"animation.duraludon.status": {
@@ -5182,6 +5200,11 @@
}
}
}
},
"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,6 +1207,10 @@
"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": {
@@ -1956,6 +1960,12 @@
}
}
}
},
"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": {
@@ -2779,31 +2789,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(0)*10+math.sin(q.anim_time*90*20-30)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-30)*5", 0, 0]
},
"spike_right2": {
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-32)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-32)*5", 0, 0]
},
"spike_right3": {
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-51)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-51)*5", 0, 0]
},
"spike_right4": {
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-41)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-41)*5", 0, 0]
},
"spike_left": {
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-39)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-39)*5", 0, 0]
},
"spike_left2": {
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-35)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-35)*5", 0, 0]
},
"spike_left3": {
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-30)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-30)*5", 0, 0]
},
"spike_left4": {
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-45)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y*10+math.sin(q.anim_time*90*20-45)*5", 0, 0]
},
"spike_middle": {
"rotation": ["-20+q.r.velocity_y(0)*10+math.sin(q.anim_time*90*20-50)*5", 0, 0]
"rotation": ["-20+q.r.velocity_y*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,6 +1730,10 @@
"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": {
@@ -2422,6 +2426,10 @@
"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,19 +501,10 @@
},
"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": {
@@ -747,19 +738,10 @@
},
"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": {
@@ -1041,18 +1023,9 @@
},
"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]
}
@@ -1226,18 +1199,9 @@
},
"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]
}
@@ -1466,18 +1430,9 @@
"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": {
@@ -1489,18 +1444,9 @@
"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": {
@@ -2717,6 +2663,11 @@
"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": {
@@ -2943,10 +2894,7 @@
"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": {
@@ -3341,10 +3289,7 @@
"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": {
@@ -3664,14 +3609,8 @@
},
"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]
}
},
@@ -3703,18 +3642,9 @@
},
"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]
}
},
@@ -5262,27 +5192,15 @@
"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": {
@@ -5420,6 +5338,9 @@
}
}
}
},
"timeline": {
"2.6667": "q.run_molang('cobblemon:stepsound_claw_medium');"
}
},
"animation.kilowattrel.ground_walk": {
@@ -6245,6 +6166,10 @@
"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": {
@@ -6833,6 +6758,10 @@
"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,6 +402,10 @@
"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": {
@@ -702,6 +706,10 @@
"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": {
@@ -1550,6 +1558,10 @@
"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,6 +401,10 @@
"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": {
@@ -795,6 +799,10 @@
"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": {
@@ -1201,6 +1209,10 @@
}
}
}
},
"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,6 +923,12 @@
"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": {
@@ -1578,6 +1584,12 @@
"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,6 +278,10 @@
"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": {
@@ -506,6 +510,10 @@
"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": {
@@ -1452,6 +1460,12 @@
"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": {
@@ -2579,6 +2593,13 @@
}
}
}
},
"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": {
@@ -3715,6 +3736,13 @@
}
}
}
},
"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": {
@@ -5405,6 +5433,13 @@
}
}
}
},
"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": {
@@ -7100,6 +7135,13 @@
"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": {
@@ -7748,6 +7790,14 @@
"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,11 +15,51 @@
"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",
@@ -68,6 +108,23 @@
{"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",
@@ -140,6 +197,15 @@
{"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",
@@ -206,6 +272,31 @@
{"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",
@@ -255,6 +346,15 @@
{"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",
@@ -323,6 +423,15 @@
{"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",
@@ -405,6 +514,22 @@
{"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",
@@ -437,6 +562,15 @@
{"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",
@@ -486,6 +620,24 @@
{"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",
@@ -534,6 +686,15 @@
{"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",
@@ -567,6 +728,15 @@
{"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",
@@ -0,0 +1,61 @@
{
"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": []
}
}
}
@@ -0,0 +1,60 @@
{
"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')"
}
}
}
}
@@ -3673,6 +3673,12 @@
"tag.item.cobblemon.terrain_plants": "Terrain Plants",
"tag.item.cobblemon.tall_flowers": "Tall Flowers",
"tag.item.cobblemon.small_flowers": "Small Flowers",
"tag.item.cobblemon.drops.coral": "Any Coral",
"tag.item.cobblemon.drops.dead_coral": "Any Dead Coral",
"tag.item.cobblemon.drops.dyes": "Any Dye",
"tag.item.cobblemon.drops.ink_sacs": "Any Ink Sac",
"tag.item.cobblemon.drops.flowers": "Any Flower",
"tag.item.cobblemon.drops.apricorn_sprouts": "Any Apricorn Sprout",
"tag.worldgen.biome.cobblemon.evolution.regional.bergmite_hisuibiome": "Hisuian",
"tag.worldgen.biome.cobblemon.evolution.regional.bergmite_kalosbiome": "Kalosian",
@@ -2516,12 +2516,12 @@
"stepsound.grass.minecraft": {
"subtitle": "subtitles.block.generic.footsteps",
"sounds": [
{ "name": "step/grass1", "volume": 0.05 },
{ "name": "step/grass2", "volume": 0.05 },
{ "name": "step/grass3", "volume": 0.05 },
{ "name": "step/grass4", "volume": 0.05 },
{ "name": "step/grass5", "volume": 0.05 },
{ "name": "step/grass6", "volume": 0.05 }
{ "name": "step/grass1", "volume": 0.1 },
{ "name": "step/grass2", "volume": 0.1 },
{ "name": "step/grass3", "volume": 0.1 },
{ "name": "step/grass4", "volume": 0.1 },
{ "name": "step/grass5", "volume": 0.1 },
{ "name": "step/grass6", "volume": 0.1 }
]
},
"stepsound.glass.minecraft": {
@@ -2547,23 +2547,23 @@
"stepsound.mud.minecraft": {
"subtitle": "subtitles.block.generic.footsteps",
"sounds": [
{ "name": "block/mud/step1", "volume": 0.2 },
{ "name": "block/mud/step2", "volume": 0.2 },
{ "name": "block/mud/step3", "volume": 0.2 },
{ "name": "block/mud/step4", "volume": 0.2 },
{ "name": "block/mud/step5", "volume": 0.2 },
{ "name": "block/mud/step6", "volume": 0.2 }
{ "name": "block/mud/step1", "volume": 0.08 },
{ "name": "block/mud/step2", "volume": 0.08 },
{ "name": "block/mud/step3", "volume": 0.08 },
{ "name": "block/mud/step4", "volume": 0.08 },
{ "name": "block/mud/step5", "volume": 0.08 },
{ "name": "block/mud/step6", "volume": 0.08 }
]
},
"stepsound.stone.minecraft": {
"subtitle": "subtitles.block.generic.footsteps",
"sounds": [
{ "name": "step/stone1", "volume": 0.08 },
{ "name": "step/stone2", "volume": 0.08 },
{ "name": "step/stone3", "volume": 0.08 },
{ "name": "step/stone4", "volume": 0.08 },
{ "name": "step/stone5", "volume": 0.08 },
{ "name": "step/stone6", "volume": 0.08 }
{ "name": "step/stone1", "volume": 0.1 },
{ "name": "step/stone2", "volume": 0.1 },
{ "name": "step/stone3", "volume": 0.1 },
{ "name": "step/stone4", "volume": 0.1 },
{ "name": "step/stone5", "volume": 0.1 },
{ "name": "step/stone6", "volume": 0.1 }
]
},
"stepsound.wood.minecraft": {
@@ -0,0 +1,112 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:snowball",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:sweet_berries",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 4
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:never_melt_ice",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:occa_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/abomasnow"
}
@@ -0,0 +1,85 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:ender_pearl",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 1
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:twisted_spoon",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.025
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:kasib_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.025
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/abra"
}
@@ -0,0 +1,84 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:razor_claw",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:life_orb",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:roseli_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/absol"
}
@@ -0,0 +1,32 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:shed_shell",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/accelgor"
}
@@ -0,0 +1,111 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:iron_nugget",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 3
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:iron_sword",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:dusk_stone",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:ability_shield",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/aegislash"
}
@@ -0,0 +1,59 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bone",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 3
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:rocky_helmet",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/aerodactyl"
}
@@ -0,0 +1,85 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:raw_iron",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 3
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:hard_stone",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:chople_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/aggron"
}
@@ -0,0 +1,59 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:nanab_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.025
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:tag",
"name": "cobblemon:drops/apricorn_sprouts",
"expand": true,
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.025
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/aipom"
}
@@ -0,0 +1,85 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:ender_pearl",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 3
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:twisted_spoon",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:kasib_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/alakazam"
}
@@ -0,0 +1,59 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:sugar",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:cake",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/alcremie"
}
@@ -0,0 +1,121 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:cod",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
},
{
"conditions": [
{
"condition": "minecraft:any_of",
"terms": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_on_fire": true
}
}
},
{
"condition": "minecraft:entity_properties",
"entity": "direct_attacker",
"predicate": {
"equipment": {
"mainhand": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "#minecraft:smelts_loot"
}
]
}
}
}
}
}
]
}
],
"function": "minecraft:furnace_smelt"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bone_meal",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:deep_sea_scale",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/alomomola"
}
@@ -0,0 +1,122 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:white_wool",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:chicken",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
},
{
"conditions": [
{
"condition": "minecraft:any_of",
"terms": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_on_fire": true
}
}
},
{
"condition": "minecraft:entity_properties",
"entity": "direct_attacker",
"predicate": {
"equipment": {
"mainhand": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "#minecraft:smelts_loot"
}
]
}
}
}
}
}
]
}
],
"function": "minecraft:furnace_smelt"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:yache_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/altaria"
}
@@ -0,0 +1,32 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:never_melt_ice",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/amaura"
}
@@ -0,0 +1,59 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:nanab_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:tag",
"name": "cobblemon:drops/apricorn_sprouts",
"expand": true,
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/ambipom"
}
@@ -0,0 +1,59 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:red_mushroom",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:cheri_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/amoonguss"
}
@@ -0,0 +1,95 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:mutton",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 4
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
},
{
"conditions": [
{
"condition": "minecraft:any_of",
"terms": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_on_fire": true
}
}
},
{
"condition": "minecraft:entity_properties",
"entity": "direct_attacker",
"predicate": {
"equipment": {
"mainhand": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "#minecraft:smelts_loot"
}
]
}
}
}
}
}
]
}
],
"function": "minecraft:furnace_smelt"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:cheri_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/ampharos"
}
@@ -0,0 +1,58 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:muscle_band",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:payapa_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/annihilape"
}
@@ -0,0 +1,32 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:quick_claw",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/anorith"
}
@@ -0,0 +1,59 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:sweet_apple",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:yache_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/appletun"
}
@@ -0,0 +1,59 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:apple",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:yache_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.025
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/applin"
}
@@ -0,0 +1,84 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:mystic_water",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:shed_shell",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:wepear_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/araquanid"
}
@@ -0,0 +1,58 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:razor_fang",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:shed_shell",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/arbok"
}
@@ -0,0 +1,84 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:big_root",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:grassy_seed",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:kebia_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.1
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/arboliva"
}
@@ -0,0 +1,59 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bone",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:rawst_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/arcanine"
}
@@ -0,0 +1,59 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bone",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "cobblemon:rawst_berry",
"functions": [
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/arcanine_hisui"
}
@@ -0,0 +1,5 @@
{
"type": "minecraft:generic",
"pools": [],
"random_sequence": "cobblemon:pokemon/arceus"
}
@@ -0,0 +1,5 @@
{
"type": "minecraft:generic",
"pools": [],
"random_sequence": "cobblemon:pokemon/archaludon"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:generic",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:feather",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
]
}
]
}
],
"random_sequence": "cobblemon:pokemon/archen"
}
Loaded 100 of 2258 files, more files were not shown because too many files have changed in this diff. Show more