Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
831d08b76e | ||
|
|
5f1e72d040 | ||
|
|
2cf2105bdc | ||
|
|
a2d584a685 | ||
|
|
3a9916f066 | ||
|
|
ab8bd49911 | ||
|
|
e6f147bd94 | ||
|
|
c66de51e39 | ||
|
|
7d552735f3 | ||
|
|
94c42e7e2c | ||
|
|
ef4690d4fe | ||
|
|
433c0ff345 | ||
|
|
59d42fb328 | ||
|
|
17d6837e34 | ||
|
|
34b4337849 | ||
|
|
392e8663be | ||
|
|
578ff37705 | ||
|
|
77406f91a3 | ||
|
|
9bf526e93e | ||
|
|
29b763ef19 | ||
|
|
938b7a7a94 | ||
|
|
f920639e3f | ||
|
|
ea499a935e | ||
|
|
1dbe5eb944 | ||
|
|
dba0bae810 | ||
|
|
8c04081af5 | ||
|
|
d7de4b2463 | ||
|
|
61b767158a | ||
|
|
f2f16cdc9e | ||
|
|
2aec4f972f | ||
|
|
bc8164cf17 | ||
|
|
a09cf1b93d | ||
|
|
b436c42cb1 | ||
|
|
79b83bc8d7 | ||
|
|
a6b5453b34 | ||
|
|
7fcb9e8b4d | ||
|
|
f3740abd39 | ||
|
|
e4decf50ea | ||
|
|
22d33ac5d8 | ||
|
|
f2392db3be | ||
|
|
9fed44328f | ||
|
|
26d0340fb5 | ||
|
|
21f2945dc4 | ||
|
|
16a5316a69 | ||
|
|
378a5ca401 | ||
|
|
d956ca2c3c | ||
|
|
14a079fae1 | ||
|
|
3e9331ec64 | ||
|
|
a7c43701c0 | ||
|
|
34aef306c1 | ||
|
|
b4e99204c8 | ||
|
|
8c09cebc59 | ||
|
|
b5bfe44196 | ||
|
|
38c5fcc23f | ||
|
|
9edfa279be | ||
|
|
2769d5560d | ||
|
|
ed7d2d5d2a | ||
|
|
d839a13b7e | ||
|
|
a23cd170b2 | ||
|
|
3dec294728 | ||
|
|
c67cf2e05d | ||
|
|
3b96beef36 | ||
|
|
dcbac52fd7 | ||
|
|
64dd8336c6 | ||
|
|
2681cdc5ba | ||
|
|
8d265bd820 | ||
|
|
6b43e5d99d | ||
|
|
b430b8a1b4 | ||
|
|
329810407a | ||
|
|
6ca04bb064 | ||
|
|
ebf0144222 | ||
|
|
a71cfaadc8 | ||
|
|
31195dacdb | ||
|
|
107ec7634d | ||
|
|
ed85de34b3 | ||
|
|
6dbf1288a0 | ||
|
|
aee915dc91 | ||
|
|
a1974fbe74 | ||
|
|
145481530d | ||
|
|
b5694b4e13 | ||
|
|
9df4669865 | ||
|
|
92543f9aed | ||
|
|
5d5cb3a240 | ||
|
|
452117c781 | ||
|
|
bc267ec72b | ||
|
|
6d89b737a7 | ||
|
|
53e540472a | ||
|
|
e2804dc83f | ||
|
|
82e82cb28e | ||
|
|
4aa4c229fa |
No files matched your search
@@ -1,35 +1,77 @@
|
||||
# Changelog
|
||||
## [1.6.1 (Release TBD)](#1-6-1)
|
||||
## [1.7.0 (Month xth, 2025)](#1-7-0)
|
||||
|
||||
### Additions
|
||||
- Added config setting `maxPokedexScanningDetectionRange` to control from what distance the player can scan Pokémon using the Pokédex.
|
||||
- Added the `is_standing_on_blocks(depth, blocks...)` MoLang function, which returns whether the specified entity is standing on a specific block or set of blocks. Example usage: `q.is_standing_on_blocks(2, minecraft:sand)`
|
||||
- Added config setting `hideUnimplementedPokemonInThePokedex` which hides unimplemented Pokémon from the Pokédex when set to true.
|
||||
- Added molang particle queries for getting distance to targeted entities.
|
||||
- Added debug renderer for poseable entity locators.
|
||||
- Added `baseScale` property to NPCs.
|
||||
- Added cry for Spinda.
|
||||
- Added the player to `PokerodReelEvent`.
|
||||
- Pokédex and Dialogue API screens now close when the inventory keybind is pressed.
|
||||
- Added Galarica Nuts, used for crafting Galarica Cuffs and Wreaths. Dropped from certain Pokémon.
|
||||
- Added specific compatibility with Repurposed Structures. (Thank you, TelepathicGrunt!)
|
||||
- Added an evolution method for Karrablast to evolve into Escavalier in single-player mode.
|
||||
- Pokédexes can now be placed in Chiseled Bookshelves.
|
||||
- Added crossover paintings from Close Combat, Premonition, Altar, Slumber, and Nomad.
|
||||
- Added optional box argument to the /pc command
|
||||
- Added an in-game configuration screen, allowing all settings from `main.json` to be edited directly in-game.
|
||||
- Added `/cobblemonconfig reload` command to reload `main.json` configuration. **Note:** Some settings require a server restart to take effect; use this command cautiously.
|
||||
- Added `blacklisted_items_to_hold` and `whitelisted_items_to_hold` tags to allow for controlling which items players can give to their Pokémon. If the whitelist is empty, it will consider all item as allowed (unless they are in the blacklist).
|
||||
- Pokémon now follow the mouse cursor on the Summary screen, with an option to disable this in the settings.
|
||||
- Pokémon's held items can now be rendered, with a visibility toggle in the Summary screen.
|
||||
- Added cosmetic item functionality for Pokémon. Certain cosmetic items can be given to applicable Pokémon via the interact menu.
|
||||
- Added the various log blocks as cosmetic items for Timburr and Komala.
|
||||
- Added `visibility/hidden`, `visibility/hat` and `visibility/face` tags to control where and how certain items are rendered.
|
||||
|
||||
### Changes
|
||||
- Pokémon will now be dynamically revealed to the Pokédex as they're seen instead of revealing entire parties at the end of battle regardless.
|
||||
- Unseen wild Pokémon will update their name from '???' to their real name as soon as a battle starts to reflect the battle UI showing the actual species name.
|
||||
- Pokémon under the illusion effect will reveal their disguise to the Pokédex first and then the base Pokémon once the disguise is broken.
|
||||
- Added more support for a variety of Fabric/NeoForge Convention tags.
|
||||
- Reformatted some tags to be more consistent.
|
||||
- Edited some recipes to utilize tags instead of direct item ids, for greater mod compatibility.
|
||||
- Berries will drop if broken at age 0
|
||||
- Improved Fortune drops on Mint Seeds
|
||||
- New Slowpoke shiny texture.
|
||||
- Updated drops for many Pokémon.
|
||||
- Completely resynced Pokémon move and stat data based on later games. Learnsets have changed considerably to maximise available moves.
|
||||
- Renamed `chargeGainedPerTick` config to `secondsToChargeHealingMachine`.
|
||||
- Made Blocks of Gold count as Big Nuggets when held by a Pokémon (for Fling functionality)
|
||||
- Substantially optimised spawning checks mainly by front-loading biome filtering.
|
||||
|
||||
### Fixes
|
||||
- Fixed Particles sometimes facing the wrong direction (looking at you, Swords Dance)
|
||||
- Fixed PCs always opening at box 2 instead of box 1.
|
||||
- Fixed not being able to do complex item requirements aside from just NBT with evolution conditions, requirements and fossil items.
|
||||
- Fixed the usage `hiddenability` in `pokegive` or other spawn commands resulting in a forced hidden ability
|
||||
- Fixed the consumption of friendship berries (or EV berries) not making any noise
|
||||
- Fixed Instantly breaking and replacing a fossil analyzer with any block entity crashing the game in a complete multi-structure
|
||||
- Fixed players getting disconnected when sidemods update a Pokémon's teratype
|
||||
- Fixed fling not using Item Names for minecraft held items that substitute Pokémon items
|
||||
- Fixed evolutions sometimes preventing players from logging in to servers
|
||||
- Fixed rendering of shoulder-mounted Pokémon desyncing between clients
|
||||
- Fixed apricorn chest boats forgetting their inventories when being unloaded
|
||||
- Fixed moves not updating correctly between form changes resulting in illegal movesets
|
||||
- Fixed crash sometimes occurring with the "Oritech" mod
|
||||
- Fixed crashes due to an incorrect Java version handing out an obscure crash.
|
||||
- Fixed some berries being able to rarely get too many berries and cause a crash.
|
||||
- Fixed status curing berries not playing the berry eating sound, same for healing berries used mid-battle.
|
||||
- Fixed owned Pokémon sometimes being un-interactable after the player relogs fast
|
||||
- Fixed field name in evolution requirements for Spewpa Pokeball.
|
||||
- Fixed LevelUpCriterion logic to correctly check that the Pokémon is a preEvo.
|
||||
- Fixed `hide_additional_tooltip` vanilla flag not properly hiding tooltips on pokerod and bait items
|
||||
|
||||
### Developer
|
||||
- A finished battle now has winners and losers set inside of `PokemonBattle` instead of them always being empty.
|
||||
- Dialogues are correctly removed from memory when they are stopped.
|
||||
- Dialogues with variably-set initial pages now properly start timeout tracking.
|
||||
- Added `EvGainedEvent.Pre` and `EvGainedEvent.Post`.
|
||||
- Deprecated `EVs#add(Stat, Int)`, you will not be able to compile against this code please migrate to the `EVs#add(Stat, Int, EvSource)` you most likely want to use `SidemodEvSource` but please check other implementations or make your own.
|
||||
- Removed the NbtItemPredicate class, all the mod usages now use the vanilla item predicate solution, this causes breaking changes on Fossil, HeldItemRequirement & ItemInteractionEvolution
|
||||
- Renamed Cobblemon's creative tabs to start with "Cobblemon: " to distinguish Cobblemon's tabs from tabs for other mods.
|
||||
- Various items now have a rarity value.
|
||||
|
||||
### Changes
|
||||
- When using the `cobblemon` or `generation_9` capture calculators a critical capture with a single shake will always play for successful captures when you've already registered the Pokémon as caught in your Pokédex.
|
||||
|
||||
### MoLang & Datapacks
|
||||
- The following usages for item predicates can now use item conditions like advancements do, you can learn about them in the [Minecraft wiki](https://minecraft.wiki/w/Advancement_definition#minecraft:filled_bucket)
|
||||
- The `requiredContext` for an item interaction evolution
|
||||
- The `itemCondition` for a held item evolution requirement
|
||||
- The `fossils` for a fossil entry
|
||||
- Added MoLang flows for `poke_ball_capture_calculated`, `evolution_tested`, `evolution_accepted`, `evolution_completed`
|
||||
- Added `interpolate` boolean property to animated textures to allow gradual colour changes between frames.
|
||||
|
||||
## [1.6.1 (January 26th, 2025)](#1-6-1)
|
||||
|
||||
### Additions
|
||||
- Added crossover paintings from Close Combat: Premonition, Altar, Slumber, and Nomad.
|
||||
- Added Galarica Nuts, used for crafting Galarica Cuffs and Wreaths. Dropped from certain Pokémon. Take a wild guess which.
|
||||
- Added compatibility with Repurposed Structures. (Thank you, TelepathicGrunt!)
|
||||
- Added an evolution method for Karrablast to evolve into Escavalier in singleplayer.
|
||||
- Pokédexes can now be placed in Chiseled Bookshelves.
|
||||
- Added optional box argument to the /pc command.
|
||||
- Pokédex and Dialogue screens now close when the inventory keybind is pressed.
|
||||
- Added config setting `maxPokedexScanningDetectionRange` to control from what distance the player can scan Pokémon using the Pokédex.
|
||||
- Added config setting `hideUnimplementedPokemonInThePokedex` which hides unimplemented Pokémon from the Pokédex when set to true.
|
||||
- Added debug renderer for posable entity locators.
|
||||
|
||||
### Pokémon Added
|
||||
|
||||
@@ -62,7 +104,7 @@
|
||||
- Galarian Slowking
|
||||
|
||||
#### Gen 9
|
||||
- Paldean Tauros's
|
||||
- Paldean Tauros
|
||||
|
||||
### Added cries to the following Pokémon
|
||||
- All Nidorans
|
||||
@@ -73,7 +115,7 @@
|
||||
|
||||
### Animation updates for the following Pokémon
|
||||
- Primeape
|
||||
- Munchlax
|
||||
- Munchlax
|
||||
- Snorlax
|
||||
- Poliwrath
|
||||
- Goldeen
|
||||
@@ -99,6 +141,8 @@
|
||||
- Goldeen
|
||||
- Seaking
|
||||
- Charcadet
|
||||
- Armarouge
|
||||
- Ceruledge
|
||||
- Pinsir
|
||||
- Geodude
|
||||
- Graveler
|
||||
@@ -107,35 +151,46 @@
|
||||
### Cry updates for the following Pokémon
|
||||
- Sceptile
|
||||
|
||||
### Changes
|
||||
- Completely re-synced Pokémon move and stat data based on later games. Learnsets have changed considerably to maximise available moves.
|
||||
- Pokémon will now be dynamically revealed to the Pokédex as they're seen in battle instead of revealing entire parties at the end of battle.
|
||||
- Unseen wild Pokémon will update their name from '???' to their real name as soon as a battle starts to match how the battle UI shows the actual species name.
|
||||
- Pokémon under the illusion effect will reveal their disguise to the Pokédex first and then the base Pokémon once the disguise is broken.
|
||||
- Berries will now drop from berry trees if broken at age 0 so you aren't punished for mistaken planting.
|
||||
- Increased Fortune drops on Mint Seeds.
|
||||
- Updated Slowpoke's shiny texture.
|
||||
- Updated drops for many Pokémon.
|
||||
- Adjusted the evolution sound to match the timing of the particle effect.
|
||||
- Made berry trees shear-able by dispenser blocks. I'm sure nobody will make unholy contraptions with this.
|
||||
- Edited some recipes to utilize tags instead of direct item IDs, for better mod compatibility.
|
||||
- Added more support for a variety of Fabric/NeoForge conventional tags.
|
||||
- Reformatted some tags to be more consistent.
|
||||
|
||||
### Fixes
|
||||
- Fixed Pokédex sometimes crashing when switching forms.
|
||||
- Fixed Pokédex interface not transitioning out when closed.
|
||||
- Fixed texture dimensions for the interact interface.
|
||||
- Fixed crash related to Tom's Simple Storage mod and Fossil Machine.
|
||||
- Fixed texture dimensions for the player and Pokémon interact interface.
|
||||
- Fixed crash related to Tom's Simple Storage mod and the Fossil Machine.
|
||||
- Fixed not being able to retrieve a fossil from the Fossil Machine with an empty hand.
|
||||
- Fixed Pokémon being collidable while being captured by a Poké Ball.
|
||||
- Fixed Pokémon being collidable (collidible? collissionable? kaleidoscopable?) while being captured by a Poké Ball.
|
||||
- Fixed `full_party`, `own_zangoose_seviper`, `use_revive` and `use_candy` Advancement triggers.
|
||||
- Fixed `healing_machine` Advancement by using the correct 1.21 trigger.
|
||||
- Fix Display Cases not dropping items if destroyed through explosions.
|
||||
- Fixed an issue where the first Pokémon in the pastured Pokémon list clipped into the interface.
|
||||
- Fixed all Pokémon facing South on spawn.
|
||||
- Parametric particle motion now works.
|
||||
- Event spawned particles now work.
|
||||
- Particles can now have independent coordinate spaces.
|
||||
- Fixed bait being consumed when not reeling in any Pokémon.
|
||||
- Fixed bait being consumed even when not reeling in any Pokémon.
|
||||
- Fixed Miltank milk magically disappearing out of your bucket.
|
||||
- Fixed Pokémon nicknames migrating from 1.5.2 not being displayed properly.
|
||||
- Fixed capitalization in one of our config fields, but allowing typo'd version to still be valid.
|
||||
- Fixed Poké Rods not working if lure or luck of the sea enchantments get removed by other mods.
|
||||
- Fixed crashes related to Pokémon when they are ready to evolve while holding an enchanted item.
|
||||
- Fixed crashes that sometimes occur when evolving Nincada.
|
||||
- Fixed plants not being compostible on NeoForge.
|
||||
- Fixed capitalization in one of our config options. It was a very important fix. Very important. Old configs are fine.
|
||||
- Fixed Poké Rods not working if Lure or Luck of the Sea enchantments get removed by other mods.
|
||||
- Fixed crashes related to Pokémon when they are ready to evolve while holding an enchanted item. Very specific.
|
||||
- Fixed a crash that sometimes occurred when evolving Nincada.
|
||||
- Fixed Cobblemon plants not being compostable on NeoForge.
|
||||
- Fixed hide UI (F1 key) not hiding the party overlay.
|
||||
- Fixed NPC MoLang command `player_lose_command` not working.
|
||||
- Corrected misaligned tooltips with editboxes in the NPC editor screen.
|
||||
- Fixed misaligned tooltips with edit boxes in the NPC editor screen.
|
||||
- Fixed Pokémon riding two boats when attempting to deploy a platform on water.
|
||||
- Made berry trees be shearable by dispenser blocks.
|
||||
- Fixed the summary screen showing there's experience to reach the next level when at level cap.
|
||||
- Fixed the summary screen showing there's experience to reach the next level when they are at the level cap.
|
||||
- Fixed Pokémon forgetting moves when evolving on specific cases.
|
||||
- Fixed Adorn compatibility, including improvements when using JEI/REI (Apricorn items now show up under the collapsed entries rather than standalone).
|
||||
- Fixed error message appearing on battle log when using Solar Beam with Sunny Day.
|
||||
@@ -143,41 +198,68 @@
|
||||
- Fixed `/pokedex grant all` command not giving male/female/shininess completion for some Pokémon.
|
||||
- Fixed `/pokedex grant only` and `/pokedex remove only` not respecting the form parameter passed.
|
||||
- Fixed variant forms appearing incorrectly in the Pokédex when the normal form had not been unlocked.
|
||||
- Fixed Pokémon occasionally being shot into the sky during battle.
|
||||
- Fixed Pokémon occasionally being shot into the sky during battle. No Pokémon were harmed by this bug, probably.
|
||||
- Fixed NPC editing GUI not updating aspects until a game restart.
|
||||
- Fix some users being unable to open their PC if a Pokémon in said PC had a lot of pp raises beyond normal bounds
|
||||
- Fix some color variants (dubwool, conkeldurr and undyed wooloo) missing in the Pokédex
|
||||
- Fix invalid species or held_items causing Players to not be able to load into their world anymore (commonly happening after removing addons/mods)
|
||||
- Fixed some users being unable to open their PC if a Pokémon in it had a lot of PP raises beyond normal bounds. How did you get those, anyway? Tell me or the Bellossom gets it.
|
||||
- Fixed some color variants (Dubwool, Conkeldurr and Undyed wooloo) being missing in the Pokédex.
|
||||
- Fixed invalid species or held items causing Players to not be able to load into their world anymore (commonly happening after removing addons/mods).
|
||||
- Fixed Wooloo variants not being automatically registered in the owner's Pokédex when dyed.
|
||||
- Fixed Vivichoke Dip and Leek and Potato Stew not returning a bowl upon consumption.
|
||||
- Fixed Fossil Restoration Machine not accepting Hay Bales.
|
||||
- Fixed Potion items so that they no longer apply over double their intended healing value.
|
||||
- Fixed Fast Ball capture rate applying to all Pokémon.
|
||||
- Fix "learned new move" messages appearing for already known moves on Pokémon evolutions.
|
||||
- Fix Pokémon Item Models breaking shadows nearby when being placed in Display Cases or Item Frames.
|
||||
- Fixed Vivichoke Dip and Leek & Potato Stew not returning a bowl upon consumption.
|
||||
- Fixed Fossil Restoration Tank not accepting Hay Bales as organic material.
|
||||
- Fixed Potion items applying double their intended healing value.
|
||||
- Fixed Fast Ball capture bonuses applying to all Pokémon, making it the Best Ball instead of the Mediocre Edge-Case Ball.
|
||||
- Fixed "learned new move" messages appearing for already-known moves on Pokémon evolutions.
|
||||
- Fixed Pokémon Item Models breaking shadows nearby when being placed in Display Cases or Item Frames.
|
||||
- Fixed berries not giving bonus yields when planted in their preferred biomes. I'm sure we've fixed that 5 times now.
|
||||
- Fixed the NeoForge version not supporting "SodiumDynamicLights".
|
||||
- Fixed players disconnecting from servers if they made changes to certain config options.
|
||||
- Fixed players with shouldered Pokémon not being able to rejoin their 1.5.2 worlds using 1.6.
|
||||
- Fixed `PokemonProperties` utilizing `ability=<some ability>` being treated as a forced ability even when it is a legal ability for the Pokémon.
|
||||
- Fixed type formatting in Pokédex scanner mode when dual types require two lines.
|
||||
- Fixed trading sometimes crashing the game or server.
|
||||
- Fixed Wild shiny sounds not respecting the `shinyNoticeParticlesDistance` config setting.
|
||||
- Fixed Pokémon being able to evolve mid-battle.
|
||||
- Fixed NPC held items being able to be stolen by players. Don't be a thief!
|
||||
- Fixed evolutions that require a held item consuming it as soon as meeting requirements when it should only be consumed upon evolution.
|
||||
- Fixed Pokémon showing only the default form when selecting them as a target in battle.
|
||||
- Fixed a possible error coming out of reeling fishing rods in specific situations.
|
||||
- Fixed incorrect weights being used when Poké Fishing with Luck of the Sea.
|
||||
- Parametric particle motion now works.
|
||||
- Event-spawned particles now work.
|
||||
- Particles can now have independent coordinate spaces.
|
||||
|
||||
### Developer
|
||||
- Updated the Pokédex data updated events to always include a Pokemon instance, and optionally a DisguiseData instance.
|
||||
- Updated the Pokédex data updated events to always include a `Pokemon` instance, and optionally a `DisguiseData` instance.
|
||||
- Updated fields in `SpawnNPCPacket` and `SpawnPokemonPacket` to be visible and mutable.
|
||||
- Updated `UnvalidatedPlaySoundS2CPacket` to be public instead of internal and made its fields mutable.
|
||||
- Added `hideNameTag` field and `HideNPCNameTag` nbt tag to `NPCEntity` to allow hiding the name tag of the NPC.
|
||||
- Added the player to `PokerodReelEvent` so you know who is doing the reeling.
|
||||
|
||||
### Molang & Datapacks
|
||||
### MoLang & Datapacks
|
||||
- Added flows for:
|
||||
- `forme_change`: Triggered when a Pokémon changes form in battle.
|
||||
- `mega_evolution`: Triggered when a Pokémon mega evolves in battle. (Note: Third party mods are required for this feature currently)
|
||||
- `zpower_used`: Triggered when a Pokémon uses a Z-Power move in battle. (Note: Third party mods are required for this feature currently)
|
||||
- `terastallization`: Triggered when a Pokémon terastallizes in battle. (Note: Third party mods are required for this feature currently)
|
||||
- `mega_evolution`: Triggered when a Pokémon mega evolves in battle. (Note: Third-party mods are required for this feature currently)
|
||||
- `zpower_used`: Triggered when a Pokémon uses a Z-Power move in battle. (Note: Third-party mods are required for this feature currently)
|
||||
- `terastallization`: Triggered when a Pokémon terastallizes in battle. (Note: Third-party mods are required for this feature currently)
|
||||
- `battle_fainted`: Triggered when a Pokémon faints in battle.
|
||||
- `battle_fled`: Triggered when a Player flees from battle.
|
||||
- `battle_fled`: Triggered when a player flees from battle.
|
||||
- `battle_started_pre`: Triggered when a battle starts. Cancelable!
|
||||
- `battle_started_post`: Triggered when a battle starts.
|
||||
- `apricorn_harvested`: Triggered when an apricorn is harvested.
|
||||
- `apricorn_harvested`: Triggered when an Apricorn is harvested.
|
||||
- `thrown_pokeball_hit`: Triggered when a thrown Pokéball hits a Pokémon.
|
||||
- `level_up`: Triggered when a Pokémon levels up.
|
||||
- `pokemon_fainted`: Triggered when a Pokémon faints.
|
||||
- `pokemon_gained`: Triggered when a Player gains a Pokémon.
|
||||
- Added molang functions:
|
||||
- `pokemon_gained`: Triggered when a player gains a Pokémon.
|
||||
- Added MoLang functions:
|
||||
- For Pokémon:
|
||||
- `pokemon.apply(PokemonProperties)`: Applies the given properties to the Pokémon.
|
||||
- `pokemon.owner`: Returns the owner of the Pokémon or 0.0 if there is no owner or they are not online.
|
||||
- For all entities:
|
||||
- `entity.is_standing_on_blocks(depth, blocks...)`: Returns whether the specified entity is standing on a specific block or set of blocks. Example usage: `q.is_standing_on_blocks(2, minecraft:sand)`
|
||||
- Added NPC field:
|
||||
- `hideNameTag`: Hides the name tag of the NPC.
|
||||
- Added `baseScale` property to NPCs.
|
||||
- Added MoLang particle queries for getting distance to targeted entities.
|
||||
|
||||
## [1.6.0 - The Record Catch Update (December 25th, 2024)](#1-6-0)
|
||||
#### "Now that there's a fishing mechanic, the mod is actually good!"
|
||||
@@ -2080,5 +2162,4 @@ Thank you so much to all of our community translators that bring the mod to the
|
||||
- Added species, ability, and move translations for `ko_ko`, `jp_jp`, `fr_fr`, `es_es`, `it_it`, and `zh_cn`.
|
||||
|
||||
## [1.0.0 (November 12th, 2022)](#1-0-0)
|
||||
- Initial release.
|
||||
|
||||
- Initial release.
|
||||
@@ -220,7 +220,7 @@ object Cobblemon {
|
||||
storage.onPlayerDataSync(it)
|
||||
playerDataManager.syncAllToPlayer(it)
|
||||
starterHandler.handleJoin(it)
|
||||
ServerSettingsPacket(this.config.preventCompletePartyDeposit, this.config.displayEntityLevelLabel, this.config.displayEntityNameLabel, this.config.maxPokemonLevel).sendToPlayer(it)
|
||||
ServerSettingsPacket(this.config.preventCompletePartyDeposit, this.config.displayEntityLevelLabel, this.config.displayEntityNameLabel, this.config.maxPokemonLevel, this.config.maxPokemonFriendship, this.config.maxDynamaxLevel).sendToPlayer(it)
|
||||
}
|
||||
PlatformEvents.SERVER_PLAYER_LOGOUT.subscribe {
|
||||
PCLinkManager.removeLink(it.player.uuid)
|
||||
@@ -258,6 +258,8 @@ object Cobblemon {
|
||||
// Lowest priority because this applies after luxury ball bonus as of gen 4
|
||||
CobblemonEvents.FRIENDSHIP_UPDATED.subscribe(Priority.LOWEST) { event ->
|
||||
var increment = (event.newFriendship - event.pokemon.friendship).toFloat()
|
||||
if (increment <= 0) //these affects are only meant to affect positive gains
|
||||
return@subscribe
|
||||
// Our Luxury ball spec is diff from official, but we will still assume these stack
|
||||
if (event.pokemon.heldItemNoCopy().`is`(CobblemonItemTags.IS_FRIENDSHIP_BOOSTER)) {
|
||||
increment += increment * 0.5F
|
||||
@@ -386,8 +388,8 @@ object Cobblemon {
|
||||
storage.unregisterAll(it.server.registryAccess())
|
||||
playerDataManager.saveAllStores()
|
||||
}
|
||||
PlatformEvents.SERVER_STARTED.subscribe {
|
||||
bestSpawner.onServerStarted()
|
||||
PlatformEvents.SERVER_STARTED.subscribe { event ->
|
||||
bestSpawner.onServerStarted(event.server)
|
||||
battleRegistry.onServerStarted()
|
||||
}
|
||||
PlatformEvents.SERVER_TICK_POST.subscribe { ServerTickHandler.onTick(it.server) }
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
package com.cobblemon.mod.common.api.conditional
|
||||
|
||||
import net.minecraft.core.Holder
|
||||
import net.minecraft.core.Registry
|
||||
|
||||
/**
|
||||
@@ -17,5 +18,10 @@ import net.minecraft.core.Registry
|
||||
* @since July 16th, 2022
|
||||
*/
|
||||
interface RegistryLikeCondition<T> {
|
||||
fun fits(t: T, registry: Registry<T>): Boolean
|
||||
fun fits(t: T, registry: Registry<T>): Boolean {
|
||||
val holder = registry.wrapAsHolder(t)
|
||||
return holder != null && fits(holder)
|
||||
}
|
||||
|
||||
fun fits(holder: Holder<T>): Boolean
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
package com.cobblemon.mod.common.api.conditional
|
||||
|
||||
import com.google.gson.JsonElement
|
||||
import net.minecraft.core.Registry
|
||||
import net.minecraft.core.Holder
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
|
||||
/**
|
||||
@@ -24,5 +24,6 @@ open class RegistryLikeIdentifierCondition<T : Any>(val identifier: ResourceLoca
|
||||
constructor: (ResourceLocation) -> RegistryLikeIdentifierCondition<T>
|
||||
): (JsonElement) -> RegistryLikeIdentifierCondition<T>? = { constructor(ResourceLocation.parse(it.asString)) }
|
||||
}
|
||||
override fun fits(t: T, registry: Registry<T>) = registry.getKey(t) == identifier
|
||||
|
||||
override fun fits(t: Holder<T>) = t.`is`(identifier)
|
||||
}
|
||||
@@ -9,6 +9,7 @@
|
||||
package com.cobblemon.mod.common.api.conditional
|
||||
|
||||
import com.google.gson.JsonElement
|
||||
import net.minecraft.core.Holder
|
||||
import net.minecraft.core.Registry
|
||||
import net.minecraft.resources.ResourceKey
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
@@ -39,16 +40,5 @@ open class RegistryLikeTagCondition<T : Any>(val tag: TagKey<T>) : RegistryLikeC
|
||||
}
|
||||
}
|
||||
|
||||
override fun fits(t: T, registry: Registry<T>): Boolean {
|
||||
// val registryHasTag = registry.containsTag(tag)
|
||||
// if (!registryHasTag) {
|
||||
//// LOGGER.warn("No tag in registry: ${tag.id}")
|
||||
// return false
|
||||
// }
|
||||
|
||||
return registry.getResourceKey(t)
|
||||
.flatMap(registry::getHolder)
|
||||
.map { entry -> entry.`is`(tag) }
|
||||
.orElse(false)
|
||||
}
|
||||
override fun fits(t: Holder<T>) = t.`is`(tag)
|
||||
}
|
||||
@@ -95,8 +95,6 @@ class DropTable {
|
||||
pokemon: Pokemon? = null,
|
||||
) {
|
||||
val drops = getDrops(amount, pokemon).toMutableList()
|
||||
val heldItem = (entity as PokemonEntity?)?.pokemon?.heldItemNoCopy() ?: ItemStack.EMPTY
|
||||
if (!heldItem.isEmpty) entity?.spawnAtLocation(heldItem.item)
|
||||
LOOT_DROPPED.postThen(
|
||||
event = LootDroppedEvent(this, player, entity, drops),
|
||||
ifSucceeded = { it.drops.forEach { it.drop(entity, world, pos, player) } }
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
package com.cobblemon.mod.common.api.events.pokemon
|
||||
|
||||
import com.cobblemon.mod.common.Cobblemon
|
||||
import com.cobblemon.mod.common.pokemon.Pokemon
|
||||
|
||||
/**
|
||||
@@ -18,5 +19,11 @@ import com.cobblemon.mod.common.pokemon.Pokemon
|
||||
*/
|
||||
data class FriendshipUpdatedEvent(
|
||||
val pokemon: Pokemon,
|
||||
var newFriendship: Int
|
||||
)
|
||||
val newFriendshipInitial: Int
|
||||
)
|
||||
{
|
||||
var newFriendship: Int = newFriendshipInitial
|
||||
set(value) {
|
||||
field = value.coerceIn(0, Cobblemon.config.maxPokemonFriendship)
|
||||
}
|
||||
}
|
||||
@@ -850,7 +850,7 @@ object MoLangFunctions {
|
||||
{ spawningContext ->
|
||||
val map = hashMapOf<String, java.util.function.Function<MoParams, Any>>()
|
||||
val worldValue = spawningContext.world.registryAccess().registryOrThrow(Registries.DIMENSION).wrapAsHolder(spawningContext.world).asWorldMoLangValue()
|
||||
val biomeValue = spawningContext.biomeRegistry.wrapAsHolder(spawningContext.biome).asBiomeMoLangValue()
|
||||
val biomeValue = spawningContext.biomeHolder.asBiomeMoLangValue()
|
||||
map.put("biome") { _ -> biomeValue }
|
||||
map.put("world") { _ -> worldValue }
|
||||
map.put("light") { _ -> DoubleValue(spawningContext.light.toDouble()) }
|
||||
|
||||
@@ -57,6 +57,7 @@ class NPCClass {
|
||||
var isInvulnerable = false
|
||||
var isLeashable = true
|
||||
var allowProjectileHits = true
|
||||
var hideNameTag = false
|
||||
|
||||
// If you're adding stuff here, add it to NPCPreset and NPCClassAdapter too
|
||||
|
||||
@@ -97,6 +98,7 @@ class NPCClass {
|
||||
buffer.writeBoolean(isInvulnerable)
|
||||
buffer.writeBoolean(isLeashable)
|
||||
buffer.writeBoolean(allowProjectileHits)
|
||||
buffer.writeBoolean(hideNameTag)
|
||||
}
|
||||
|
||||
fun decode(buffer: RegistryFriendlyByteBuf) {
|
||||
@@ -148,5 +150,6 @@ class NPCClass {
|
||||
isInvulnerable = buffer.readBoolean()
|
||||
isLeashable = buffer.readBoolean()
|
||||
allowProjectileHits = buffer.readBoolean()
|
||||
hideNameTag = buffer.readBoolean()
|
||||
}
|
||||
}
|
||||
@@ -37,6 +37,7 @@ class NPCPreset {
|
||||
var isInvulnerable: Boolean? = null
|
||||
var isLeashable: Boolean? = null
|
||||
var allowProjectileHits: Boolean? = null
|
||||
var hideNameTag: Boolean? = null
|
||||
|
||||
fun applyTo(npcClass: NPCClass) {
|
||||
resourceIdentifier?.let { npcClass.resourceIdentifier = it }
|
||||
@@ -63,5 +64,6 @@ class NPCPreset {
|
||||
isInvulnerable?.let { npcClass.isInvulnerable = it }
|
||||
isLeashable?.let { npcClass.isLeashable = it }
|
||||
allowProjectileHits?.let { npcClass.allowProjectileHits = it }
|
||||
hideNameTag?.let { npcClass.hideNameTag = it }
|
||||
}
|
||||
}
|
||||
@@ -78,6 +78,7 @@ any number of presets and the properties of those presets will be merged into th
|
||||
"skill": 5,
|
||||
"autoHealParty": true,
|
||||
"randomizePartyOrder": true,
|
||||
"hideNameTag": false,
|
||||
"party": {
|
||||
"type": "simple",
|
||||
"pokemon": [
|
||||
@@ -411,4 +412,7 @@ Pokémon in the party.
|
||||
|
||||
### ai
|
||||
The AI property is an array of brain configurations. This is used to configure the behaviours of the NPC. See
|
||||
the documentation for brain configurations at [AI Configuration](../ai/config/README.md).
|
||||
the documentation for brain configurations at [AI Configuration](../ai/config/README.md).
|
||||
|
||||
### hideNameTag
|
||||
Whether the NPC's nametag should be hidden or not. Defaults to false.
|
||||
@@ -202,6 +202,8 @@ object PokeBalls : JsonDataRegistry<PokeBall> {
|
||||
// Luxury ball effect, low priority as it must be triggered before soothe bell as of gen 4
|
||||
CobblemonEvents.FRIENDSHIP_UPDATED.subscribe(priority = Priority.LOW) { event ->
|
||||
var increment = (event.newFriendship - event.pokemon.friendship).toFloat()
|
||||
if (increment <= 0) //these affects are only meant to affect positive gains
|
||||
return@subscribe
|
||||
if (increment <= 1F) {
|
||||
event.pokemon.caughtBall.effects.filterIsInstance<FriendshipEarningBoostEffect>()
|
||||
.forEach { increment *= it.multiplier }
|
||||
|
||||
@@ -809,7 +809,7 @@ open class PokemonProperties {
|
||||
private fun createAbility(id: String, form: FormData): Ability? {
|
||||
val ability = Abilities.get(id) ?: return null
|
||||
val potentialAbility = form.abilities.firstOrNull { potential -> potential.template == ability } ?: return ability.create(true)
|
||||
return potentialAbility.template.create(false)
|
||||
return potentialAbility.template.create(false, potentialAbility.priority)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -105,9 +105,6 @@ interface Evolution : EvolutionLike {
|
||||
* @param pokemon The [Pokemon] being evolved.
|
||||
*/
|
||||
fun evolve(pokemon: Pokemon): Boolean {
|
||||
if (this.consumeHeldItem) {
|
||||
pokemon.swapHeldItem(ItemStack.EMPTY)
|
||||
}
|
||||
if (this.optional) {
|
||||
// All the networking is handled under the hood, see EvolutionController.
|
||||
return pokemon.evolutionProxy.server().add(this)
|
||||
@@ -223,6 +220,10 @@ interface Evolution : EvolutionLike {
|
||||
|
||||
this.shed(pokemon)
|
||||
|
||||
if (this.consumeHeldItem) {
|
||||
pokemon.swapHeldItem(ItemStack.EMPTY)
|
||||
}
|
||||
|
||||
val ownerPlayer = pokemon.getOwnerPlayer()
|
||||
if (ownerPlayer != null && ownerPlayer.level().gameRules.getBoolean(CobblemonGameRules.DO_POKEMON_LOOT)) {
|
||||
drops.drop(
|
||||
|
||||
@@ -10,7 +10,14 @@ package com.cobblemon.mod.common.api.spawning
|
||||
|
||||
import com.cobblemon.mod.common.Cobblemon.LOGGER
|
||||
import com.cobblemon.mod.common.api.entity.Despawner
|
||||
import com.cobblemon.mod.common.api.spawning.condition.*
|
||||
import com.cobblemon.mod.common.api.spawning.condition.AreaSpawningCondition
|
||||
import com.cobblemon.mod.common.api.spawning.condition.BasicSpawningCondition
|
||||
import com.cobblemon.mod.common.api.spawning.condition.FishingSpawningCondition
|
||||
import com.cobblemon.mod.common.api.spawning.condition.GroundedSpawningCondition
|
||||
import com.cobblemon.mod.common.api.spawning.condition.SeafloorSpawningCondition
|
||||
import com.cobblemon.mod.common.api.spawning.condition.SpawningCondition
|
||||
import com.cobblemon.mod.common.api.spawning.condition.SubmergedSpawningCondition
|
||||
import com.cobblemon.mod.common.api.spawning.condition.SurfaceSpawningCondition
|
||||
import com.cobblemon.mod.common.api.spawning.context.AreaContextResolver
|
||||
import com.cobblemon.mod.common.api.spawning.context.FishingSpawningContext
|
||||
import com.cobblemon.mod.common.api.spawning.context.GroundedSpawningContext
|
||||
@@ -44,6 +51,7 @@ import com.cobblemon.mod.common.api.spawning.spawner.Spawner
|
||||
import com.cobblemon.mod.common.api.spawning.spawner.TickingSpawner
|
||||
import com.cobblemon.mod.common.entity.pokemon.CobblemonAgingDespawner
|
||||
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity
|
||||
import net.minecraft.server.MinecraftServer
|
||||
|
||||
/**
|
||||
* A grouping of all the overarching behaviours of the Best Spawner system. This is a convenient accessor to
|
||||
@@ -119,7 +127,8 @@ object BestSpawner {
|
||||
SpawnDetailPresets.registerPresetType(PokemonSpawnDetailPreset.NAME, PokemonSpawnDetailPreset::class.java)
|
||||
}
|
||||
|
||||
fun onServerStarted() {
|
||||
fun onServerStarted(server: MinecraftServer) {
|
||||
CobblemonSpawnPools.onServerLoad(server)
|
||||
spawnerManagers.forEach(SpawnerManager::onServerStarted)
|
||||
fishingSpawner = FishingSpawner()
|
||||
}
|
||||
|
||||
@@ -8,10 +8,13 @@
|
||||
|
||||
package com.cobblemon.mod.common.api.spawning
|
||||
|
||||
import com.cobblemon.mod.common.Cobblemon
|
||||
import com.cobblemon.mod.common.api.spawning.condition.BiomePrecalculation
|
||||
import com.cobblemon.mod.common.api.spawning.condition.BucketPrecalculation
|
||||
import com.cobblemon.mod.common.api.spawning.condition.ContextPrecalculation
|
||||
import com.cobblemon.mod.common.api.spawning.detail.SpawnPool
|
||||
import com.cobblemon.mod.common.data.CobblemonDataProvider
|
||||
import net.minecraft.server.MinecraftServer
|
||||
|
||||
/**
|
||||
* A collection of all of Cobblemon's general-purpose [SpawnPool]s. These
|
||||
@@ -26,6 +29,18 @@ object CobblemonSpawnPools {
|
||||
lateinit var WORLD_SPAWN_POOL: SpawnPool
|
||||
|
||||
fun load() {
|
||||
WORLD_SPAWN_POOL = CobblemonDataProvider.register(SpawnPool("world").addPrecalculators(ContextPrecalculation, BucketPrecalculation))
|
||||
WORLD_SPAWN_POOL = CobblemonDataProvider.register(SpawnPool("world")
|
||||
.addPrecalculators(
|
||||
ContextPrecalculation,
|
||||
BucketPrecalculation,
|
||||
BiomePrecalculation
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
fun onServerLoad(server: MinecraftServer) {
|
||||
Cobblemon.LOGGER.info("Optimizing spawn pools...")
|
||||
WORLD_SPAWN_POOL.forEach { it.onServerLoad(server) }
|
||||
WORLD_SPAWN_POOL.precalculate()
|
||||
}
|
||||
}
|
||||
@@ -32,7 +32,7 @@ abstract class AreaTypeSpawningCondition<T : AreaSpawningContext> : SpawningCond
|
||||
return false
|
||||
} else if (maxHeight != null && ctx.height > maxHeight!!) {
|
||||
return false
|
||||
} else if (neededNearbyBlocks != null && neededNearbyBlocks!!.none { cond -> ctx.nearbyBlockTypes.any { cond.fits(it, ctx.blockRegistry) } }) {
|
||||
} else if (neededNearbyBlocks != null && neededNearbyBlocks!!.none { cond -> ctx.nearbyBlockHolders.any { cond.fits(it) } }) {
|
||||
return false
|
||||
} else {
|
||||
return true
|
||||
|
||||
@@ -10,6 +10,8 @@ package com.cobblemon.mod.common.api.spawning.condition
|
||||
|
||||
import com.cobblemon.mod.common.api.spawning.context.SpawningContext
|
||||
import com.cobblemon.mod.common.api.spawning.detail.SpawnDetail
|
||||
import net.minecraft.core.Holder
|
||||
import net.minecraft.world.level.biome.Biome
|
||||
|
||||
/**
|
||||
* A spawning condition that is composed of a list of conditions and anticonditions.
|
||||
@@ -30,6 +32,15 @@ class CompositeSpawningCondition {
|
||||
var conditions = mutableListOf<SpawningCondition<*>>()
|
||||
var anticonditions = mutableListOf<SpawningCondition<*>>()
|
||||
|
||||
fun isBiomeValid(holder: Holder<Biome>): Boolean {
|
||||
if (conditions.isEmpty() || conditions.any { it.biomes == null || it.biomes!!.isEmpty() || it.biomes!!.any { it.fits(holder) } }) {
|
||||
if (anticonditions.isEmpty() || anticonditions.none { it.biomes != null && it.biomes!!.any { it.fits(holder) } }) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
fun satisfiedBy(ctx: SpawningContext): Boolean {
|
||||
return if (conditions.isNotEmpty() && conditions.none { it.isSatisfiedBy(ctx) }) {
|
||||
false
|
||||
|
||||
@@ -30,7 +30,11 @@ abstract class GroundedTypeSpawningCondition<T : GroundedSpawningContext> : Area
|
||||
return false
|
||||
} else if (maxHeight != null && ctx.height > maxHeight!!) {
|
||||
return false
|
||||
} else !(neededBaseBlocks != null && neededBaseBlocks!!.none { it.fits(ctx.baseBlock.block, ctx.blockRegistry) })
|
||||
} else if (neededBaseBlocks != null && neededBaseBlocks!!.none { it.fits(ctx.baseBlockHolder) }) {
|
||||
return false
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
override fun copyFrom(other: SpawningCondition<*>, merger: Merger) {
|
||||
|
||||
@@ -30,10 +30,14 @@ abstract class SeafloorTypeSpawningCondition<T : SeafloorSpawningContext> : Area
|
||||
return if (!super.fits(ctx)) {
|
||||
false
|
||||
} else if (minHeight != null && ctx.height < minHeight!!) {
|
||||
return false
|
||||
false
|
||||
} else if (maxHeight != null && ctx.height > maxHeight!!) {
|
||||
return false
|
||||
} else !(neededBaseBlocks != null && neededBaseBlocks!!.none { it.fits(ctx.baseBlock.block, ctx.blockRegistry) })
|
||||
false
|
||||
} else if (neededBaseBlocks != null && neededBaseBlocks!!.none { it.fits(ctx.baseBlockHolder) }) {
|
||||
false
|
||||
} else {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
override fun copyFrom(other: SpawningCondition<*>, merger: Merger) {
|
||||
@@ -44,7 +48,7 @@ abstract class SeafloorTypeSpawningCondition<T : SeafloorSpawningContext> : Area
|
||||
}
|
||||
|
||||
override fun isValid(): Boolean {
|
||||
val containsNullValues = neededBaseBlocks != null && neededBaseBlocks!!.any {it == null}
|
||||
val containsNullValues = neededBaseBlocks != null && neededBaseBlocks!!.any { it == null }
|
||||
return super.isValid() && !containsNullValues
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@ abstract class SpawningCondition<T : SpawningContext> {
|
||||
}
|
||||
|
||||
var dimensions: MutableList<ResourceLocation>? = null
|
||||
/** This gets checked in a precalculation but still needs to be checked for things like rarity multipliers. */
|
||||
var biomes: MutableSet<RegistryLikeCondition<Biome>>? = null
|
||||
var moonPhase: MoonPhaseRange? = null
|
||||
var canSeeSky: Boolean? = null
|
||||
@@ -98,7 +99,7 @@ abstract class SpawningCondition<T : SpawningContext> {
|
||||
return false
|
||||
} else if (dimensions != null && dimensions!!.isNotEmpty() && ctx.world.dimensionType().effectsLocation !in dimensions!!) {
|
||||
return false
|
||||
} else if (biomes != null && biomes!!.isNotEmpty() && biomes!!.none { condition -> condition.fits(ctx.biome, ctx.biomeRegistry) }) {
|
||||
} else if (biomes != null && biomes!!.isNotEmpty() && biomes!!.none { condition -> condition.fits(ctx.biomeHolder) }) {
|
||||
return false
|
||||
} else if (appendages.any { !it.fits(ctx) }) {
|
||||
return false
|
||||
@@ -153,11 +154,11 @@ abstract class SpawningCondition<T : SpawningContext> {
|
||||
}
|
||||
|
||||
open fun isValid(): Boolean {
|
||||
if(biomes != null && biomes!!.any {it == null})
|
||||
if (biomes != null && biomes!!.any { it == null })
|
||||
return false
|
||||
if(dimensions != null && dimensions!!.any {it == null})
|
||||
if (dimensions != null && dimensions!!.any { it == null })
|
||||
return false
|
||||
if(structures != null && structures!!.any {it == null})
|
||||
if (structures != null && structures!!.any { it == null })
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ import com.cobblemon.mod.common.api.spawning.SpawnBucket
|
||||
import com.cobblemon.mod.common.api.spawning.context.SpawningContext
|
||||
import com.cobblemon.mod.common.api.spawning.detail.SpawnDetail
|
||||
import com.cobblemon.mod.common.api.spawning.spawner.Spawner
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
|
||||
/**
|
||||
* A type of precalculation that can occur on a list of [SpawnDetail] to accelerate
|
||||
@@ -31,7 +32,7 @@ import com.cobblemon.mod.common.api.spawning.spawner.Spawner
|
||||
*/
|
||||
interface SpawningPrecalculation<T : Any> {
|
||||
/** Retrieves the precalculation keys for the given spawn detail. */
|
||||
fun select(detail: SpawnDetail): List<T>
|
||||
fun select(detail: SpawnDetail): Collection<T>
|
||||
/** Retrieves the precalculation key for the given context, if that key exists for this context. */
|
||||
fun select(ctx: SpawningContext): T?
|
||||
|
||||
@@ -71,7 +72,8 @@ interface SpawningPrecalculation<T : Any> {
|
||||
* @since January 31st, 2022
|
||||
*/
|
||||
object RootPrecalculation : SpawningPrecalculation<Any> {
|
||||
override fun select(detail: SpawnDetail): List<Any> = listOf(Unit)
|
||||
val list = listOf(Unit)
|
||||
override fun select(detail: SpawnDetail): List<Any> = list
|
||||
override fun select(ctx: SpawningContext): Any = Unit
|
||||
}
|
||||
|
||||
@@ -89,7 +91,15 @@ object ContextPrecalculation : SpawningPrecalculation<Class<out SpawningContext>
|
||||
object BucketPrecalculation : SpawningPrecalculation<SpawnBucket> {
|
||||
override fun select(detail: SpawnDetail) = listOf(detail.bucket)
|
||||
override fun select(ctx: SpawningContext) = ctx.cause.bucket
|
||||
}
|
||||
|
||||
/**
|
||||
* This isn't so much of a precalculation as it is a yoinking of another precalculation.
|
||||
* Uses pre-established [SpawnDetail.validBiomes] to shortcut knowing which spawns are valid for a biome.
|
||||
*/
|
||||
object BiomePrecalculation : SpawningPrecalculation<ResourceLocation> {
|
||||
override fun select(detail: SpawnDetail) = detail.validBiomes
|
||||
override fun select(ctx: SpawningContext) = ctx.biomeHolder.unwrapKey().map { it.location() }.orElse(null)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,6 +18,7 @@ import net.minecraft.world.level.block.Block
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Holder
|
||||
|
||||
/**
|
||||
* A [SpawningContext] that is for a particular area, and therefore has spatial properties.
|
||||
@@ -39,6 +40,7 @@ open class AreaSpawningContext(
|
||||
val slice: WorldSlice
|
||||
) : SpawningContext() {
|
||||
val nearbyBlockTypes: List<Block> by lazy { nearbyBlocks.mapNotNull { it.block }.distinct() }
|
||||
val nearbyBlockHolders: List<Holder<Block>> by lazy { nearbyBlockTypes.mapNotNull(blockRegistry::wrapAsHolder) }
|
||||
|
||||
override fun getStructureCache(pos: BlockPos): StructureChunkCache {
|
||||
return slice.getStructureCache(pos)
|
||||
|
||||
@@ -11,9 +11,12 @@ package com.cobblemon.mod.common.api.spawning.context
|
||||
import com.cobblemon.mod.common.api.spawning.SpawnCause
|
||||
import com.cobblemon.mod.common.api.spawning.WorldSlice
|
||||
import com.cobblemon.mod.common.api.spawning.influence.SpawningInfluence
|
||||
import com.cobblemon.mod.common.util.blockRegistry
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Holder
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.tags.FluidTags
|
||||
import net.minecraft.world.level.block.Block
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
|
||||
/**
|
||||
@@ -36,6 +39,7 @@ abstract class FlooredSpawningContext(
|
||||
) : AreaSpawningContext(cause, world, position, light, skyLight, canSeeSky, influences, height, nearbyBlocks, slice) {
|
||||
/** The block that the spawning is occurring on. */
|
||||
val baseBlock = slice.getBlockState(position.x, position.y, position.z)
|
||||
val baseBlockHolder: Holder<Block> by lazy { world.blockRegistry.wrapAsHolder(baseBlock.block) }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -82,7 +82,9 @@ abstract class SpawningContext {
|
||||
/** The current phase of the moon at this location. */
|
||||
val moonPhase: Int by lazy { world.moonPhase }
|
||||
/** The biome of this location. */
|
||||
val biome: Biome by lazy { world.getBiome(position).value() }
|
||||
val biome: Biome by lazy { biomeHolder.value() }
|
||||
/** The registry holder for the biome this context is in. */
|
||||
val biomeHolder: Holder<Biome> by lazy { world.getBiome(position) }
|
||||
|
||||
val biomeRegistry: Registry<Biome> by lazy { world.registryAccess().registryOrThrow(Registries.BIOME) }
|
||||
val blockRegistry: Registry<Block> by lazy { world.registryAccess().registryOrThrow(Registries.BLOCK) }
|
||||
|
||||
@@ -13,6 +13,7 @@ import com.cobblemon.mod.common.api.Priority
|
||||
import com.cobblemon.mod.common.api.spawning.SpawnCause
|
||||
import com.cobblemon.mod.common.api.spawning.context.SpawningContext
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.tags.BlockTags
|
||||
import net.minecraft.tags.FluidTags
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
|
||||
@@ -29,7 +30,7 @@ import net.minecraft.world.level.block.state.BlockState
|
||||
*/
|
||||
interface SpawningContextCalculator<I : SpawningContextInput, O : SpawningContext> {
|
||||
companion object {
|
||||
val isAirCondition: (BlockState) -> Boolean = { it.isAir || (!it.isSolid && !it.fluidState.`is`(FluidTags.WATER)) }
|
||||
val isAirCondition: (BlockState) -> Boolean = { it.isAir || (!it.isSolid && !it.fluidState.`is`(FluidTags.WATER) && !it.`is`(BlockTags.RAILS)) }
|
||||
val isSolidCondition: (BlockState) -> Boolean = { it.isSolid }
|
||||
val isWaterCondition: (BlockState) -> Boolean = { it.fluidState.`is`(FluidTags.WATER) && it.fluidState.isSource }
|
||||
val isLavaCondition: (BlockState) -> Boolean = { it.fluidState.`is`(FluidTags.LAVA) && it.fluidState.isSource }
|
||||
|
||||
@@ -88,7 +88,6 @@ class PokemonSpawnDetail : SpawnDetail() {
|
||||
}
|
||||
}
|
||||
|
||||
struct.setDirectly("pokemon", pokemonStruct)
|
||||
super.autoLabel()
|
||||
}
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
package com.cobblemon.mod.common.api.spawning.detail
|
||||
|
||||
import com.bedrockk.molang.runtime.struct.ArrayStruct
|
||||
import com.bedrockk.molang.runtime.struct.QueryStruct
|
||||
import com.bedrockk.molang.runtime.struct.VariableStruct
|
||||
import com.bedrockk.molang.runtime.value.DoubleValue
|
||||
import com.bedrockk.molang.runtime.value.StringValue
|
||||
@@ -22,6 +23,9 @@ import com.cobblemon.mod.common.api.spawning.context.SpawningContext
|
||||
import com.cobblemon.mod.common.api.spawning.multiplier.WeightMultiplier
|
||||
import com.cobblemon.mod.common.api.text.text
|
||||
import com.cobblemon.mod.common.util.asTranslated
|
||||
import net.minecraft.core.registries.Registries
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
import net.minecraft.server.MinecraftServer
|
||||
|
||||
/**
|
||||
* A spawnable unit in the Best Spawner API. This is extended for any kind of entity
|
||||
@@ -55,24 +59,41 @@ abstract class SpawnDetail : ModDependant {
|
||||
|
||||
var labels = mutableListOf<String>()
|
||||
|
||||
val struct: VariableStruct = VariableStruct()
|
||||
/**
|
||||
* This is calculated when the server starts. It is a set of all biome identifiers in which this spawn
|
||||
* is possible. It is used as part of the [com.cobblemon.mod.common.api.spawning.condition.BiomePrecalculation].
|
||||
*/
|
||||
@Transient
|
||||
val validBiomes = mutableSetOf<ResourceLocation>()
|
||||
|
||||
@Transient
|
||||
val struct: QueryStruct = QueryStruct(hashMapOf())
|
||||
|
||||
override var neededInstalledMods = listOf<String>()
|
||||
override var neededUninstalledMods = listOf<String>()
|
||||
|
||||
open fun autoLabel() {
|
||||
struct.setDirectly("weight", DoubleValue(weight.toDouble()))
|
||||
struct.setDirectly("percentage", DoubleValue(percentage.toDouble()))
|
||||
struct.setDirectly("id", StringValue(id))
|
||||
struct.setDirectly("bucket", StringValue(bucket.name))
|
||||
struct.setDirectly("width", DoubleValue(width.toDouble()))
|
||||
struct.setDirectly("height", DoubleValue(height.toDouble()))
|
||||
struct.setDirectly("context", StringValue(context.name))
|
||||
struct.setDirectly("labels", ArrayStruct(labels.mapIndexed { index, s -> "$index" to StringValue(s) }.toMap()))
|
||||
}
|
||||
|
||||
open fun getName() = displayName?.asTranslated() ?: id.text()
|
||||
|
||||
open fun onServerLoad(server: MinecraftServer) {
|
||||
val biomeRegistry = server.registryAccess().registryOrThrow(Registries.BIOME)
|
||||
validBiomes.clear()
|
||||
|
||||
// Calculate in advance what biomes of this world the spawn detail is valid for.
|
||||
biomeRegistry.holders().forEach { holder ->
|
||||
val key = holder.unwrapKey().orElse(null) ?: return@forEach
|
||||
if (conditions.isEmpty() || conditions.any { it.biomes == null || it.biomes!!.isEmpty() || it.biomes!!.any { it.fits(holder) } }) {
|
||||
if (anticonditions.isEmpty() || anticonditions.none { it.biomes != null && it.biomes!!.any { it.fits(holder) } }) {
|
||||
if (compositeCondition?.isBiomeValid(holder) != false) {
|
||||
validBiomes.add(key.location())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
open fun isSatisfiedBy(ctx: SpawningContext): Boolean {
|
||||
if (!ctx.preFilter(this)) {
|
||||
return false
|
||||
|
||||
@@ -10,6 +10,7 @@ package com.cobblemon.mod.common.api.spawning.detail
|
||||
|
||||
import com.cobblemon.mod.common.api.data.JsonDataRegistry
|
||||
import com.cobblemon.mod.common.api.reactive.SimpleObservable
|
||||
import com.cobblemon.mod.common.api.spawning.CobblemonSpawnPools
|
||||
import com.cobblemon.mod.common.api.spawning.SpawnLoader
|
||||
import com.cobblemon.mod.common.api.spawning.SpawnSet
|
||||
import com.cobblemon.mod.common.api.spawning.condition.PrecalculationResult
|
||||
@@ -18,6 +19,7 @@ import com.cobblemon.mod.common.api.spawning.condition.SpawningPrecalculation
|
||||
import com.cobblemon.mod.common.api.spawning.context.SpawningContext
|
||||
import com.cobblemon.mod.common.api.spawning.spawner.Spawner
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import com.cobblemon.mod.common.util.server
|
||||
import com.google.gson.Gson
|
||||
import com.google.gson.reflect.TypeToken
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
@@ -48,6 +50,10 @@ class SpawnPool(val name: String) : JsonDataRegistry<SpawnSet>, Iterable<SpawnDe
|
||||
for (set in data.values) {
|
||||
details.addAll(set.filter { it.isValid() })
|
||||
}
|
||||
val server = server()
|
||||
if (server != null && server.isRunning) {
|
||||
CobblemonSpawnPools.onServerLoad(server)
|
||||
}
|
||||
precalculate()
|
||||
}
|
||||
|
||||
|
||||
@@ -10,15 +10,12 @@ package com.cobblemon.mod.common.api.spawning.fishing
|
||||
|
||||
import com.cobblemon.mod.common.Cobblemon
|
||||
import com.cobblemon.mod.common.Cobblemon.LOGGER
|
||||
import com.cobblemon.mod.common.api.Priority
|
||||
import com.cobblemon.mod.common.api.abilities.Abilities
|
||||
import com.cobblemon.mod.common.api.events.CobblemonEvents
|
||||
import com.cobblemon.mod.common.api.events.fishing.BobberSpawnPokemonEvent
|
||||
import com.cobblemon.mod.common.api.fishing.FishingBait
|
||||
import com.cobblemon.mod.common.api.pokemon.Natures
|
||||
import com.cobblemon.mod.common.api.pokemon.PokemonSpecies
|
||||
import com.cobblemon.mod.common.api.pokemon.egg.EggGroup
|
||||
import com.cobblemon.mod.common.api.pokemon.stats.Stat
|
||||
import com.cobblemon.mod.common.api.pokemon.stats.Stats
|
||||
import com.cobblemon.mod.common.api.spawning.SpawnBucket
|
||||
import com.cobblemon.mod.common.api.spawning.SpawnCause
|
||||
@@ -27,7 +24,6 @@ import com.cobblemon.mod.common.api.spawning.detail.PokemonSpawnDetail
|
||||
import com.cobblemon.mod.common.api.spawning.detail.SpawnDetail
|
||||
import com.cobblemon.mod.common.api.spawning.spawner.Spawner
|
||||
import com.cobblemon.mod.common.api.types.ElementalTypes
|
||||
import com.cobblemon.mod.common.api.types.tera.TeraTypes
|
||||
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity
|
||||
import com.cobblemon.mod.common.item.interactive.PokerodItem
|
||||
import com.cobblemon.mod.common.pokemon.Gender
|
||||
@@ -129,8 +125,8 @@ class FishingSpawnCause(
|
||||
}
|
||||
|
||||
fun alterFriendshipAttempt(pokemonEntity: PokemonEntity, effect: FishingBait.Effect) {
|
||||
if (pokemonEntity.pokemon.friendship + effect.value > 255)
|
||||
pokemonEntity.pokemon.setFriendship(255)
|
||||
if (pokemonEntity.pokemon.friendship + effect.value > Cobblemon.config.maxPokemonFriendship)
|
||||
pokemonEntity.pokemon.setFriendship(Cobblemon.config.maxPokemonFriendship)
|
||||
else
|
||||
pokemonEntity.pokemon.setFriendship(pokemonEntity.pokemon.friendship + effect.value.toInt())
|
||||
}
|
||||
|
||||
@@ -1,51 +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.api.spawning.influence
|
||||
|
||||
import com.cobblemon.mod.common.api.spawning.context.SpawningContext
|
||||
import com.cobblemon.mod.common.api.spawning.detail.SpawnDetail
|
||||
import net.minecraft.tags.BlockTags
|
||||
|
||||
/**
|
||||
* Implements a [SpawningInfluence] that prevents Pokémon spawning on certain blocks.
|
||||
* This ensures that Pokémon don't spawn in areas that could disrupt player-built structures or mechanisms.
|
||||
* The influence checks the block directly above the potential spawn location; if the block is in the restricted list,
|
||||
* the spawn is disallowed.
|
||||
*
|
||||
* @author Aethen
|
||||
* @since February 20th, 2024
|
||||
*/
|
||||
open class RestrictedSpawnBlocksInfluence
|
||||
: SpawningInfluence {
|
||||
|
||||
// The list of blocks that Pokémon are not allowed to spawn on.
|
||||
private val restrictedBlocks = BlockTags.RAILS
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Affects the spawnable status of a Pokémon spawn detail.
|
||||
* If the block directly above the spawn location is in the restricted list, the spawn is disallowed.
|
||||
*
|
||||
* @param detail The Pokémon spawn detail to be affected.
|
||||
* @param ctx The context of the spawning event.
|
||||
* @return `true` if the spawn is allowed, `false` if it is disallowed.
|
||||
*/
|
||||
override fun affectSpawnable(detail: SpawnDetail, ctx: SpawningContext): Boolean {
|
||||
// If the spawn detail is not a Pokémon, it is not affected by this influence.
|
||||
if (detail.type != "pokemon") return true
|
||||
|
||||
// Get the position of the potential spawn location.
|
||||
val pokemonSpawnPos = ctx.position
|
||||
|
||||
// Examine the block immediately above the spawn block to check for a rail
|
||||
// Potentially need a refactor if we ever want to check the spawn block itself.
|
||||
return ctx.world.getBlockState(pokemonSpawnPos.atY(pokemonSpawnPos.y + 1)).`is`(restrictedBlocks).not()
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,6 @@ import com.cobblemon.mod.common.api.spawning.SpawnerManager
|
||||
import com.cobblemon.mod.common.api.spawning.detail.SpawnPool
|
||||
import com.cobblemon.mod.common.api.spawning.influence.PlayerLevelRangeInfluence
|
||||
import com.cobblemon.mod.common.api.spawning.influence.PlayerLevelRangeInfluence.Companion.TYPICAL_VARIATION
|
||||
import com.cobblemon.mod.common.api.spawning.influence.RestrictedSpawnBlocksInfluence
|
||||
import com.cobblemon.mod.common.api.spawning.influence.SpawningInfluence
|
||||
import com.cobblemon.mod.common.api.spawning.rules.SpawnRule
|
||||
import com.cobblemon.mod.common.util.mutableLazy
|
||||
@@ -45,7 +44,7 @@ object PlayerSpawnerFactory {
|
||||
it,
|
||||
variation = TYPICAL_VARIATION
|
||||
)
|
||||
}, { RestrictedSpawnBlocksInfluence() })
|
||||
})
|
||||
|
||||
fun create(spawnerManager: SpawnerManager, player: ServerPlayer): PlayerSpawner {
|
||||
val influences = influenceBuilders.mapNotNull { it(player) }
|
||||
|
||||
@@ -45,9 +45,9 @@ open class BottomlessStore(override val uuid: UUID) : PokemonStore<BottomlessPos
|
||||
override fun initialize() {
|
||||
pokemon.forEachIndexed { index, pokemon ->
|
||||
pokemon.storeCoordinates.set(StoreCoordinates(this, BottomlessPosition(index)))
|
||||
pokemon.getChangeObservable().pipe(
|
||||
stopAfter { it.storeCoordinates.get()?.store != this }
|
||||
).subscribe { storeChangeObservable.emit(Unit) }
|
||||
// pokemon.getChangeObservable().pipe(
|
||||
// stopAfter { it.storeCoordinates.get()?.store != this }
|
||||
// ).subscribe { storeChangeObservable.emit(Unit) }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,6 +98,10 @@ open class BottomlessStore(override val uuid: UUID) : PokemonStore<BottomlessPos
|
||||
|
||||
override fun getAnyChangeObservable() = storeChangeObservable
|
||||
|
||||
override fun onPokemonChange(pokemon: Pokemon) {
|
||||
this.storeChangeObservable.emit(Unit)
|
||||
}
|
||||
|
||||
override fun setAtPosition(position: BottomlessPosition, pokemon: Pokemon?) {
|
||||
if (position.currentIndex == this.pokemon.size && pokemon != null) {
|
||||
this.pokemon.add(pokemon)
|
||||
|
||||
@@ -168,4 +168,6 @@ abstract class PokemonStore<T : StorePosition> : Iterable<Pokemon> {
|
||||
* each change, accessed by [Pokemon.getChangeObservable].
|
||||
*/
|
||||
abstract fun getAnyChangeObservable(): Observable<Unit>
|
||||
|
||||
abstract fun onPokemonChange(pokemon: Pokemon)
|
||||
}
|
||||
@@ -73,9 +73,13 @@ open class PartyStore(override val uuid: UUID) : PokemonStore<PartyPosition>() {
|
||||
}
|
||||
|
||||
fun trackPokemon(pokemon: Pokemon) {
|
||||
pokemon.getChangeObservable()
|
||||
.pipe(stopAfter { pokemon.storeCoordinates.get()?.store != this })
|
||||
.subscribe { anyChangeObservable.emit(Unit) }
|
||||
// pokemon.getChangeObservable()
|
||||
// .pipe(stopAfter { pokemon.storeCoordinates.get()?.store != this })
|
||||
// .subscribe { anyChangeObservable.emit(Unit) }
|
||||
}
|
||||
|
||||
override fun onPokemonChange(pokemon: Pokemon) {
|
||||
anyChangeObservable.emit(Unit)
|
||||
}
|
||||
|
||||
override fun getFirstAvailablePosition(): PartyPosition? {
|
||||
|
||||
@@ -89,14 +89,14 @@ open class PCBox(val pc: PCStore) : Iterable<Pokemon> {
|
||||
}
|
||||
|
||||
fun trackPokemon(pokemon: Pokemon) {
|
||||
pokemon.getChangeObservable()
|
||||
.pipe(
|
||||
stopAfter {
|
||||
val coordinates = it.storeCoordinates.get() ?: return@stopAfter true
|
||||
return@stopAfter coordinates.store !is PCStore || coordinates.store.uuid != pc.uuid || (coordinates.position as PCPosition).box != boxNumber
|
||||
}
|
||||
)
|
||||
.subscribe { boxChangeEmitter.emit(Unit) }
|
||||
// pokemon.getChangeObservable()
|
||||
// .pipe(
|
||||
// stopAfter {
|
||||
// val coordinates = it.storeCoordinates.get() ?: return@stopAfter true
|
||||
// return@stopAfter coordinates.store !is PCStore || coordinates.store.uuid != pc.uuid || (coordinates.position as PCPosition).box != boxNumber
|
||||
// }
|
||||
// )
|
||||
// .subscribe { boxChangeEmitter.emit(Unit) }
|
||||
}
|
||||
|
||||
fun sendTo(player: ServerPlayer) {
|
||||
|
||||
@@ -250,6 +250,10 @@ open class PCStore(
|
||||
}
|
||||
}
|
||||
|
||||
override fun onPokemonChange(pokemon: Pokemon) {
|
||||
this.pcChangeObservable.emit(Unit)
|
||||
}
|
||||
|
||||
fun clearPC() {
|
||||
boxes.forEach { box ->
|
||||
box.getNonEmptySlots().forEach{
|
||||
|
||||
@@ -372,24 +372,24 @@ class PokemonClientDelegate : PosableState(), PokemonSideDelegate {
|
||||
|
||||
override fun tick(entity: PokemonEntity) {
|
||||
incrementAge(entity)
|
||||
if(currentEntity.ownerUUID == null && currentEntity.pokemon.shiny && secondsSinceLastShinyParticle > SHINY_PARTICLE_COOLDOWN && !currentEntity.isBattling) {
|
||||
//wild shiny not looked at
|
||||
playShinyEffect("cobblemon:shiny_sparkle_ambient_wild")
|
||||
lastShinyParticle = System.currentTimeMillis()
|
||||
}
|
||||
getClientShinyPokemon()
|
||||
playWildShinySounds()
|
||||
}
|
||||
|
||||
fun getClientShinyPokemon() {
|
||||
fun playWildShinySounds() {
|
||||
val player = Minecraft.getInstance().player ?: return
|
||||
val isWithinRange = player.position().distanceTo(currentEntity.position()) <= Cobblemon.config.shinyNoticeParticlesDistance
|
||||
|
||||
if (currentEntity.pokemon.shiny && currentEntity.ownerUUID == null && !player.isSpectator ) {
|
||||
if (isWithinRange && !shined) {
|
||||
playShinyEffect("cobblemon:wild_shiny_ring")
|
||||
shined = true
|
||||
lastShinyParticle = System.currentTimeMillis()
|
||||
} else if (!isWithinRange) {
|
||||
if (currentEntity.pokemon.shiny && currentEntity.ownerUUID == null) {
|
||||
if (isWithinRange) {
|
||||
if (secondsSinceLastShinyParticle > SHINY_PARTICLE_COOLDOWN && !currentEntity.isBattling) {
|
||||
playShinyEffect("cobblemon:shiny_sparkle_ambient_wild")
|
||||
lastShinyParticle = System.currentTimeMillis()
|
||||
}
|
||||
if (!shined && !player.isSpectator) {
|
||||
playShinyEffect("cobblemon:wild_shiny_ring")
|
||||
shined = true
|
||||
}
|
||||
} else {
|
||||
shined = false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -191,6 +191,8 @@ class BattleTargetSelection(
|
||||
matrices.pushPose()
|
||||
matrices.translate(x + TARGET_WIDTH - (25 / 2.0) - 2, y + 5.0, 0.0)
|
||||
matrices.scale(2.5F, 2.5F, 1F)
|
||||
// Grab aspects for right variant
|
||||
state.currentAspects = battlePokemon.state.currentAspects
|
||||
drawProfilePokemon(
|
||||
species = battlePokemon.species.resourceIdentifier,
|
||||
matrixStack = matrices,
|
||||
|
||||
@@ -163,8 +163,8 @@ class Summary private constructor(party: Collection<Pokemon?>, private val edita
|
||||
},
|
||||
text = lang("ui.evolve"),
|
||||
resource = evolveButtonResource,
|
||||
renderRequirement = { selectedPokemon.evolutionProxy.client().isNotEmpty() },
|
||||
clickRequirement = { selectedPokemon.evolutionProxy.client().isNotEmpty() }
|
||||
renderRequirement = { selectedPokemon.evolutionProxy.client().isNotEmpty() && CobblemonClient.battle == null },
|
||||
clickRequirement = { selectedPokemon.evolutionProxy.client().isNotEmpty() && CobblemonClient.battle == null }
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@ object ServerSettingsPacketHandler : ClientNetworkPacketHandler<ServerSettingsPa
|
||||
ServerSettings.displayEntityLevelLabel = packet.displayEntityLevelLabel
|
||||
ServerSettings.displayEntityNameLabel = packet.displayEntityNameLabel
|
||||
ServerSettings.maxPokemonLevel = packet.maxPokemonLevel
|
||||
ServerSettings.maxPokemonFriendship = packet.maxPokemonFriendship
|
||||
ServerSettings.maxDynamaxLevel = packet.maxDynamaxLevel
|
||||
}
|
||||
|
||||
}
|
||||
@@ -183,10 +183,11 @@ class PokedexScannerRenderer {
|
||||
val typeWidth = Minecraft.getInstance().font.width(typeText.font(CobblemonResources.DEFAULT_LARGE))
|
||||
// Split into 2 lines if text width is too long
|
||||
if (typeWidth > (OUTER_INFO_FRAME_WIDTH - 8) && pokedexEntityData.getApparentForm().secondaryType !== null) {
|
||||
val splitLines = typeText.string.split("/")
|
||||
drawScaledText(
|
||||
context = graphics,
|
||||
font = CobblemonResources.DEFAULT_LARGE,
|
||||
text = lang("type.suffix", pokedexEntityData.getApparentForm().primaryType.displayName).bold(),
|
||||
text = text(splitLines[0], "/").bold(),
|
||||
x = centerX + xOffset + xOffsetText,
|
||||
y = centerY + yOffset + yOffsetText - 4,
|
||||
shadow = true,
|
||||
@@ -196,7 +197,7 @@ class PokedexScannerRenderer {
|
||||
drawScaledText(
|
||||
context = graphics,
|
||||
font = CobblemonResources.DEFAULT_LARGE,
|
||||
text = lang("type.suffix", pokedexEntityData.getApparentForm().secondaryType!!.displayName).bold(),
|
||||
text = text(splitLines[1]).bold(),
|
||||
x = centerX + xOffset + xOffsetText,
|
||||
y = centerY + yOffset + yOffsetText + 3,
|
||||
shadow = true,
|
||||
|
||||
@@ -204,8 +204,8 @@ class SnowstormParticle(
|
||||
val spriteURange = sprite.u1 - sprite.u0
|
||||
val spriteVRange = sprite.v1 - sprite.v0
|
||||
|
||||
val minU = uvs.startU * spriteURange + sprite.u0
|
||||
val maxU = uvs.endU * spriteURange + sprite.u0
|
||||
val maxU = uvs.startU * spriteURange + sprite.u0
|
||||
val minU = uvs.endU * spriteURange + sprite.u0
|
||||
val minV = uvs.startV * spriteVRange + sprite.v0
|
||||
val maxV = uvs.endV * spriteVRange + sprite.v0
|
||||
|
||||
|
||||
@@ -1,106 +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.gen1
|
||||
|
||||
import com.cobblemon.mod.common.client.render.models.blockbench.animation.SingleBoneLookAnimation
|
||||
import com.cobblemon.mod.common.client.render.models.blockbench.frame.BipedFrame
|
||||
import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame
|
||||
import com.cobblemon.mod.common.client.render.models.blockbench.pokemon.PokemonPosableModel
|
||||
import com.cobblemon.mod.common.client.render.models.blockbench.pose.Pose
|
||||
import com.cobblemon.mod.common.entity.PoseType
|
||||
import com.cobblemon.mod.common.entity.PoseType.Companion.MOVING_POSES
|
||||
import com.cobblemon.mod.common.entity.PoseType.Companion.STATIONARY_POSES
|
||||
import com.cobblemon.mod.common.entity.PoseType.Companion.UI_POSES
|
||||
import com.cobblemon.mod.common.util.isBattling
|
||||
import net.minecraft.client.model.geom.ModelPart
|
||||
import net.minecraft.world.phys.Vec3
|
||||
|
||||
class ExeggutorAlolanModel(root: ModelPart) : PokemonPosableModel(root), HeadedFrame, BipedFrame {
|
||||
override val rootPart = root.registerChildWithAllChildren("exeggutor")
|
||||
override val head = getPart("head")
|
||||
|
||||
override val leftLeg = getPart("leg_left")
|
||||
override val rightLeg = getPart("leg_right")
|
||||
|
||||
val head2 = object : HeadedFrame {
|
||||
override val rootPart = this@ExeggutorAlolanModel.rootPart
|
||||
override val head: ModelPart = getPart("head2")
|
||||
}
|
||||
val head3 = object : HeadedFrame {
|
||||
override val rootPart = this@ExeggutorAlolanModel.rootPart
|
||||
override val head: ModelPart = getPart("head3")
|
||||
}
|
||||
|
||||
override var portraitScale = 1.0F
|
||||
override var portraitTranslation = Vec3(-1.4, 16.55, 0.0)
|
||||
|
||||
override var profileScale = 0.45F
|
||||
override var profileTranslation = Vec3(0.0, 1.0, -30.0)
|
||||
|
||||
lateinit var standing: Pose
|
||||
lateinit var walk: Pose
|
||||
lateinit var sleep: Pose
|
||||
lateinit var battleidle: Pose
|
||||
|
||||
override fun registerPoses() {
|
||||
val blink1 = quirk { bedrockStateful("exeggutor_alolan", "blink") }
|
||||
val blink2 = quirk { bedrockStateful("exeggutor_alolan", "blink2") }
|
||||
val blink3 = quirk { bedrockStateful("exeggutor_alolan", "blink3") }
|
||||
val blink4 = quirk { bedrockStateful("exeggutor_alolan", "blink4") }
|
||||
sleep = registerPose(
|
||||
poseType = PoseType.SLEEP,
|
||||
animations = arrayOf(bedrock("exeggutor_alolan", "sleep"))
|
||||
)
|
||||
|
||||
standing = registerPose(
|
||||
poseName = "standing",
|
||||
poseTypes = STATIONARY_POSES + UI_POSES,
|
||||
quirks = arrayOf(blink1, blink2, blink3, blink4),
|
||||
condition = { !it.isBattling },
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
SingleBoneLookAnimation(head2, false, false, disableX = false, disableY = false),
|
||||
SingleBoneLookAnimation(head3, false, false, disableX = false, disableY = false),
|
||||
bedrock("exeggutor_alolan", "ground_idle")
|
||||
)
|
||||
)
|
||||
|
||||
walk = registerPose(
|
||||
poseName = "walk",
|
||||
poseTypes = MOVING_POSES,
|
||||
quirks = arrayOf(blink1, blink2, blink3, blink4),
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
SingleBoneLookAnimation(head2, false, false, disableX = false, disableY = false),
|
||||
SingleBoneLookAnimation(head3, false, false, disableX = false, disableY = false),
|
||||
bedrock("exeggutor_alolan", "ground_walk")
|
||||
)
|
||||
)
|
||||
|
||||
battleidle = registerPose(
|
||||
poseName = "battle_idle",
|
||||
poseTypes = PoseType.STATIONARY_POSES,
|
||||
transformTicks = 10,
|
||||
quirks = arrayOf(blink1, blink2, blink3, blink4),
|
||||
condition = { it.isBattling },
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
SingleBoneLookAnimation(head2, false, false, disableX = false, disableY = false),
|
||||
SingleBoneLookAnimation(head3, false, false, disableX = false, disableY = false),
|
||||
bedrock("exeggutor_alolan", "battle_idle")
|
||||
)
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
// override fun getFaintAnimation(
|
||||
// pokemonEntity: PokemonEntity,
|
||||
// state: PosableState<PokemonEntity>
|
||||
// ) = if (state.isPosedIn(standing, walk)) bedrockStateful("exeggutor_alolan", "faint") else null
|
||||
}
|
||||
@@ -28,7 +28,7 @@ class ArctozoltModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame
|
||||
override var portraitTranslation = Vec3(-0.45, 2.15, 0.0)
|
||||
override var portraitScale = 0.85F
|
||||
|
||||
override var profileTranslation = Vec3(0.02, 0.95, 0.0)
|
||||
override var profileTranslation = Vec3(0.02, 1.14, 0.0)
|
||||
override var profileScale = 0.33F
|
||||
|
||||
lateinit var sleep: CobblemonPose
|
||||
|
||||
@@ -51,7 +51,9 @@ class CharcadetModel(root: ModelPart) : PokemonPosableModel(root), HeadedFrame,
|
||||
val blink = quirk { bedrockStateful("charcadet", "blink") }
|
||||
sleep = registerPose(
|
||||
poseType = PoseType.SLEEP,
|
||||
animations = arrayOf(bedrock("charcadet", "sleep"))
|
||||
animations = arrayOf(bedrock("charcadet", "sleep"),
|
||||
bedrock("charcadet", "eye_flame_overlay"),
|
||||
bedrock("charcadet", "head_flame_overlay"))
|
||||
)
|
||||
|
||||
standing = registerPose(
|
||||
@@ -61,7 +63,9 @@ class CharcadetModel(root: ModelPart) : PokemonPosableModel(root), HeadedFrame,
|
||||
quirks = arrayOf(blink),
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
bedrock("charcadet", "ground_idle")
|
||||
bedrock("charcadet", "ground_idle"),
|
||||
bedrock("charcadet", "eye_flame_overlay"),
|
||||
bedrock("charcadet", "head_flame_overlay")
|
||||
)
|
||||
)
|
||||
|
||||
@@ -72,7 +76,9 @@ class CharcadetModel(root: ModelPart) : PokemonPosableModel(root), HeadedFrame,
|
||||
quirks = arrayOf(blink),
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
bedrock("charcadet", "ground_walk")
|
||||
bedrock("charcadet", "ground_walk"),
|
||||
bedrock("charcadet", "eye_flame_overlay"),
|
||||
bedrock("charcadet", "head_flame_overlay")
|
||||
)
|
||||
)
|
||||
|
||||
@@ -81,7 +87,9 @@ class CharcadetModel(root: ModelPart) : PokemonPosableModel(root), HeadedFrame,
|
||||
quirks = arrayOf(blink),
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
bedrock("charcadet", "shoulder_left")
|
||||
bedrock("charcadet", "shoulder_left"),
|
||||
bedrock("charcadet", "eye_flame_overlay"),
|
||||
bedrock("charcadet", "head_flame_overlay")
|
||||
),
|
||||
transformedParts = arrayOf(
|
||||
rootPart.createTransformation().addPosition(ModelPartTransformation.Y_AXIS, -0.1),
|
||||
@@ -94,7 +102,9 @@ class CharcadetModel(root: ModelPart) : PokemonPosableModel(root), HeadedFrame,
|
||||
quirks = arrayOf(blink),
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
bedrock("charcadet", "shoulder_right")
|
||||
bedrock("charcadet", "shoulder_right"),
|
||||
bedrock("charcadet", "eye_flame_overlay"),
|
||||
bedrock("charcadet", "head_flame_overlay")
|
||||
),
|
||||
transformedParts = arrayOf(
|
||||
rootPart.createTransformation().addPosition(ModelPartTransformation.Y_AXIS, -0.1),
|
||||
|
||||
@@ -90,7 +90,6 @@ object PokemonModelRepository : VaryingModelRepository<PokemonPosableModel>() {
|
||||
inbuilt("electabuzz", ::ElectabuzzModel)
|
||||
inbuilt("exeggcute", ::ExeggcuteModel)
|
||||
inbuilt("exeggutor", ::ExeggutorModel)
|
||||
inbuilt("exeggutor_alolan", ::ExeggutorAlolanModel)
|
||||
inbuilt("farfetchd", ::FarfetchdModel)
|
||||
inbuilt("farfetchd_galarian", ::FarfetchdGalarianModel)
|
||||
inbuilt("fearow", ::FearowModel)
|
||||
|
||||
@@ -60,4 +60,11 @@ class NPCRenderer(context: Context) : LivingEntityRenderer<NPCEntity, PosableEnt
|
||||
// this.renderLabelIfPresent(entity, entity.displayName, poseMatrix, buffer, packedLight)
|
||||
// }
|
||||
}
|
||||
|
||||
override fun shouldShowName(entity: NPCEntity): Boolean {
|
||||
if (entity.hideNameTag) {
|
||||
return false
|
||||
}
|
||||
return super.shouldShowName(entity)
|
||||
}
|
||||
}
|
||||
@@ -25,5 +25,7 @@ object ServerSettings {
|
||||
var displayEntityLevelLabel = Cobblemon.config.displayEntityLevelLabel
|
||||
var displayEntityNameLabel = Cobblemon.config.displayEntityNameLabel
|
||||
var maxPokemonLevel = Cobblemon.config.maxPokemonLevel
|
||||
var maxPokemonFriendship = Cobblemon.config.maxPokemonFriendship
|
||||
var maxDynamaxLevel = Cobblemon.config.maxDynamaxLevel
|
||||
|
||||
}
|
||||
@@ -29,14 +29,14 @@ class FeatureFix(output: Schema) : PokemonFix(output) {
|
||||
if (features.result().isPresent) {
|
||||
return dynamic //already has Features nbt format... no work needed
|
||||
}
|
||||
var featureTag = emptyList<CompoundTag>()
|
||||
var featureTag = mutableListOf<CompoundTag>()
|
||||
if (dynamic.value is CompoundTag) {
|
||||
var rootTag = dynamic.value as CompoundTag
|
||||
var species = PokemonSpecies.getByIdentifier(rootTag.getString(DataKeys.POKEMON_SPECIES_IDENTIFIER).asResource())
|
||||
if (species == null) {
|
||||
return dynamic
|
||||
}
|
||||
SpeciesFeatures.getFeaturesFor(species!!).forEach {
|
||||
SpeciesFeatures.getFeaturesFor(species).forEach {
|
||||
val feature = it(rootTag) ?: return@forEach
|
||||
var tag = CompoundTag()
|
||||
tag.putString(FEATURE_ID, feature.name)
|
||||
@@ -51,7 +51,10 @@ class FeatureFix(output: Schema) : PokemonFix(output) {
|
||||
} else if (dynamic.value is JsonElement) {
|
||||
var rootTag = (dynamic.value as JsonElement).asJsonObject
|
||||
var species = PokemonSpecies.getByIdentifier(rootTag.get(DataKeys.POKEMON_SPECIES_IDENTIFIER).asString.asResource())
|
||||
SpeciesFeatures.getFeaturesFor(species!!).forEach {
|
||||
if (species == null) {
|
||||
return dynamic
|
||||
}
|
||||
SpeciesFeatures.getFeaturesFor(species).forEach {
|
||||
val feature = it(rootTag) ?: return@forEach
|
||||
var tag = CompoundTag()
|
||||
tag.putString(FEATURE_ID, feature.name)
|
||||
|
||||
@@ -8,18 +8,20 @@
|
||||
|
||||
package com.cobblemon.mod.common.datafixer.fix
|
||||
|
||||
import com.cobblemon.mod.common.util.DataKeys
|
||||
import com.mojang.datafixers.schemas.Schema
|
||||
import com.mojang.serialization.Dynamic
|
||||
|
||||
class ShoulderStateJsonFix(output: Schema) : PokemonFix(output) {
|
||||
override fun fixPokemonData(dynamic: Dynamic<*>): Dynamic<*> {
|
||||
val moveSetJson = dynamic.get("State").result()
|
||||
val stateJson = dynamic.get("State").result()
|
||||
//State not here
|
||||
if (moveSetJson.isEmpty) {
|
||||
if (stateJson.isEmpty) {
|
||||
return dynamic
|
||||
}
|
||||
|
||||
if (moveSetJson.get().mapValues.getOrThrow().size == 0) {
|
||||
if (stateJson.get().mapValues.getOrThrow().isEmpty() ||
|
||||
!stateJson.get().mapValues.getOrThrow().containsKey(dynamic.createString(DataKeys.POKEMON_STATE_TYPE))) {
|
||||
return dynamic.remove("State")
|
||||
}
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ import com.cobblemon.mod.common.util.asIdentifierDefaultingNamespace
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import com.cobblemon.mod.common.util.lang
|
||||
import com.cobblemon.mod.common.util.toBlockPos
|
||||
import com.cobblemon.mod.common.util.weightedSelection
|
||||
import net.minecraft.advancements.CriteriaTriggers
|
||||
import net.minecraft.client.resources.sounds.EntityBoundSoundInstance
|
||||
import net.minecraft.core.BlockPos
|
||||
@@ -183,33 +184,19 @@ class PokeRodFishingBobberEntity(type: EntityType<out PokeRodFishingBobberEntity
|
||||
}
|
||||
|
||||
fun chooseAdjustedSpawnBucket(buckets: List<SpawnBucket>, luckOfTheSeaLevel: Int): SpawnBucket {
|
||||
val baseIncreases = listOf(2.5F, 0.5F, 0.2F) // Base increases for the first three buckets beyond the first
|
||||
val baseValues = listOf(94.3F, 5.0F, 0.5F, 0.2F)
|
||||
val adjustments = listOf(-4.1F, 2.5F, 1.0F, 0.6F)
|
||||
|
||||
val adjustedWeights = buckets.mapIndexed { index, bucket ->
|
||||
if (index == 0) {
|
||||
// Placeholder, will be recalculated
|
||||
0.0F
|
||||
} else {
|
||||
val increase = if (index < baseIncreases.size) baseIncreases[index] else baseIncreases.last() + (index - baseIncreases.size + 1) * 0.15F
|
||||
bucket.weight + increase * luckOfTheSeaLevel
|
||||
if (index >= baseValues.size) {
|
||||
return@mapIndexed bucket to bucket.weight
|
||||
}
|
||||
}.toMutableList()
|
||||
val base = baseValues[index]
|
||||
val adjustment = adjustments[index]
|
||||
bucket to (base + adjustment * luckOfTheSeaLevel)
|
||||
}.toMap()
|
||||
|
||||
// Recalculate the first bucket's weight to ensure the total is 100%
|
||||
val totalAdjustedWeight = adjustedWeights.sum() - adjustedWeights[0] // Corrected to ensure the list contains Floats
|
||||
adjustedWeights[0] = 100.0F - totalAdjustedWeight + buckets[0].weight
|
||||
|
||||
// Random selection based on adjusted weights
|
||||
val weightSum = adjustedWeights.sum()
|
||||
val chosenSum = kotlin.random.Random.nextDouble(weightSum.toDouble()).toFloat() // Ensure usage of Random from kotlin.random package
|
||||
var sum = 0.0F
|
||||
adjustedWeights.forEachIndexed { index, weight ->
|
||||
sum += weight
|
||||
if (sum >= chosenSum) {
|
||||
return buckets[index]
|
||||
}
|
||||
}
|
||||
|
||||
return buckets.first() // Fallback
|
||||
return buckets.weightedSelection { adjustedWeights[it]!! }!!
|
||||
}
|
||||
|
||||
fun isOpenOrWaterAround(pos: BlockPos): Boolean {
|
||||
@@ -335,7 +322,7 @@ class PokeRodFishingBobberEntity(type: EntityType<out PokeRodFishingBobberEntity
|
||||
|
||||
val buckets = Cobblemon.bestSpawner.config.buckets
|
||||
|
||||
// choose a spawn bucket according to weights no matter how many there are
|
||||
// choose a spawn bucket according to weights and luck of the sea
|
||||
chosenBucket = chooseAdjustedSpawnBucket(buckets, luckOfTheSeaLevel)
|
||||
CobblemonEvents.BOBBER_BUCKET_CHOSEN.post(BobberBucketChosenEvent(chosenBucket, buckets, luckOfTheSeaLevel)) { event ->
|
||||
chosenBucket = event.chosenBucket
|
||||
@@ -698,10 +685,9 @@ class PokeRodFishingBobberEntity(type: EntityType<out PokeRodFishingBobberEntity
|
||||
)
|
||||
|
||||
// This has a chance to fail, if the position has no suitability for a fishing context
|
||||
// it could also just be a miss which
|
||||
// means two attempts to spawn in the same location can have differing results (which is expected for
|
||||
// randomness).
|
||||
if (result == null) {
|
||||
// it could also just be a miss which means two attempts to spawn in the same location
|
||||
// can have differing results (which is expected for randomness).
|
||||
if (result == null || result.isCompletedExceptionally) {
|
||||
player.sendSystemMessage(lang("fishing.no_bite").red())
|
||||
return false
|
||||
}
|
||||
|
||||
@@ -109,6 +109,12 @@ class NPCEntity(world: Level) : AgeableMob(CobblemonEntities.NPC, world), Npc, P
|
||||
val level: Int
|
||||
get() = entityData.get(LEVEL)
|
||||
|
||||
var hideNameTag: Boolean
|
||||
get() = entityData.get(HIDE_NAME_TAG)
|
||||
set(value) {
|
||||
entityData.set(HIDE_NAME_TAG, value)
|
||||
}
|
||||
|
||||
var skill: Int? = null // range from 0 - 5
|
||||
|
||||
var baseScale: Float? = null
|
||||
@@ -204,7 +210,7 @@ class NPCEntity(world: Level) : AgeableMob(CobblemonEntities.NPC, world), Npc, P
|
||||
val BATTLE_IDS = SynchedEntityData.defineId(NPCEntity::class.java, UUIDSetDataSerializer)
|
||||
val NPC_PLAYER_TEXTURE = SynchedEntityData.defineId(NPCEntity::class.java, NPCPlayerTextureSerializer)
|
||||
val LEVEL = SynchedEntityData.defineId(NPCEntity::class.java, EntityDataSerializers.INT)
|
||||
|
||||
val HIDE_NAME_TAG = SynchedEntityData.defineId(NPCEntity::class.java, EntityDataSerializers.BOOLEAN)
|
||||
|
||||
// val BATTLING = Activity.register("npc_battling")
|
||||
|
||||
@@ -255,6 +261,7 @@ class NPCEntity(world: Level) : AgeableMob(CobblemonEntities.NPC, world), Npc, P
|
||||
builder.define(BATTLE_IDS, setOf())
|
||||
builder.define(NPC_PLAYER_TEXTURE, NPCPlayerTexture(ByteArray(1), NPCPlayerModelType.NONE))
|
||||
builder.define(LEVEL, 1)
|
||||
builder.define(HIDE_NAME_TAG, false)
|
||||
}
|
||||
|
||||
override fun getAddEntityPacket(serverEntity: ServerEntity) = ClientboundCustomPayloadPacket(
|
||||
@@ -318,6 +325,7 @@ class NPCEntity(world: Level) : AgeableMob(CobblemonEntities.NPC, world), Npc, P
|
||||
nbt.put(DataKeys.NPC_DATA, MoLangFunctions.writeMoValueToNBT(data))
|
||||
nbt.put(DataKeys.NPC_CONFIG, MoLangFunctions.writeMoValueToNBT(config))
|
||||
nbt.put(DataKeys.NPC_LEVEL, IntTag.valueOf(level))
|
||||
nbt.putBoolean(DataKeys.NPC_HIDE_NAME_TAG, hideNameTag)
|
||||
nbt.putString(DataKeys.NPC_CLASS, npc.id.toString())
|
||||
nbt.put(DataKeys.NPC_ASPECTS, ListTag().also { list -> appliedAspects.forEach { list.add(StringTag.valueOf(it)) } })
|
||||
nbt.put(DataKeys.NPC_VARIATION_ASPECTS, ListTag().also { list -> variationAspects.forEach { list.add(StringTag.valueOf(it)) } })
|
||||
@@ -383,6 +391,7 @@ class NPCEntity(world: Level) : AgeableMob(CobblemonEntities.NPC, world), Npc, P
|
||||
override fun load(nbt: CompoundTag) {
|
||||
npc = NPCClasses.getByIdentifier(ResourceLocation.parse(nbt.getString(DataKeys.NPC_CLASS))) ?: NPCClasses.classes.first()
|
||||
entityData.set(LEVEL, nbt.getInt(DataKeys.NPC_LEVEL).takeIf { it != 0 } ?: 1)
|
||||
entityData.set(HIDE_NAME_TAG, nbt.getBoolean(DataKeys.NPC_HIDE_NAME_TAG))
|
||||
super.load(nbt)
|
||||
data = MoLangFunctions.readMoValueFromNBT(nbt.getCompound(DataKeys.NPC_DATA)) as VariableStruct
|
||||
config = if (nbt.contains(DataKeys.NPC_CONFIG)) MoLangFunctions.readMoValueFromNBT(nbt.getCompound(DataKeys.NPC_CONFIG)) as VariableStruct else VariableStruct()
|
||||
@@ -490,6 +499,7 @@ class NPCEntity(world: Level) : AgeableMob(CobblemonEntities.NPC, world), Npc, P
|
||||
|
||||
fun initialize(level: Int) {
|
||||
variationAspects.clear()
|
||||
entityData.set(HIDE_NAME_TAG, npc.hideNameTag)
|
||||
entityData.set(LEVEL, level)
|
||||
npc.config.forEach { it.applyDefault(this) }
|
||||
npc.variations.values.forEach { this.variationAspects.addAll(it.provideAspects(this)) }
|
||||
|
||||
@@ -900,6 +900,7 @@ open class PokemonEntity(
|
||||
val newColorFeature =
|
||||
StringSpeciesFeature(DataKeys.CAN_BE_COLORED, item.dyeColor.name.lowercase())
|
||||
this.pokemon.features.add(newColorFeature)
|
||||
this.pokemon.onChange()
|
||||
this.pokemon.anyChangeObservable.emit(pokemon)
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ import net.minecraft.network.chat.Component
|
||||
import net.minecraft.network.syncher.EntityDataAccessor
|
||||
import net.minecraft.world.damagesource.DamageSource
|
||||
import net.minecraft.world.entity.ai.attributes.Attributes
|
||||
import net.minecraft.world.item.ItemStack
|
||||
import net.minecraft.world.level.pathfinder.PathType
|
||||
|
||||
/** Handles purely server logic for a Pokémon */
|
||||
@@ -258,6 +259,8 @@ class PokemonServerDelegate : PokemonSideDelegate {
|
||||
if (entity.ownerUUID == null && entity.owner == null) {
|
||||
entity.level().broadcastEntityEvent(entity, 60.toByte()) // Sends smoke effect
|
||||
if(entity.level().gameRules.getBoolean(CobblemonGameRules.DO_POKEMON_LOOT)) {
|
||||
val heldItem = (entity as PokemonEntity?)?.pokemon?.heldItemNoCopy() ?: ItemStack.EMPTY
|
||||
if (!heldItem.isEmpty) entity.spawnAtLocation(heldItem.item)
|
||||
(entity.drops ?: entity.pokemon.form.drops).drop(entity, entity.level() as ServerLevel, entity.position(), entity.killer)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,9 @@ class ServerSettingsPacket internal constructor(
|
||||
val preventCompletePartyDeposit: Boolean,
|
||||
val displayEntityLevelLabel: Boolean,
|
||||
val displayEntityNameLabel: Boolean,
|
||||
val maxPokemonLevel: Int
|
||||
val maxPokemonLevel: Int,
|
||||
val maxPokemonFriendship: Int,
|
||||
val maxDynamaxLevel: Int
|
||||
) : NetworkPacket<ServerSettingsPacket> {
|
||||
override val id = ID
|
||||
override fun encode(buffer: RegistryFriendlyByteBuf) {
|
||||
@@ -31,9 +33,11 @@ class ServerSettingsPacket internal constructor(
|
||||
buffer.writeBoolean(Cobblemon.config.displayEntityLevelLabel)
|
||||
buffer.writeBoolean(Cobblemon.config.displayEntityNameLabel)
|
||||
buffer.writeInt(Cobblemon.config.maxPokemonLevel)
|
||||
buffer.writeInt(Cobblemon.config.maxPokemonFriendship)
|
||||
buffer.writeInt(Cobblemon.config.maxDynamaxLevel)
|
||||
}
|
||||
companion object {
|
||||
val ID = cobblemonResource("server_settings")
|
||||
fun decode(buffer: RegistryFriendlyByteBuf) = ServerSettingsPacket(buffer.readBoolean(), buffer.readBoolean(), buffer.readBoolean(), buffer.readInt())
|
||||
fun decode(buffer: RegistryFriendlyByteBuf) = ServerSettingsPacket(buffer.readBoolean(), buffer.readBoolean(), buffer.readBoolean(), buffer.readInt(), buffer.readInt(), buffer.readInt())
|
||||
}
|
||||
}
|
||||
@@ -25,14 +25,14 @@ import net.minecraft.resources.ResourceLocation
|
||||
* @author Licious
|
||||
* @since December 29th, 2022
|
||||
*/
|
||||
internal class UnvalidatedPlaySoundS2CPacket(
|
||||
val sound: ResourceLocation,
|
||||
val category: SoundSource,
|
||||
val x: Double,
|
||||
val y: Double,
|
||||
val z: Double,
|
||||
val volume: Float,
|
||||
val pitch: Float
|
||||
class UnvalidatedPlaySoundS2CPacket(
|
||||
var sound: ResourceLocation,
|
||||
var category: SoundSource,
|
||||
var x: Double,
|
||||
var y: Double,
|
||||
var z: Double,
|
||||
var volume: Float,
|
||||
var pitch: Float
|
||||
) : NetworkPacket<UnvalidatedPlaySoundS2CPacket> {
|
||||
|
||||
override val id = ID
|
||||
|
||||
@@ -18,7 +18,7 @@ import net.minecraft.network.protocol.PacketUtils
|
||||
import net.minecraft.network.protocol.game.ClientboundAddEntityPacket
|
||||
import net.minecraft.world.phys.Vec3
|
||||
|
||||
abstract class SpawnExtraDataEntityPacket<T: NetworkPacket<T>, E : Entity>(private val vanillaSpawnPacket: ClientboundAddEntityPacket) : NetworkPacket<T> {
|
||||
abstract class SpawnExtraDataEntityPacket<T: NetworkPacket<T>, E : Entity>(var vanillaSpawnPacket: ClientboundAddEntityPacket) : NetworkPacket<T> {
|
||||
override fun encode(buffer: RegistryFriendlyByteBuf) {
|
||||
this.encodeEntityData(buffer)
|
||||
this.vanillaSpawnPacket.write(buffer)
|
||||
|
||||
@@ -30,13 +30,14 @@ import net.minecraft.resources.ResourceLocation
|
||||
import net.minecraft.world.entity.Entity
|
||||
|
||||
class SpawnNPCPacket(
|
||||
private val npcClass: ResourceLocation,
|
||||
private val aspects: Set<String>,
|
||||
private val level: Int,
|
||||
private val battleIds: Set<UUID>,
|
||||
private val name: Component,
|
||||
private val poseType: PoseType,
|
||||
private val texture: NPCPlayerTexture,
|
||||
var npcClass: ResourceLocation,
|
||||
var aspects: Set<String>,
|
||||
var level: Int,
|
||||
var battleIds: Set<UUID>,
|
||||
var name: Component,
|
||||
var poseType: PoseType,
|
||||
var texture: NPCPlayerTexture,
|
||||
var hideNameTag: Boolean,
|
||||
vanillaSpawnPacket: ClientboundAddEntityPacket
|
||||
) : SpawnExtraDataEntityPacket<SpawnNPCPacket, NPCEntity>(vanillaSpawnPacket) {
|
||||
|
||||
@@ -50,6 +51,7 @@ class SpawnNPCPacket(
|
||||
entity.name,
|
||||
entity.entityData.get(NPCEntity.POSE_TYPE),
|
||||
entity.entityData.get(NPCEntity.NPC_PLAYER_TEXTURE),
|
||||
entity.hideNameTag,
|
||||
vanillaSpawnPacket
|
||||
)
|
||||
|
||||
@@ -64,6 +66,7 @@ class SpawnNPCPacket(
|
||||
if (this.texture.model != NPCPlayerModelType.NONE) {
|
||||
buffer.writeByteArray(this.texture.texture)
|
||||
}
|
||||
buffer.writeBoolean(this.hideNameTag)
|
||||
}
|
||||
|
||||
override fun applyData(entity: NPCEntity) {
|
||||
@@ -74,6 +77,7 @@ class SpawnNPCPacket(
|
||||
entity.entityData.set(NPCEntity.ASPECTS, aspects)
|
||||
entity.entityData.set(NPCEntity.POSE_TYPE, poseType)
|
||||
entity.entityData.set(NPCEntity.NPC_PLAYER_TEXTURE, texture)
|
||||
entity.entityData.set(NPCEntity.HIDE_NAME_TAG, this.hideNameTag)
|
||||
}
|
||||
|
||||
override fun checkType(entity: Entity): Boolean = entity is NPCEntity
|
||||
@@ -93,9 +97,10 @@ class SpawnNPCPacket(
|
||||
} else {
|
||||
NPCPlayerTexture(byteArrayOf(), model)
|
||||
}
|
||||
val hideNameTag = buffer.readBoolean()
|
||||
val vanillaPacket = decodeVanillaPacket(buffer)
|
||||
|
||||
return SpawnNPCPacket(npc, aspects, level, battleIds, name, poseType, texture, vanillaPacket)
|
||||
return SpawnNPCPacket(npc, aspects, level, battleIds, name, poseType, texture, hideNameTag, vanillaPacket)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -24,26 +24,26 @@ import net.minecraft.network.protocol.game.ClientboundAddEntityPacket
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
|
||||
class SpawnPokemonPacket(
|
||||
private val ownerId: UUID?,
|
||||
private val scaleModifier: Float,
|
||||
private val speciesId: ResourceLocation,
|
||||
private val gender: Gender,
|
||||
private val shiny: Boolean,
|
||||
private val formName: String,
|
||||
private val aspects: Set<String>,
|
||||
private val battleId: UUID?,
|
||||
private val phasingTargetId: Int,
|
||||
private val beamMode: Byte,
|
||||
private val platform: PlatformType,
|
||||
private val nickname: MutableComponent?,
|
||||
private val labelLevel: Int,
|
||||
private val poseType: PoseType,
|
||||
private val unbattlable: Boolean,
|
||||
private val hideLabel: Boolean,
|
||||
private val caughtBall: ResourceLocation,
|
||||
private val spawnYaw: Float,
|
||||
private val friendship: Int,
|
||||
private val freezeFrame: Float,
|
||||
var ownerId: UUID?,
|
||||
var scaleModifier: Float,
|
||||
var speciesId: ResourceLocation,
|
||||
var gender: Gender,
|
||||
var shiny: Boolean,
|
||||
var formName: String,
|
||||
var aspects: Set<String>,
|
||||
var battleId: UUID?,
|
||||
var phasingTargetId: Int,
|
||||
var beamMode: Byte,
|
||||
var platform: PlatformType,
|
||||
var nickname: MutableComponent?,
|
||||
var labelLevel: Int,
|
||||
var poseType: PoseType,
|
||||
var unbattlable: Boolean,
|
||||
var hideLabel: Boolean,
|
||||
var caughtBall: ResourceLocation,
|
||||
var spawnYaw: Float,
|
||||
var friendship: Int,
|
||||
var freezeFrame: Float,
|
||||
vanillaSpawnPacket: ClientboundAddEntityPacket
|
||||
) : SpawnExtraDataEntityPacket<SpawnPokemonPacket, PokemonEntity>(vanillaSpawnPacket) {
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ package com.cobblemon.mod.common.net.serverhandling.evolution
|
||||
|
||||
import com.cobblemon.mod.common.api.net.ServerNetworkPacketHandler
|
||||
import com.cobblemon.mod.common.net.messages.server.pokemon.update.evolution.AcceptEvolutionPacket
|
||||
import com.cobblemon.mod.common.util.isInBattle
|
||||
import com.cobblemon.mod.common.util.party
|
||||
import net.minecraft.server.MinecraftServer
|
||||
import net.minecraft.server.level.ServerPlayer
|
||||
@@ -17,7 +18,7 @@ import net.minecraft.server.level.ServerPlayer
|
||||
object AcceptEvolutionHandler : ServerNetworkPacketHandler<AcceptEvolutionPacket> {
|
||||
override fun handle(packet: AcceptEvolutionPacket, server: MinecraftServer, player: ServerPlayer) {
|
||||
val pokemon = player.party()[packet.pokemonUUID] ?: return
|
||||
if (pokemon.entity?.isBusy == true) return
|
||||
if (player.isInBattle() || pokemon.entity?.isBusy == true) return
|
||||
val evolution = pokemon.evolutionProxy.server().firstOrNull { evolution -> evolution.id.equals(packet.evolutionId, true) } ?: return
|
||||
pokemon.evolutionProxy.server().start(evolution)
|
||||
}
|
||||
|
||||
@@ -314,7 +314,6 @@ open class Pokemon : ShowdownIdentifiable {
|
||||
*/
|
||||
var friendship = this.form.baseFriendship
|
||||
private set(value) {
|
||||
// Don't check on client, that way we don't need to actually sync the config value it doesn't affect anything
|
||||
if (!this.isPossibleFriendship(value)) {
|
||||
return
|
||||
}
|
||||
@@ -397,12 +396,14 @@ open class Pokemon : ShowdownIdentifiable {
|
||||
var faintedTimer: Int = -1
|
||||
set(value) {
|
||||
field = value
|
||||
onChange()
|
||||
anyChangeObservable.emit(this)
|
||||
}
|
||||
|
||||
var healTimer: Int = -1
|
||||
set(value) {
|
||||
field = value
|
||||
onChange()
|
||||
anyChangeObservable.emit(this)
|
||||
}
|
||||
|
||||
@@ -1567,6 +1568,7 @@ open class Pokemon : ShowdownIdentifiable {
|
||||
notify(packet)
|
||||
}
|
||||
}
|
||||
onChange()
|
||||
anyChangeObservable.emit(this)
|
||||
}
|
||||
return observable
|
||||
@@ -1575,6 +1577,13 @@ open class Pokemon : ShowdownIdentifiable {
|
||||
private val observables = mutableListOf<Observable<*>>()
|
||||
val anyChangeObservable = SimpleObservable<Pokemon>()
|
||||
|
||||
fun onChange() {
|
||||
val store = storeCoordinates.get()?.store
|
||||
if (store != null) {
|
||||
store.onPokemonChange(this)
|
||||
}
|
||||
}
|
||||
|
||||
val struct = ObjectValue<Pokemon>(this)
|
||||
.addPokemonFunctions(this)
|
||||
|
||||
|
||||
@@ -124,6 +124,10 @@ object CobblemonHeldItemManager : BaseCobblemonHeldItemManager() {
|
||||
if (battle.isPvP && !consumeHeldItems) {
|
||||
return
|
||||
}
|
||||
// Block stealing from NPCs
|
||||
if (battle.isPvN) {
|
||||
return
|
||||
}
|
||||
// if items aren't consumed, then we don't want to give them to wild pokemon (dupe)
|
||||
if (this.giveItemEffect.contains(effectId) && (pokemon.actor is PlayerBattleActor || consumeHeldItems)) {
|
||||
this.give(pokemon, itemID)
|
||||
|
||||
@@ -147,6 +147,7 @@ internal object PropertiesCompletionProvider : DataRegistry {
|
||||
this.inject(setOf("originaltrainer", "ot"), setOf(""))
|
||||
this.inject(setOf("originaltrainertype", "ottype"), setOf("None", "Player", "NPC"))
|
||||
this.inject(setOf("nickname", "nick"), setOf(""))
|
||||
this.inject(setOf("helditem", "held_item"), setOf("cobblemon:exp_share"))
|
||||
|
||||
Stats.PERMANENT.forEach{ stat ->
|
||||
val statName = stat.toString().lowercase()
|
||||
|
||||
@@ -11,8 +11,8 @@ package com.cobblemon.mod.common.registry
|
||||
import com.cobblemon.mod.common.api.conditional.RegistryLikeCondition
|
||||
import com.cobblemon.mod.common.api.conditional.RegistryLikeIdentifierCondition
|
||||
import com.cobblemon.mod.common.api.conditional.RegistryLikeTagCondition
|
||||
import net.minecraft.tags.TagKey
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
import net.minecraft.tags.TagKey
|
||||
import net.minecraft.world.level.biome.Biome
|
||||
|
||||
/**
|
||||
|
||||
@@ -225,6 +225,7 @@ object DataKeys {
|
||||
const val NPC_HITBOX_WIDTH = "Width"
|
||||
const val NPC_HITBOX_HEIGHT = "Height"
|
||||
const val NPC_HITBOX_FIXED = "Fixed"
|
||||
const val NPC_HIDE_NAME_TAG = "HideNPCNameTag"
|
||||
|
||||
// PokemonProperties
|
||||
const val ELEMENTAL_TYPE = "ElementalType"
|
||||
|
||||
@@ -36,6 +36,7 @@ import net.minecraft.util.Mth
|
||||
import net.minecraft.world.InteractionHand
|
||||
import net.minecraft.world.entity.Entity
|
||||
import net.minecraft.world.entity.LivingEntity
|
||||
import net.minecraft.world.entity.item.ItemEntity
|
||||
import net.minecraft.world.entity.player.Inventory
|
||||
import net.minecraft.world.entity.player.Player
|
||||
import net.minecraft.world.item.ItemStack
|
||||
@@ -46,7 +47,10 @@ import net.minecraft.world.phys.BlockHitResult
|
||||
import net.minecraft.world.phys.Vec3
|
||||
import net.minecraft.world.phys.HitResult
|
||||
import java.util.*
|
||||
import kotlin.math.PI
|
||||
import kotlin.math.cos
|
||||
import kotlin.math.min
|
||||
import kotlin.math.sin
|
||||
|
||||
// Stuff like getting their party
|
||||
fun ServerPlayer.party() = Cobblemon.storage.getParty(this)
|
||||
@@ -396,7 +400,7 @@ fun Player.giveOrDropItemStack(stack: ItemStack, playSound: Boolean = true) {
|
||||
val inserted = this.inventory.add(stack)
|
||||
if (inserted && stack.isEmpty) {
|
||||
stack.count = 1
|
||||
this.drop(stack, false)?.makeFakeItem()
|
||||
this.dropFakeItem(stack)
|
||||
if (playSound) {
|
||||
this.level().playSound(null, this.x, this.y, this.z, SoundEvents.ITEM_PICKUP, SoundSource.PLAYERS, 0.2f, ((this.random.nextFloat() - this.random.nextFloat()) * 0.7f + 1.0f) * 2.0f)
|
||||
}
|
||||
@@ -410,6 +414,31 @@ fun Player.giveOrDropItemStack(stack: ItemStack, playSound: Boolean = true) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility function to mimic the [Player.drop] method but as a fake item entity.
|
||||
* Avoids cases where other mods listen to that drop method and expect a real item to be dropped.
|
||||
*/
|
||||
fun Player.dropFakeItem(stack: ItemStack): ItemEntity {
|
||||
val d = this.eyeY - 0.3
|
||||
val itemEntity = ItemEntity(this.level(), this.x, d, this.z, stack)
|
||||
|
||||
val f = 0.3F
|
||||
val g = sin(this.xRot * (PI / 180.0)).toFloat()
|
||||
val h = cos(this.xRot * (PI / 180.0)).toFloat()
|
||||
val i = sin(this.yRot * (PI / 180.0)).toFloat()
|
||||
val j = cos(this.yRot * (PI / 180.0)).toFloat()
|
||||
val k = this.random.nextFloat() * (PI * 2)
|
||||
val l = 0.02F * this.random.nextFloat()
|
||||
itemEntity.deltaMovement = Vec3(
|
||||
(-i * h * f).toDouble() + cos(k) * l.toDouble(),
|
||||
(-g * f + 0.1f + (this.random.nextFloat() - this.random.nextFloat()) * 0.1f).toDouble(),
|
||||
(j * h * f).toDouble() + sin(k) * l.toDouble()
|
||||
)
|
||||
|
||||
itemEntity.makeFakeItem()
|
||||
return itemEntity
|
||||
}
|
||||
|
||||
/** Retrieves the battle theme associated with this player, or the default PVP theme if null. */
|
||||
fun ServerPlayer.getBattleTheme() = Cobblemon.playerDataManager.getGenericData(this).battleTheme?.let { BuiltInRegistries.SOUND_EVENT.get(it) } ?: CobblemonSounds.PVP_BATTLE
|
||||
|
||||
@@ -423,4 +452,4 @@ fun Player.isPartyBusy() =
|
||||
|
||||
fun Player.isUsingPokedex() = isUsingItem &&
|
||||
((mainHandItem.item is PokedexItem && usedItemHand == InteractionHand.MAIN_HAND) ||
|
||||
(offhandItem.item is PokedexItem && usedItemHand == InteractionHand.OFF_HAND))
|
||||
(offhandItem.item is PokedexItem && usedItemHand == InteractionHand.OFF_HAND))
|
||||
@@ -83,6 +83,7 @@ object NPCClassAdapter : JsonDeserializer<NPCClass> {
|
||||
obj.get("isInvulnerable")?.let { npcClass.isInvulnerable = it.asBoolean }
|
||||
obj.get("isLeashable")?.let { npcClass.isLeashable = it.asBoolean }
|
||||
obj.get("allowProjectileHits")?.let { npcClass.allowProjectileHits = it.asBoolean }
|
||||
obj.get("hideNameTag")?.let { npcClass.hideNameTag = it.asBoolean }
|
||||
|
||||
return npcClass
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ import com.cobblemon.mod.common.api.moves.MoveSet
|
||||
import com.cobblemon.mod.common.api.pokemon.feature.SpeciesFeatures
|
||||
import com.cobblemon.mod.common.api.pokemon.feature.SynchronizedSpeciesFeature
|
||||
import com.cobblemon.mod.common.api.pokemon.feature.SynchronizedSpeciesFeatureProvider
|
||||
import com.cobblemon.mod.common.client.settings.ServerSettings
|
||||
import com.cobblemon.mod.common.pokemon.*
|
||||
import com.cobblemon.mod.common.util.DataKeys
|
||||
import com.cobblemon.mod.common.util.codec.CodecUtils
|
||||
@@ -99,15 +100,18 @@ internal class ClientPokemonP1(
|
||||
const val FEATURES = "Features"
|
||||
const val FEATURE_ID = "${Cobblemon.MODID}:feature_id"
|
||||
|
||||
/**
|
||||
* do not use cobblemon.config in here, as this is used by the client whose config is different to server, always use [ServerSettings]
|
||||
*/
|
||||
internal val CODEC: MapCodec<ClientPokemonP1> = RecordCodecBuilder.mapCodec { instance ->
|
||||
instance.group(
|
||||
UUIDUtil.LENIENT_CODEC.fieldOf(DataKeys.POKEMON_UUID).forGetter(ClientPokemonP1::uuid),
|
||||
Species.BY_IDENTIFIER_CODEC.fieldOf(DataKeys.POKEMON_SPECIES_IDENTIFIER).forGetter(ClientPokemonP1::species),
|
||||
Codec.STRING.fieldOf(DataKeys.POKEMON_FORM_ID).forGetter { pokemon -> pokemon.form.formOnlyShowdownId() },
|
||||
ComponentSerialization.CODEC.optionalFieldOf(DataKeys.POKEMON_NICKNAME).forGetter(ClientPokemonP1::nickname),
|
||||
CodecUtils.dynamicIntRange(1) { Cobblemon.config.maxPokemonLevel }.fieldOf(DataKeys.POKEMON_LEVEL).forGetter(ClientPokemonP1::level),
|
||||
CodecUtils.dynamicIntRange(1) { ServerSettings.maxPokemonLevel }.fieldOf(DataKeys.POKEMON_LEVEL).forGetter(ClientPokemonP1::level),
|
||||
Codec.intRange(0, Int.MAX_VALUE).fieldOf(DataKeys.POKEMON_EXPERIENCE).forGetter(ClientPokemonP1::experience),
|
||||
CodecUtils.dynamicIntRange(0) { Cobblemon.config.maxPokemonFriendship }.fieldOf(DataKeys.POKEMON_FRIENDSHIP).forGetter(ClientPokemonP1::friendship),
|
||||
CodecUtils.dynamicIntRange(0) { ServerSettings.maxPokemonFriendship }.fieldOf(DataKeys.POKEMON_FRIENDSHIP).forGetter(ClientPokemonP1::friendship),
|
||||
Codec.intRange(0, Int.MAX_VALUE).fieldOf(DataKeys.POKEMON_HEALTH).forGetter(ClientPokemonP1::currentHealth),
|
||||
Gender.CODEC.fieldOf(DataKeys.POKEMON_GENDER).forGetter(ClientPokemonP1::gender),
|
||||
IVs.CODEC.fieldOf(DataKeys.POKEMON_IVS).forGetter(ClientPokemonP1::ivs),
|
||||
|
||||
@@ -10,6 +10,7 @@ package com.cobblemon.mod.common.util.codec.internal
|
||||
|
||||
import com.cobblemon.mod.common.Cobblemon
|
||||
import com.cobblemon.mod.common.api.types.tera.TeraType
|
||||
import com.cobblemon.mod.common.client.settings.ServerSettings
|
||||
import com.cobblemon.mod.common.net.messages.client.pokemon.update.evolution.AddEvolutionPacket.Companion.convertToDisplay
|
||||
import com.cobblemon.mod.common.pokeball.PokeBall
|
||||
import com.cobblemon.mod.common.pokemon.*
|
||||
@@ -71,6 +72,9 @@ internal data class ClientPokemonP2(
|
||||
}
|
||||
|
||||
companion object {
|
||||
/**
|
||||
* do not use cobblemon.config in here, as this is used by the client whose config is different to server, always use [ServerSettings]
|
||||
*/
|
||||
internal val CODEC: MapCodec<ClientPokemonP2> = RecordCodecBuilder.mapCodec { instance ->
|
||||
instance.group(
|
||||
ShoulderedState.CODEC.optionalFieldOf(DataKeys.POKEMON_STATE).forGetter(ClientPokemonP2::state),
|
||||
@@ -86,7 +90,7 @@ internal data class ClientPokemonP2(
|
||||
CompoundTag.CODEC.fieldOf(DataKeys.POKEMON_PERSISTENT_DATA).forGetter(ClientPokemonP2::persistentData),
|
||||
UUIDUtil.LENIENT_CODEC.optionalFieldOf(DataKeys.TETHERING_ID).forGetter(ClientPokemonP2::tetheringId),
|
||||
TeraType.BY_IDENTIFIER_CODEC.fieldOf(DataKeys.POKEMON_TERA_TYPE).forGetter(ClientPokemonP2::teraType),
|
||||
CodecUtils.dynamicIntRange(0) { Cobblemon.config.maxDynamaxLevel }.fieldOf(DataKeys.POKEMON_DMAX_LEVEL).forGetter(ClientPokemonP2::dmaxLevel),
|
||||
CodecUtils.dynamicIntRange(0) { ServerSettings.maxDynamaxLevel }.fieldOf(DataKeys.POKEMON_DMAX_LEVEL).forGetter(ClientPokemonP2::dmaxLevel),
|
||||
Codec.BOOL.fieldOf(DataKeys.POKEMON_GMAX_FACTOR).forGetter(ClientPokemonP2::gmaxFactor),
|
||||
Codec.BOOL.fieldOf(DataKeys.POKEMON_TRADEABLE).forGetter(ClientPokemonP2::tradeable)
|
||||
).apply(instance, ::ClientPokemonP2)
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
package com.cobblemon.mod.common.util.codec.internal
|
||||
|
||||
import com.cobblemon.mod.common.client.settings.ServerSettings
|
||||
import com.cobblemon.mod.common.pokemon.OriginalTrainerType
|
||||
import com.cobblemon.mod.common.pokemon.Pokemon
|
||||
import com.cobblemon.mod.common.util.DataKeys
|
||||
@@ -32,6 +33,9 @@ internal data class ClientPokemonP3(
|
||||
}
|
||||
|
||||
companion object {
|
||||
/**
|
||||
* do not use cobblemon.config in here, as this is used by the client whose config is different to server, always use [ServerSettings]
|
||||
*/
|
||||
internal val CODEC: MapCodec<ClientPokemonP3> = RecordCodecBuilder.mapCodec { instance ->
|
||||
instance.group(
|
||||
OriginalTrainerType.CODEC.optionalFieldOf(DataKeys.POKEMON_ORIGINAL_TRAINER_TYPE, OriginalTrainerType.NONE).forGetter(ClientPokemonP3::originalTrainerType),
|
||||
|
||||
@@ -206,7 +206,7 @@
|
||||
},
|
||||
"animation.exeggutor_alolan.ground_walk": {
|
||||
"loop": true,
|
||||
"animation_length": 4.79167,
|
||||
"animation_length": 4.7917,
|
||||
"bones": {
|
||||
"leg_left": {
|
||||
"rotation": {
|
||||
@@ -817,25 +817,30 @@
|
||||
"bones": {
|
||||
"leg_left": {
|
||||
"rotation": {
|
||||
"0.0": ["-15+math.clamp(-math.sin(q.anim_time*90*2.5+225)*65,-90,0)", -35, 0],
|
||||
"0.0": [-15, -35, 0],
|
||||
"0.5833": [-15, -35, 0],
|
||||
"0.625": ["-15+math.clamp(-math.sin(q.anim_time*90*2.5+225)*35,-90,0)", -35, 0],
|
||||
"1.125": ["-15+math.clamp(-math.sin(q.anim_time*90*2.5+225)*35,-90,0)", -35, 0],
|
||||
"0.7917": [-65, -35, 0],
|
||||
"0.9583": {
|
||||
"pre": [-75, -35, 0],
|
||||
"post": [-75, -35, 0],
|
||||
"lerp_mode": "catmullrom"
|
||||
},
|
||||
"1.125": {
|
||||
"post": [-65, -35, 0],
|
||||
"lerp_mode": "catmullrom"
|
||||
},
|
||||
"1.2917": [-15, -35, 0],
|
||||
"1.5833": [-15, -35, 0]
|
||||
},
|
||||
"position": {
|
||||
"0.0": [
|
||||
"math.clamp(math.sin(q.anim_time*90*2.5+225)*0.5,0,90)",
|
||||
"math.clamp(math.sin(q.anim_time*90*2.5+225)*3.5,0,90)",
|
||||
"math.clamp(-math.sin(q.anim_time*90*2.5+225)*2,-90,0)"
|
||||
],
|
||||
"0.0": [0, 0, 0],
|
||||
"0.5833": [0, 0, 0],
|
||||
"0.625": [
|
||||
"math.clamp(math.sin(q.anim_time*90*2.5+225)*0.5,0,90)",
|
||||
"math.clamp(math.sin(q.anim_time*90*2.5+225)*3.5,0,90)",
|
||||
"math.clamp(-math.sin(q.anim_time*90*2.5+225)*2,-90,0)"
|
||||
],
|
||||
"0.625": [0.06, 0.42, -0.24],
|
||||
"0.7083": [0.18, 1.26, -0.72],
|
||||
"0.7917": [0.15, 1.08, -0.62],
|
||||
"0.9167": [0.11, 0.81, -0.47],
|
||||
"1.0417": [0.07, 0.54, -0.31],
|
||||
"1.1667": [0.04, 0.27, -0.16],
|
||||
"1.2917": [0, 0, 0],
|
||||
"1.5833": [0, 0, 0]
|
||||
}
|
||||
@@ -858,25 +863,31 @@
|
||||
},
|
||||
"leg_right": {
|
||||
"rotation": {
|
||||
"0.0": ["-15+math.clamp(math.sin(q.anim_time*90*2.5+225)*35,-90,0)", 35, 0],
|
||||
"0.3333": ["-15+math.clamp(math.sin(q.anim_time*90*2.5+225)*35,-90,0)", 35, 0],
|
||||
"0.0": [-65, 35, 0],
|
||||
"0.1667": {
|
||||
"pre": [-75, 35, 0],
|
||||
"post": [-75, 35, 0],
|
||||
"lerp_mode": "catmullrom"
|
||||
},
|
||||
"0.3333": {
|
||||
"post": [-65, 35, 0],
|
||||
"lerp_mode": "catmullrom"
|
||||
},
|
||||
"0.5": [-15, 35, 0],
|
||||
"1.3333": [-15, 35, 0],
|
||||
"1.375": ["-15+math.clamp(math.sin(q.anim_time*90*2.5+225)*35,-90,0)", 35, 0]
|
||||
"1.375": [-15, 35, 0],
|
||||
"1.5833": [-65, 35, 0]
|
||||
},
|
||||
"position": {
|
||||
"0.0": [
|
||||
"math.clamp(math.sin(q.anim_time*90*2.5+225)*0.5,-90,0)",
|
||||
"math.clamp(-math.sin(q.anim_time*90*2.5+225)*3.5,0,90)",
|
||||
"math.clamp(math.sin(q.anim_time*90*2.5+225)*2,-90,0)"
|
||||
],
|
||||
"0.0": [-0.37, 2.61, -1.49],
|
||||
"0.0417": [-0.37, 2.61, -1.49],
|
||||
"0.125": [-0.3, 2.13, -1.22],
|
||||
"0.25": [-0.2, 1.42, -0.81],
|
||||
"0.375": [-0.1, 0.71, -0.4],
|
||||
"0.5": [0, 0, 0],
|
||||
"1.3333": [0, 0, 0],
|
||||
"1.375": [
|
||||
"math.clamp(math.sin(q.anim_time*90*2.5+225)*0.5,-90,0)",
|
||||
"math.clamp(-math.sin(q.anim_time*90*2.5+225)*3.5,0,90)",
|
||||
"math.clamp(math.sin(q.anim_time*90*2.5+225)*2,-90,0)"
|
||||
]
|
||||
"1.375": [0, 0, 0],
|
||||
"1.5833": [-0.37, 2.61, -1.49]
|
||||
}
|
||||
},
|
||||
"leg_right2": {
|
||||
@@ -899,13 +910,13 @@
|
||||
},
|
||||
"body": {
|
||||
"position": {
|
||||
"0.0": [0, -2, "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"0.4583": [0, -2, "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"0.5417": [0, "-2.2+math.sin(q.anim_time*90*40)*0.4", "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"0.6667": [0, -2, "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"1.25": [0, -2, "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"1.3333": [0, "-2.2+math.sin(q.anim_time*90*40)*0.4", "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"1.4583": [0, -2, "-math.sin(q.anim_time*90*1)*0.15"]
|
||||
"0.0": [0, -1, "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"0.4583": [0, -1, "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"0.5": [0, -1.3, "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"0.5417": [0, -1, "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"1.25": [0, -1, "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"1.2917": [0, -1.3, "-math.sin(q.anim_time*90*1)*0.15"],
|
||||
"1.3333": [0, -1, "-math.sin(q.anim_time*90*1)*0.15"]
|
||||
}
|
||||
},
|
||||
"torso": {
|
||||
@@ -1397,7 +1408,7 @@
|
||||
}
|
||||
},
|
||||
"animation.exeggutor_alolan.blink3": {
|
||||
"animation_length": 0.16667,
|
||||
"animation_length": 0.1667,
|
||||
"bones": {
|
||||
"eyelid_right3": {
|
||||
"position": {
|
||||
@@ -1415,25 +1426,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.exeggutor_alolan.new": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"body": {
|
||||
"scale": 0.9
|
||||
},
|
||||
"neck11": {
|
||||
"position": [0, -230, 0]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.exeggutor_alolan.new2": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"body": {
|
||||
"scale": 1.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.exeggutor_alolan.cry": {
|
||||
"animation_length": 1.5,
|
||||
"bones": {
|
||||
@@ -1472,27 +1464,15 @@
|
||||
"mouth_closed": {
|
||||
"position": {
|
||||
"0.0": [0, 0, -0.1],
|
||||
"0.25": {
|
||||
"pre": [0, 0, -0.1],
|
||||
"post": [0, 0, 0]
|
||||
},
|
||||
"1.25": {
|
||||
"pre": [0, 0, 0],
|
||||
"post": [0, 0, -0.1]
|
||||
}
|
||||
"0.25": {"pre": [0, 0, -0.1], "post": [0, 0, 0]},
|
||||
"1.25": {"pre": [0, 0, 0], "post": [0, 0, -0.1]}
|
||||
}
|
||||
},
|
||||
"mouth_open": {
|
||||
"position": {
|
||||
"0.0": [0, 0, 0.1],
|
||||
"0.25": {
|
||||
"pre": [0, 0, 0.1],
|
||||
"post": [0, 0, 0]
|
||||
},
|
||||
"1.25": {
|
||||
"pre": [0, 0, 0],
|
||||
"post": [0, 0, 0.1]
|
||||
}
|
||||
"0.25": {"pre": [0, 0, 0.1], "post": [0, 0, 0]},
|
||||
"1.25": {"pre": [0, 0, 0], "post": [0, 0, 0.1]}
|
||||
}
|
||||
},
|
||||
"head2": {
|
||||
@@ -1506,27 +1486,15 @@
|
||||
"mouth_closed2": {
|
||||
"position": {
|
||||
"0.0": [0, 0, 0],
|
||||
"0.25": {
|
||||
"pre": [0, 0, 0],
|
||||
"post": [0, 0, 0.2]
|
||||
},
|
||||
"1.25": {
|
||||
"pre": [0, 0, 0.2],
|
||||
"post": [0, 0, 0]
|
||||
}
|
||||
"0.25": {"pre": [0, 0, 0], "post": [0, 0, 0.2]},
|
||||
"1.25": {"pre": [0, 0, 0.2], "post": [0, 0, 0]}
|
||||
}
|
||||
},
|
||||
"mouth_open2": {
|
||||
"position": {
|
||||
"0.0": [0, 0, 0],
|
||||
"0.25": {
|
||||
"pre": [0, 0, 0],
|
||||
"post": [0, 0, -0.1]
|
||||
},
|
||||
"1.25": {
|
||||
"pre": [0, 0, -0.1],
|
||||
"post": [0, 0, 0]
|
||||
}
|
||||
"0.25": {"pre": [0, 0, 0], "post": [0, 0, -0.1]},
|
||||
"1.25": {"pre": [0, 0, -0.1], "post": [0, 0, 0]}
|
||||
}
|
||||
},
|
||||
"head3": {
|
||||
@@ -1540,27 +1508,15 @@
|
||||
"mouth_closed3": {
|
||||
"position": {
|
||||
"0.0": [0, 0, -0.1],
|
||||
"0.25": {
|
||||
"pre": [0, 0, -0.1],
|
||||
"post": [0, 0, 0]
|
||||
},
|
||||
"1.25": {
|
||||
"pre": [0, 0, 0],
|
||||
"post": [0, 0, -0.1]
|
||||
}
|
||||
"0.25": {"pre": [0, 0, -0.1], "post": [0, 0, 0]},
|
||||
"1.25": {"pre": [0, 0, 0], "post": [0, 0, -0.1]}
|
||||
}
|
||||
},
|
||||
"mouth_open3": {
|
||||
"position": {
|
||||
"0.0": [0, 0, 0.1],
|
||||
"0.25": {
|
||||
"pre": [0, 0, 0.1],
|
||||
"post": [0, 0, 0]
|
||||
},
|
||||
"1.25": {
|
||||
"pre": [0, 0, 0],
|
||||
"post": [0, 0, 0.1]
|
||||
}
|
||||
"0.25": {"pre": [0, 0, 0.1], "post": [0, 0, 0]},
|
||||
"1.25": {"pre": [0, 0, 0], "post": [0, 0, 0.1]}
|
||||
}
|
||||
},
|
||||
"neck": {
|
||||
|
||||
@@ -515,8 +515,24 @@
|
||||
"position": {
|
||||
"0.0": [0, 0.2, 2],
|
||||
"0.25": [0, 0, 5.4],
|
||||
"0.4167": [0, "-0.5+math.clamp(math.sin(q.anim_time*90*2-0),0,1)*4", "-0.25+math.sin(q.anim_time*90*3+30)*4"],
|
||||
"1.0417": [0, "0.5+math.clamp(math.sin(q.anim_time*90*2-0),0,1)*4", "math.sin(q.anim_time*90*3+10)*4"],
|
||||
"0.4167": {
|
||||
"pre": [0, 3.1, 2.35],
|
||||
"post": [0, 3.1, 2.35],
|
||||
"lerp_mode": "catmullrom"
|
||||
},
|
||||
"0.625": {
|
||||
"post": [0, 3.41, -0.99],
|
||||
"lerp_mode": "catmullrom"
|
||||
},
|
||||
"0.8333": {
|
||||
"post": [0, 2.13, -3.54],
|
||||
"lerp_mode": "catmullrom"
|
||||
},
|
||||
"0.9583": {
|
||||
"post": [0, 1.09, -4.05],
|
||||
"lerp_mode": "catmullrom"
|
||||
},
|
||||
"1.0417": [0, 0.55, -3.8],
|
||||
"1.0833": [0, 0.5, -3.34552],
|
||||
"1.5": [0, 0.2, 2]
|
||||
}
|
||||
|
||||
@@ -37,9 +37,11 @@
|
||||
"rotation": ["math.sin(q.anim_time*90*1.5-150)*1.5", 0, "math.sin(q.anim_time*90*1.5-60)*2"]
|
||||
},
|
||||
"stache": {
|
||||
"position": [0, 0, 2],
|
||||
"scale": 0
|
||||
},
|
||||
"lil_stache": {
|
||||
"position": [0, -1, 0],
|
||||
"scale": 0
|
||||
}
|
||||
}
|
||||
@@ -244,9 +246,11 @@
|
||||
}
|
||||
},
|
||||
"stache": {
|
||||
"position": [0, 0, 2],
|
||||
"scale": 0
|
||||
},
|
||||
"lil_stache": {
|
||||
"position": [0, -1, 0],
|
||||
"scale": 0
|
||||
},
|
||||
"body": {
|
||||
@@ -290,9 +294,11 @@
|
||||
"rotation": ["5+math.sin(q.anim_time*90*1.5-150)*1.5", 0, "math.sin(q.anim_time*90*1.5-60)*2"]
|
||||
},
|
||||
"stache": {
|
||||
"position": [0, 0, 2],
|
||||
"scale": 0
|
||||
},
|
||||
"lil_stache": {
|
||||
"position": [0, -1, 0],
|
||||
"scale": 0
|
||||
}
|
||||
}
|
||||
@@ -343,9 +349,11 @@
|
||||
"rotation": [-0.19072, "math.sin(q.anim_time*90*0.5-130)*-3", -4.75382]
|
||||
},
|
||||
"stache": {
|
||||
"position": [0, 0, 2],
|
||||
"scale": 0
|
||||
},
|
||||
"lil_stache": {
|
||||
"position": [0, -1, 0],
|
||||
"scale": 0
|
||||
}
|
||||
}
|
||||
@@ -1712,9 +1720,11 @@
|
||||
}
|
||||
},
|
||||
"stache": {
|
||||
"position": [0, 0, 2],
|
||||
"scale": 0
|
||||
},
|
||||
"lil_stache": {
|
||||
"position": [0, -1, 0],
|
||||
"scale": 0
|
||||
}
|
||||
}
|
||||
@@ -2232,9 +2242,11 @@
|
||||
}
|
||||
},
|
||||
"stache": {
|
||||
"position": [0, 0, 2],
|
||||
"scale": 0
|
||||
},
|
||||
"lil_stache": {
|
||||
"position": [0, -1, 0],
|
||||
"scale": 0
|
||||
},
|
||||
"mouth_open_happy": {
|
||||
@@ -2531,9 +2543,11 @@
|
||||
}
|
||||
},
|
||||
"stache": {
|
||||
"position": [0, 0, 2],
|
||||
"scale": 0
|
||||
},
|
||||
"lil_stache": {
|
||||
"position": [0, -1, 0],
|
||||
"scale": 0
|
||||
}
|
||||
}
|
||||
@@ -2825,9 +2839,11 @@
|
||||
}
|
||||
},
|
||||
"stache": {
|
||||
"position": [0, 0, 2],
|
||||
"scale": 0
|
||||
},
|
||||
"lil_stache": {
|
||||
"position": [0, -1, 0],
|
||||
"scale": 0
|
||||
}
|
||||
},
|
||||
@@ -3597,9 +3613,11 @@
|
||||
}
|
||||
},
|
||||
"stache": {
|
||||
"position": [0, 0, 2],
|
||||
"scale": 0
|
||||
},
|
||||
"lil_stache": {
|
||||
"position": [0, -1, 0],
|
||||
"scale": 0
|
||||
},
|
||||
"body": {
|
||||
|
||||
@@ -1,11 +1,93 @@
|
||||
{
|
||||
"format_version": "1.8.0",
|
||||
"animations": {
|
||||
"animation.charcadet.ground_idle_pose": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"torso": {
|
||||
"rotation": [-2.5, 0, 0]
|
||||
},
|
||||
"waist": {
|
||||
"rotation": [2.5, 0, 0]
|
||||
},
|
||||
"arm_left": {
|
||||
"rotation": [1.30962, -7.38542, 34.91547]
|
||||
},
|
||||
"arm_left2": {
|
||||
"rotation": [0, 22.5, 0]
|
||||
},
|
||||
"hand_left": {
|
||||
"rotation": [0, 0, 7.5]
|
||||
},
|
||||
"fingers_left": {
|
||||
"rotation": [0, 0, 15]
|
||||
},
|
||||
"arm_right": {
|
||||
"rotation": [1.30962, 7.38542, -34.91547]
|
||||
},
|
||||
"arm_right2": {
|
||||
"rotation": [0, -22.5, 0]
|
||||
},
|
||||
"hand_right": {
|
||||
"rotation": [0, 0, -7.5]
|
||||
},
|
||||
"fingers_right": {
|
||||
"rotation": [0, 0, -15]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [2.5, 0, 0]
|
||||
},
|
||||
"back_flame": {
|
||||
"rotation": [-5, 0, 0]
|
||||
},
|
||||
"leg_left": {
|
||||
"rotation": [9.98783, -0.00858, -12.92793]
|
||||
},
|
||||
"leg_left2": {
|
||||
"rotation": [-2.5, 0, 7.5]
|
||||
},
|
||||
"foot_left": {
|
||||
"rotation": [-7.48107, 0.43523, 4.98107]
|
||||
},
|
||||
"leg_right": {
|
||||
"rotation": [9.98783, 0.00858, 12.92793]
|
||||
},
|
||||
"leg_right2": {
|
||||
"rotation": [-2.5, 0, -7.5]
|
||||
},
|
||||
"foot_right": {
|
||||
"rotation": [-7.48107, -0.43523, -4.98107]
|
||||
},
|
||||
"eye_flame_left": {
|
||||
"rotation": [-12.68472, -19.93989, 0.57543]
|
||||
},
|
||||
"eye_flame_left2": {
|
||||
"rotation": [-49.84884, -2.22147, 21.2812]
|
||||
},
|
||||
"eye_flame_left3": {
|
||||
"rotation": [-10, 20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"rotation": [-12.68472, 19.93989, -0.57543]
|
||||
},
|
||||
"eye_flame_right2": {
|
||||
"rotation": [-49.84884, 2.22147, -21.2812]
|
||||
},
|
||||
"eye_flame_right3": {
|
||||
"rotation": [-10, -20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
},
|
||||
"head_flame": {
|
||||
"rotation": [-12.5, 0, 0]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.ground_idle": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"torso": {
|
||||
"position": [0, -0.1, 0]
|
||||
"position": [0, "-0.1+Math.cos((query.anim_time) * 90 * 2) * -0.2", 0]
|
||||
},
|
||||
"chest": {
|
||||
"rotation": [-2.5, 0, 0],
|
||||
@@ -75,6 +157,26 @@
|
||||
},
|
||||
"hand_left": {
|
||||
"rotation": [-1, 0, 0]
|
||||
},
|
||||
"eye_flame_left": {
|
||||
"rotation": [-12.68472, -19.93989, 0.57543]
|
||||
},
|
||||
"eye_flame_left2": {
|
||||
"rotation": [-49.84884, -2.22147, 21.2812]
|
||||
},
|
||||
"eye_flame_left3": {
|
||||
"rotation": [-10, 20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"rotation": [-12.68472, 19.93989, -0.57543]
|
||||
},
|
||||
"eye_flame_right2": {
|
||||
"rotation": [-49.84884, 2.22147, -21.2812]
|
||||
},
|
||||
"eye_flame_right3": {
|
||||
"rotation": [-10, -20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -165,6 +267,29 @@
|
||||
},
|
||||
"chest": {
|
||||
"rotation": [7.5, "0+Math.cos((query.anim_time) * 90 * 2*2-150) * 2", 0]
|
||||
},
|
||||
"torso": {
|
||||
"position": [0, "0+Math.cos((query.anim_time) * 90 * 8) * 0.4", 0]
|
||||
},
|
||||
"eye_flame_left": {
|
||||
"rotation": [-12.68472, -19.93989, 0.57543]
|
||||
},
|
||||
"eye_flame_left2": {
|
||||
"rotation": [-49.84884, -2.22147, 21.2812]
|
||||
},
|
||||
"eye_flame_left3": {
|
||||
"rotation": [-10, 20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"rotation": [-12.68472, 19.93989, -0.57543]
|
||||
},
|
||||
"eye_flame_right2": {
|
||||
"rotation": [-49.84884, 2.22147, -21.2812]
|
||||
},
|
||||
"eye_flame_right3": {
|
||||
"rotation": [-10, -20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -233,49 +358,31 @@
|
||||
},
|
||||
"torso": {
|
||||
"position": [0, 0, 0.1]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.blink": {
|
||||
"animation_length": 0.16667,
|
||||
"bones": {
|
||||
"eyelid_left": {
|
||||
"position": {
|
||||
"0.0": [0.1, 0, -0.1],
|
||||
"0.125": [0.1, 0, -0.1],
|
||||
"0.1667": [0, 0, 0]
|
||||
}
|
||||
},
|
||||
"flame_left": {
|
||||
"position": {
|
||||
"0.0": [-2, 0, 1],
|
||||
"0.125": [-2, 0, 1],
|
||||
"0.1667": [0, 0, 0]
|
||||
}
|
||||
"eye_flame_left": {
|
||||
"rotation": [-12.68472, -19.93989, 0.57543]
|
||||
},
|
||||
"eyelid_right": {
|
||||
"position": {
|
||||
"0.0": [-0.1, 0, -0.1],
|
||||
"0.125": [-0.1, 0, -0.1],
|
||||
"0.1667": [0, 0, 0]
|
||||
}
|
||||
"eye_flame_left2": {
|
||||
"rotation": [-49.84884, -2.22147, 21.2812]
|
||||
},
|
||||
"flame_right": {
|
||||
"position": {
|
||||
"0.0": [2, 0, 1],
|
||||
"0.125": [2, 0, 1],
|
||||
"0.1667": [0, 0, 0]
|
||||
}
|
||||
"eye_flame_left3": {
|
||||
"rotation": [-10, 20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"rotation": [-12.68472, 19.93989, -0.57543]
|
||||
},
|
||||
"eye_flame_right2": {
|
||||
"rotation": [-49.84884, 2.22147, -21.2812]
|
||||
},
|
||||
"eye_flame_right3": {
|
||||
"rotation": [-10, -20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.cry": {
|
||||
"animation_length": 1.25,
|
||||
"sound_effects": {
|
||||
"0.04": {
|
||||
"effect": "pokemon.charcadet.cry"
|
||||
}
|
||||
},
|
||||
"bones": {
|
||||
"back_flame": {
|
||||
"rotation": {
|
||||
@@ -584,6 +691,26 @@
|
||||
"1.5833": [32.5, 0, 0],
|
||||
"1.7083": [12.5, 0, 0]
|
||||
}
|
||||
},
|
||||
"eye_flame_left": {
|
||||
"rotation": [-12.68472, -19.93989, 0.57543]
|
||||
},
|
||||
"eye_flame_left2": {
|
||||
"rotation": [-49.84884, -2.22147, 21.2812]
|
||||
},
|
||||
"eye_flame_left3": {
|
||||
"rotation": [-10, 20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"rotation": [-12.68472, 19.93989, -0.57543]
|
||||
},
|
||||
"eye_flame_right2": {
|
||||
"rotation": [-49.84884, 2.22147, -21.2812]
|
||||
},
|
||||
"eye_flame_right3": {
|
||||
"rotation": [-10, -20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -617,7 +744,7 @@
|
||||
"rotation": ["22.5+Math.cos((query.anim_time) * 90 * 2 - 60) * 2", 0, 0]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [-7.67995, 12.39135, "-1.6575+Math.sin((query.anim_time) * 90 * 2 - 20) * -1"]
|
||||
"rotation": [-27.67995, 12.39135, "-1.6575+Math.sin((query.anim_time) * 90 * 2 - 20) * -1"]
|
||||
},
|
||||
"leg_left": {
|
||||
"rotation": [-76.20217, -29.55666, -2.87398]
|
||||
@@ -642,6 +769,26 @@
|
||||
},
|
||||
"flame_head": {
|
||||
"rotation": ["0+Math.cos((query.anim_time) * 90 * 8) * 6", 0, 0]
|
||||
},
|
||||
"eye_flame_left": {
|
||||
"rotation": [-12.68472, -19.93989, 0.57543]
|
||||
},
|
||||
"eye_flame_left2": {
|
||||
"rotation": [-49.84884, -2.22147, 21.2812]
|
||||
},
|
||||
"eye_flame_left3": {
|
||||
"rotation": [-10, 20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"rotation": [-12.68472, 19.93989, -0.57543]
|
||||
},
|
||||
"eye_flame_right2": {
|
||||
"rotation": [-49.84884, 2.22147, -21.2812]
|
||||
},
|
||||
"eye_flame_right3": {
|
||||
"rotation": [-10, -20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -676,7 +823,7 @@
|
||||
"rotation": ["22.5+Math.cos((query.anim_time) * 90 * 2 - 60) * 2", 0, 0]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [-7.67995, -12.39135, "1.6575+Math.sin((query.anim_time) * 90 * 2 - 20) * -1"]
|
||||
"rotation": [-27.67995, -12.39135, "1.6575+Math.sin((query.anim_time) * 90 * 2 - 20) * -1"]
|
||||
},
|
||||
"leg_left": {
|
||||
"rotation": [-87.5, 0, 0]
|
||||
@@ -701,6 +848,271 @@
|
||||
},
|
||||
"flame_head": {
|
||||
"rotation": ["0+Math.cos((query.anim_time) * 90 * 8) * 6", 0, 0]
|
||||
},
|
||||
"eye_flame_left": {
|
||||
"rotation": [-12.68472, -19.93989, 0.57543]
|
||||
},
|
||||
"eye_flame_left2": {
|
||||
"rotation": [-49.84884, -2.22147, 21.2812]
|
||||
},
|
||||
"eye_flame_left3": {
|
||||
"rotation": [-10, 20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"rotation": [-12.68472, 19.93989, -0.57543]
|
||||
},
|
||||
"eye_flame_right2": {
|
||||
"rotation": [-49.84884, 2.22147, -21.2812]
|
||||
},
|
||||
"eye_flame_right3": {
|
||||
"rotation": [-10, -20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.eye_flame_overlay": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"eye_flame_left": {
|
||||
"rotation": ["0+Math.cos((query.anim_time) * 90 * 16 - 90) * 3", "0+Math.cos((query.anim_time) * 90 * 16) * 3", 0]
|
||||
},
|
||||
"eye_flame_left2": {
|
||||
"rotation": [0, "0+Math.cos((query.anim_time) * 90 * 16 - 120) * 8", 0]
|
||||
},
|
||||
"eye_flame_left3": {
|
||||
"rotation": [0, "0+Math.cos((query.anim_time) * 90 * 16 - 240) * 8", 0]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"rotation": ["0+Math.cos((query.anim_time) * 90 * 16 - 90) * 3", "0+Math.cos((query.anim_time) * 90 * 16) * -3", 0]
|
||||
},
|
||||
"eye_flame_right2": {
|
||||
"rotation": [0, "0+Math.cos((query.anim_time) * 90 * 16 - 120) * -8", 0]
|
||||
},
|
||||
"eye_flame_right3": {
|
||||
"rotation": [0, "0+Math.cos((query.anim_time) * 90 * 16 - 240) * -8", 0]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.head_flame_overlay": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"head_flame": {
|
||||
"rotation": ["0+Math.cos((query.anim_time) * 90 * 8) * 4", 0, 0]
|
||||
},
|
||||
"head_flame2": {
|
||||
"rotation": ["0+Math.cos((query.anim_time) * 90 * 8 - 90) * 9", 0, 0]
|
||||
},
|
||||
"head_flame3": {
|
||||
"rotation": ["0+Math.cos((query.anim_time) * 90 * 8 - 180) * 18", 0, 0]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.blink": {
|
||||
"animation_length": 0.1667,
|
||||
"bones": {
|
||||
"eye_flame_left": {
|
||||
"scale": {
|
||||
"0.0": [0, 0, 0],
|
||||
"0.125": [0, 0, 0],
|
||||
"0.1667": [1, 1, 1]
|
||||
}
|
||||
},
|
||||
"eyelid_left": {
|
||||
"position": {
|
||||
"0.0": [0.1, 0, -0.1],
|
||||
"0.125": [0.1, 0, -0.1],
|
||||
"0.1667": [0, 0, 0]
|
||||
}
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"scale": {
|
||||
"0.0": [0, 0, 0],
|
||||
"0.125": [0, 0, 0],
|
||||
"0.1667": [1, 1, 1]
|
||||
}
|
||||
},
|
||||
"eyelid_right": {
|
||||
"position": {
|
||||
"0.0": [-0.1, 0, -0.1],
|
||||
"0.125": [-0.1, 0, -0.1],
|
||||
"0.1667": [0, 0, 0]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.render": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"torso": {
|
||||
"rotation": [-2.5, 0, 0]
|
||||
},
|
||||
"waist": {
|
||||
"rotation": [2.5, 0, 0]
|
||||
},
|
||||
"arm_left": {
|
||||
"rotation": [1.30962, -7.38542, 34.91547]
|
||||
},
|
||||
"arm_left2": {
|
||||
"rotation": [0, 55, 0]
|
||||
},
|
||||
"hand_left": {
|
||||
"rotation": [0, 0, 7.5]
|
||||
},
|
||||
"fingers_left": {
|
||||
"rotation": [0, 0, 15]
|
||||
},
|
||||
"arm_right": {
|
||||
"rotation": [1.40458, 22.38126, -34.54893]
|
||||
},
|
||||
"arm_right2": {
|
||||
"rotation": [0, -22.5, 0]
|
||||
},
|
||||
"hand_right": {
|
||||
"rotation": [0, 0, -7.5]
|
||||
},
|
||||
"fingers_right": {
|
||||
"rotation": [0, 0, -15]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [2.97532, -19.82169, -2.71994]
|
||||
},
|
||||
"back_flame": {
|
||||
"rotation": [-5, 0, 0]
|
||||
},
|
||||
"leg_left": {
|
||||
"rotation": [17.48783, -0.00858, -12.92793]
|
||||
},
|
||||
"leg_left2": {
|
||||
"rotation": [7.5, 0, 7.5]
|
||||
},
|
||||
"foot_left": {
|
||||
"rotation": [-24.95393, 1.27951, 6.79435]
|
||||
},
|
||||
"leg_right": {
|
||||
"rotation": [-27.51217, 0.00858, 12.92793]
|
||||
},
|
||||
"leg_right2": {
|
||||
"rotation": [27.5, 0, -7.5]
|
||||
},
|
||||
"foot_right": {
|
||||
"rotation": [0.03411, -0.4343, -6.98113]
|
||||
},
|
||||
"eye_flame_left": {
|
||||
"rotation": [-12.68472, -19.93989, 0.57543],
|
||||
"position": [-0.25, 0, 0]
|
||||
},
|
||||
"eye_flame_left2": {
|
||||
"rotation": [-49.84884, -2.22147, 21.2812]
|
||||
},
|
||||
"eye_flame_left3": {
|
||||
"rotation": [-10, 20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"rotation": [-12.68472, 19.93989, -0.57543]
|
||||
},
|
||||
"eye_flame_right2": {
|
||||
"rotation": [-49.84884, 2.22147, -21.2812]
|
||||
},
|
||||
"eye_flame_right3": {
|
||||
"rotation": [-10, -20, 0],
|
||||
"position": [0, 0, -0.5]
|
||||
},
|
||||
"charcadet": {
|
||||
"rotation": [0, 25, 0]
|
||||
},
|
||||
"body": {
|
||||
"rotation": [0, 25, 0],
|
||||
"position": [0, -0.4, 0]
|
||||
},
|
||||
"pupil_left": {
|
||||
"position": [0.75, 0, 0]
|
||||
},
|
||||
"pupil_left2": {
|
||||
"position": [0.5, 0, 0]
|
||||
},
|
||||
"head_flame": {
|
||||
"rotation": [-10, 0, 0]
|
||||
},
|
||||
"head_flame2": {
|
||||
"rotation": [0, 0, 12.5]
|
||||
},
|
||||
"head_flame3": {
|
||||
"rotation": [0, 0, -12.5]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.angry": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"eye_angry_left": {
|
||||
"position": [0.1, 0, -0.1]
|
||||
},
|
||||
"eye_angry_right": {
|
||||
"position": [-0.1, 0, -0.1]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.sad": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"eye_sad_left": {
|
||||
"position": [0.1, 0, -0.1]
|
||||
},
|
||||
"eye_sad_right": {
|
||||
"position": [-0.1, 0, -0.1]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.unamused": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"eye_flame_left": {
|
||||
"position": [0, -0.6, 0]
|
||||
},
|
||||
"eye_unamused_left": {
|
||||
"position": [0.1, 0, -0.1]
|
||||
},
|
||||
"eye_unamused_right": {
|
||||
"position": [-0.1, 0, -0.1]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"position": [0, -0.6, 0]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.happy": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"eye_flame_left": {
|
||||
"scale": 0
|
||||
},
|
||||
"eyelid_happy_left": {
|
||||
"position": [0.1, 0, -0.1]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"scale": 0
|
||||
},
|
||||
"eyelid_happy_right": {
|
||||
"position": [-0.1, 0, -0.1]
|
||||
}
|
||||
}
|
||||
},
|
||||
"animation.charcadet.hurt": {
|
||||
"loop": true,
|
||||
"bones": {
|
||||
"eye_flame_left": {
|
||||
"scale": 0
|
||||
},
|
||||
"eyelid_recoil_left": {
|
||||
"position": [0.1, 0, -0.1]
|
||||
},
|
||||
"eye_flame_right": {
|
||||
"scale": 0
|
||||
},
|
||||
"eyelid_recoil_right": {
|
||||
"position": [-0.1, 0, -0.1]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,15 +12,12 @@
|
||||
},
|
||||
"bones": [
|
||||
{
|
||||
"name": "exeggutor",
|
||||
"pivot": [0, 0, 0],
|
||||
"locators": {
|
||||
"shiny_particles": [0, 40, 0]
|
||||
}
|
||||
"name": "exeggutor_alolan",
|
||||
"pivot": [0, 0, 0]
|
||||
},
|
||||
{
|
||||
"name": "body",
|
||||
"parent": "exeggutor",
|
||||
"parent": "exeggutor_alolan",
|
||||
"pivot": [0, -1, 0]
|
||||
},
|
||||
{
|
||||
@@ -154,701 +151,701 @@
|
||||
"parent": "torso",
|
||||
"pivot": [0, 49, 0],
|
||||
"cubes": [
|
||||
{"origin": [-4.5, 46, -4.5], "size": [9, 25, 9], "inflate": 0.02, "uv": [47, 145]}
|
||||
{"origin": [-4.5, 46, -4.5], "size": [9, 12, 9], "inflate": 0.02, "uv": [47, 145]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "neck2",
|
||||
"parent": "neck",
|
||||
"pivot": [0, 69.5, 0],
|
||||
"pivot": [0, 57.5, 0],
|
||||
"cubes": [
|
||||
{"origin": [-4.5, 69, -4.5], "size": [9, 22, 9], "uv": [27, 179]}
|
||||
{"origin": [-4.5, 57, -4.5], "size": [9, 9, 9], "uv": [27, 179]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "neck3",
|
||||
"parent": "neck2",
|
||||
"pivot": [0, 89.5, 0],
|
||||
"pivot": [0, 65.5, 0],
|
||||
"cubes": [
|
||||
{"origin": [-4.5, 89, -4.5], "size": [9, 22, 9], "inflate": 0.02, "uv": [0, 154]}
|
||||
{"origin": [-4.5, 65, -4.5], "size": [9, 9, 9], "inflate": 0.02, "uv": [0, 154]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "neck4",
|
||||
"parent": "neck3",
|
||||
"pivot": [0, 109.5, 0],
|
||||
"pivot": [0, 73.5, 0],
|
||||
"cubes": [
|
||||
{"origin": [-4.5, 109, -4.5], "size": [9, 22, 9], "uv": [175, 116]}
|
||||
{"origin": [-4.5, 73, -4.5], "size": [9, 9, 9], "uv": [175, 116]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "neck5",
|
||||
"parent": "neck4",
|
||||
"pivot": [0, 129.5, 0],
|
||||
"pivot": [0, 81.5, 0],
|
||||
"cubes": [
|
||||
{"origin": [-4.5, 129, -4.5], "size": [9, 22, 9], "inflate": 0.02, "uv": [119, 173]}
|
||||
{"origin": [-4.5, 81, -4.5], "size": [9, 9, 9], "inflate": 0.02, "uv": [119, 173]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "neck6",
|
||||
"parent": "neck5",
|
||||
"pivot": [0, 149.5, 0],
|
||||
"pivot": [0, 89.5, 0],
|
||||
"cubes": [
|
||||
{"origin": [-4.5, 149, -4.5], "size": [9, 22, 9], "uv": [171, 85]}
|
||||
{"origin": [-4.5, 89, -4.5], "size": [9, 9, 9], "uv": [171, 85]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "neck7",
|
||||
"parent": "neck6",
|
||||
"pivot": [0, 171, 0],
|
||||
"pivot": [0, 97.5, 0],
|
||||
"cubes": [
|
||||
{"origin": [-4.5, 169, -4.5], "size": [9, 22, 9], "inflate": 0.02, "uv": [166, 164]}
|
||||
{"origin": [-4.5, 97, -4.5], "size": [9, 9, 9], "inflate": 0.02, "uv": [166, 164]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "neck8",
|
||||
"parent": "neck7",
|
||||
"pivot": [0, 189.5, 0],
|
||||
"pivot": [0, 105.5, 0],
|
||||
"cubes": [
|
||||
{"origin": [-4.5, 189, -4.5], "size": [9, 22, 9], "uv": [160, 0]}
|
||||
{"origin": [-4.5, 105, -4.5], "size": [9, 9, 9], "uv": [160, 0]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "neck9",
|
||||
"parent": "neck8",
|
||||
"pivot": [0, 209.5, 0],
|
||||
"pivot": [0, 113.5, 0],
|
||||
"cubes": [
|
||||
{"origin": [-4.5, 209, -4.5], "size": [9, 22, 9], "inflate": 0.02, "uv": [83, 154]}
|
||||
{"origin": [-4.5, 113, -4.5], "size": [9, 9, 9], "inflate": 0.02, "uv": [83, 154]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "neck10",
|
||||
"parent": "neck9",
|
||||
"pivot": [0, 229.5, 0],
|
||||
"pivot": [0, 121.5, 0],
|
||||
"cubes": [
|
||||
{"origin": [-4.5, 229, -4.5], "size": [9, 31, 9], "uv": [139, 133]}
|
||||
{"origin": [-4.5, 121, -4.5], "size": [9, 18, 9], "uv": [139, 133]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "neck11",
|
||||
"parent": "neck10",
|
||||
"pivot": [0, 261.5, 0],
|
||||
"pivot": [0, 140.5, 0],
|
||||
"cubes": [
|
||||
{"origin": [-9, 258, -9], "size": [18, 25, 18], "uv": [0, 52]}
|
||||
{"origin": [-9, 137, -9], "size": [18, 25, 18], "uv": [0, 52]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "upperHead",
|
||||
"parent": "neck11",
|
||||
"pivot": [0, 212.5, 0]
|
||||
"pivot": [0, 91.5, 0]
|
||||
},
|
||||
{
|
||||
"name": "head",
|
||||
"parent": "upperHead",
|
||||
"pivot": [0, 272, -8.5],
|
||||
"pivot": [0, 151, -8.5],
|
||||
"rotation": [-7.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-7.5, 265, -23.5], "size": [15, 19, 15], "uv": [111, 99]}
|
||||
{"origin": [-7.5, 144, -23.5], "size": [15, 19, 15], "uv": [111, 99]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mouth_closed",
|
||||
"parent": "head",
|
||||
"pivot": [0, 262.25, -5.7],
|
||||
"pivot": [0, 141.25, -5.7],
|
||||
"cubes": [
|
||||
{"origin": [-7.5, 267, -23.45], "size": [15, 6, 0], "inflate": 0.02, "uv": [159, 34]}
|
||||
{"origin": [-7.5, 146, -23.45], "size": [15, 6, 0], "inflate": 0.02, "uv": [159, 34]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mouth_open",
|
||||
"parent": "head",
|
||||
"pivot": [0, 267.5, -23.53],
|
||||
"pivot": [0, 146.5, -23.53],
|
||||
"cubes": [
|
||||
{"origin": [-7, 266, -23.51], "size": [14, 7, 0], "inflate": 0.02, "uv": [216, 0]}
|
||||
{"origin": [-7, 145, -23.51], "size": [14, 7, 0], "inflate": 0.02, "uv": [216, 0]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eye_right",
|
||||
"parent": "head",
|
||||
"pivot": [-5.03, 275.75, -22.03],
|
||||
"pivot": [-5.03, 154.75, -22.03],
|
||||
"cubes": [
|
||||
{"origin": [-6.51, 273.75, -23.51], "size": [5, 8, 0], "inflate": 0.02, "uv": [100, 122]}
|
||||
{"origin": [-6.51, 152.75, -23.51], "size": [5, 8, 0], "inflate": 0.02, "uv": [100, 122]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eyelid_right",
|
||||
"parent": "eye_right",
|
||||
"pivot": [-4.95, 277.25, -22.95],
|
||||
"pivot": [-4.95, 156.25, -22.95],
|
||||
"cubes": [
|
||||
{"origin": [-6.95, 273.75, -23.45], "size": [6, 8, 1], "inflate": 0.04, "uv": [180, 52]}
|
||||
{"origin": [-6.95, 152.75, -23.45], "size": [6, 8, 1], "inflate": 0.04, "uv": [180, 52]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eye_left",
|
||||
"parent": "head",
|
||||
"pivot": [5.03, 275.75, -22.03],
|
||||
"pivot": [5.03, 154.75, -22.03],
|
||||
"cubes": [
|
||||
{"origin": [1.51, 273.75, -23.51], "size": [5, 8, 0], "inflate": 0.02, "uv": [100, 114]}
|
||||
{"origin": [1.51, 152.75, -23.51], "size": [5, 8, 0], "inflate": 0.02, "uv": [100, 114]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eyelid_left",
|
||||
"parent": "eye_left",
|
||||
"pivot": [4.95, 277.25, -22.95],
|
||||
"pivot": [4.95, 156.25, -22.95],
|
||||
"cubes": [
|
||||
{"origin": [0.95, 273.75, -23.45], "size": [6, 8, 1], "inflate": 0.04, "uv": [146, 173]}
|
||||
{"origin": [0.95, 152.75, -23.45], "size": [6, 8, 1], "inflate": 0.04, "uv": [146, 173]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "head2",
|
||||
"parent": "upperHead",
|
||||
"pivot": [9, 271, -4],
|
||||
"pivot": [9, 150, -4],
|
||||
"rotation": [-7.5, -60, 0],
|
||||
"cubes": [
|
||||
{"origin": [1.5, 264, -19], "size": [15, 19, 15], "uv": [100, 0]}
|
||||
{"origin": [1.5, 143, -19], "size": [15, 19, 15], "uv": [100, 0]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mouth_closed2",
|
||||
"parent": "head2",
|
||||
"pivot": [9, 260.25, -1],
|
||||
"pivot": [9, 139.25, -1],
|
||||
"cubes": [
|
||||
{"origin": [2, 266.5, -19.05], "size": [14, 6, 0], "inflate": 0.02, "uv": [54, 179]}
|
||||
{"origin": [2, 145.5, -19.05], "size": [14, 6, 0], "inflate": 0.02, "uv": [54, 179]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mouth_open2",
|
||||
"parent": "head2",
|
||||
"pivot": [9, 267.75, -18.93],
|
||||
"pivot": [9, 146.75, -18.93],
|
||||
"cubes": [
|
||||
{"origin": [3.5, 266.5, -18.91], "size": [11, 6, 0], "inflate": 0.02, "uv": [120, 63]}
|
||||
{"origin": [3.5, 145.5, -18.91], "size": [11, 6, 0], "inflate": 0.02, "uv": [120, 63]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eye_right2",
|
||||
"parent": "head2",
|
||||
"pivot": [3.97, 273, -17.53],
|
||||
"pivot": [3.97, 152, -17.53],
|
||||
"cubes": [
|
||||
{"origin": [2.45, 274, -19.01], "size": [5, 4, 0], "inflate": 0.02, "uv": [14, 95]}
|
||||
{"origin": [2.45, 153, -19.01], "size": [5, 4, 0], "inflate": 0.02, "uv": [14, 95]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eyelid_right2",
|
||||
"parent": "eye_right2",
|
||||
"pivot": [4.07, 273, -17.43],
|
||||
"pivot": [4.07, 152, -17.43],
|
||||
"cubes": [
|
||||
{"origin": [2.05, 274, -18.95], "size": [6, 4, 1], "inflate": 0.04, "uv": [120, 69]}
|
||||
{"origin": [2.05, 153, -18.95], "size": [6, 4, 1], "inflate": 0.04, "uv": [120, 69]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eye_left2",
|
||||
"parent": "head2",
|
||||
"pivot": [14.03, 273, -17.53],
|
||||
"pivot": [14.03, 152, -17.53],
|
||||
"cubes": [
|
||||
{"origin": [10.55, 274, -19.01], "size": [5, 4, 0], "inflate": 0.02, "uv": [54, 66]}
|
||||
{"origin": [10.55, 153, -19.01], "size": [5, 4, 0], "inflate": 0.02, "uv": [54, 66]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eyelid_left2",
|
||||
"parent": "eye_left2",
|
||||
"pivot": [13.93, 273, -17.43],
|
||||
"pivot": [13.93, 152, -17.43],
|
||||
"cubes": [
|
||||
{"origin": [9.95, 274, -18.95], "size": [6, 4, 1], "inflate": 0.04, "uv": [76, 61]}
|
||||
{"origin": [9.95, 153, -18.95], "size": [6, 4, 1], "inflate": 0.04, "uv": [76, 61]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "head3",
|
||||
"parent": "upperHead",
|
||||
"pivot": [-9, 271, -4],
|
||||
"pivot": [-9, 150, -4],
|
||||
"rotation": [-7.5, 60, 0],
|
||||
"cubes": [
|
||||
{"origin": [-16.5, 264, -19], "size": [15, 19, 15], "uv": [0, 99]}
|
||||
{"origin": [-16.5, 143, -19], "size": [15, 19, 15], "uv": [0, 99]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mouth_closed3",
|
||||
"parent": "head3",
|
||||
"pivot": [-9, 261.25, -1.2],
|
||||
"pivot": [-9, 140.25, -1.2],
|
||||
"cubes": [
|
||||
{"origin": [-16.5, 267, -18.95], "size": [15, 6, 0], "inflate": 0.02, "uv": [100, 39]}
|
||||
{"origin": [-16.5, 146, -18.95], "size": [15, 6, 0], "inflate": 0.02, "uv": [100, 39]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mouth_open3",
|
||||
"parent": "head3",
|
||||
"pivot": [-9, 267.5, -19.03],
|
||||
"pivot": [-9, 146.5, -19.03],
|
||||
"cubes": [
|
||||
{"origin": [-16, 266, -19.01], "size": [14, 7, 0], "inflate": 0.02, "uv": [176, 77]}
|
||||
{"origin": [-16, 145, -19.01], "size": [14, 7, 0], "inflate": 0.02, "uv": [176, 77]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eye_left3",
|
||||
"parent": "head3",
|
||||
"pivot": [-3.97, 274.75, -17.53],
|
||||
"pivot": [-3.97, 153.75, -17.53],
|
||||
"cubes": [
|
||||
{"origin": [-7.45, 273.25, -19.01], "size": [5, 5, 0], "inflate": 0.02, "uv": [122, 94]}
|
||||
{"origin": [-7.45, 152.25, -19.01], "size": [5, 5, 0], "inflate": 0.02, "uv": [122, 94]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eyelid_left3",
|
||||
"parent": "eye_left3",
|
||||
"pivot": [-4.07, 274.75, -17.43],
|
||||
"pivot": [-4.07, 153.75, -17.43],
|
||||
"cubes": [
|
||||
{"origin": [-8.05, 273.25, -18.91], "size": [6, 5, 1], "inflate": 0.04, "uv": [100, 45]}
|
||||
{"origin": [-8.05, 152.25, -18.91], "size": [6, 5, 1], "inflate": 0.04, "uv": [100, 45]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eye_right3",
|
||||
"parent": "head3",
|
||||
"pivot": [-14.03, 274.75, -17.53],
|
||||
"pivot": [-14.03, 153.75, -17.53],
|
||||
"cubes": [
|
||||
{"origin": [-15.51, 273.25, -19.01], "size": [5, 5, 0], "inflate": 0.02, "uv": [122, 34]}
|
||||
{"origin": [-15.51, 152.25, -19.01], "size": [5, 5, 0], "inflate": 0.02, "uv": [122, 34]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eyelid_right3",
|
||||
"parent": "eye_right3",
|
||||
"pivot": [-13.91, 274.75, -17.41],
|
||||
"pivot": [-13.91, 153.75, -17.41],
|
||||
"cubes": [
|
||||
{"origin": [-15.91, 273.25, -18.91], "size": [6, 5, 1], "inflate": 0.04, "uv": [95, 9]}
|
||||
{"origin": [-15.91, 152.25, -18.91], "size": [6, 5, 1], "inflate": 0.04, "uv": [95, 9]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaves_inner",
|
||||
"parent": "upperHead",
|
||||
"pivot": [0, 278.5, -1.5],
|
||||
"pivot": [0, 157.5, -1.5],
|
||||
"rotation": [0, 180, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set11",
|
||||
"parent": "leaves_inner",
|
||||
"pivot": [0, 281.5, 0.5]
|
||||
"pivot": [0, 160.5, 0.5]
|
||||
},
|
||||
{
|
||||
"name": "leaf31",
|
||||
"parent": "leaf_set11",
|
||||
"pivot": [0, 281.5, -2.5],
|
||||
"pivot": [0, 160.5, -2.5],
|
||||
"rotation": [30, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -2.5], "size": [10, 16, 0], "uv": [207, 102]}
|
||||
{"origin": [-5, 161.5, -2.5], "size": [10, 16, 0], "uv": [207, 102]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf32",
|
||||
"parent": "leaf31",
|
||||
"pivot": [0, 298.5, -2.5],
|
||||
"pivot": [0, 177.5, -2.5],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -2.5], "size": [10, 25, 0], "uv": [155, 195]}
|
||||
{"origin": [-5, 177.5, -2.5], "size": [10, 25, 0], "uv": [155, 195]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf33",
|
||||
"parent": "leaf32",
|
||||
"pivot": [0, 323.5, -2.5],
|
||||
"pivot": [0, 202.5, -2.5],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -2.5], "size": [7, 16, 0], "uv": [0, 133]}
|
||||
{"origin": [-3.5, 202.5, -2.5], "size": [7, 16, 0], "uv": [0, 133]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set10",
|
||||
"parent": "leaves_inner",
|
||||
"pivot": [0, 281.5, -1.5],
|
||||
"pivot": [0, 160.5, -1.5],
|
||||
"rotation": [0, 144, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf28",
|
||||
"parent": "leaf_set10",
|
||||
"pivot": [0, 281.5, -2.5],
|
||||
"pivot": [0, 160.5, -2.5],
|
||||
"rotation": [22.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -2.5], "size": [10, 16, 0], "uv": [80, 114]}
|
||||
{"origin": [-5, 161.5, -2.5], "size": [10, 16, 0], "uv": [80, 114]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf29",
|
||||
"parent": "leaf28",
|
||||
"pivot": [0, 298.5, -2.5],
|
||||
"pivot": [0, 177.5, -2.5],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -2.5], "size": [10, 25, 0], "uv": [75, 0]}
|
||||
{"origin": [-5, 177.5, -2.5], "size": [10, 25, 0], "uv": [75, 0]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf30",
|
||||
"parent": "leaf29",
|
||||
"pivot": [0, 323.5, -2.5],
|
||||
"pivot": [0, 202.5, -2.5],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -2.5], "size": [7, 16, 0], "uv": [0, 52]}
|
||||
{"origin": [-3.5, 202.5, -2.5], "size": [7, 16, 0], "uv": [0, 52]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set12",
|
||||
"parent": "leaves_inner",
|
||||
"pivot": [0, 281.5, -1.5],
|
||||
"pivot": [0, 160.5, -1.5],
|
||||
"rotation": [0, -72, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf34",
|
||||
"parent": "leaf_set12",
|
||||
"pivot": [0, 281.5, -2.5],
|
||||
"pivot": [0, 160.5, -2.5],
|
||||
"rotation": [25, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -2.5], "size": [10, 16, 0], "uv": [156, 67]}
|
||||
{"origin": [-5, 161.5, -2.5], "size": [10, 16, 0], "uv": [156, 67]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf35",
|
||||
"parent": "leaf34",
|
||||
"pivot": [0, 298.5, -2.5],
|
||||
"pivot": [0, 177.5, -2.5],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -2.5], "size": [10, 25, 0], "uv": [193, 147]}
|
||||
{"origin": [-5, 177.5, -2.5], "size": [10, 25, 0], "uv": [193, 147]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf36",
|
||||
"parent": "leaf35",
|
||||
"pivot": [0, 323.5, -2.5],
|
||||
"pivot": [0, 202.5, -2.5],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -2.5], "size": [7, 16, 0], "uv": [108, 87]}
|
||||
{"origin": [-3.5, 202.5, -2.5], "size": [7, 16, 0], "uv": [108, 87]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set13",
|
||||
"parent": "leaves_inner",
|
||||
"pivot": [0, 281.5, -1.5],
|
||||
"pivot": [0, 160.5, -1.5],
|
||||
"rotation": [0, -144, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf37",
|
||||
"parent": "leaf_set13",
|
||||
"pivot": [0, 281.5, -2.5],
|
||||
"pivot": [0, 160.5, -2.5],
|
||||
"rotation": [22.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -2.5], "size": [10, 16, 0], "uv": [119, 154]}
|
||||
{"origin": [-5, 161.5, -2.5], "size": [10, 16, 0], "uv": [119, 154]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf38",
|
||||
"parent": "leaf37",
|
||||
"pivot": [0, 298.5, -2.5],
|
||||
"pivot": [0, 177.5, -2.5],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -2.5], "size": [10, 25, 0], "uv": [0, 185]}
|
||||
{"origin": [-5, 177.5, -2.5], "size": [10, 25, 0], "uv": [0, 185]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf39",
|
||||
"parent": "leaf38",
|
||||
"pivot": [0, 323.5, -2.5],
|
||||
"pivot": [0, 202.5, -2.5],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -2.5], "size": [7, 16, 0], "uv": [0, 95]}
|
||||
{"origin": [-3.5, 202.5, -2.5], "size": [7, 16, 0], "uv": [0, 95]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set9",
|
||||
"parent": "leaves_inner",
|
||||
"pivot": [0, 281.5, -1.5],
|
||||
"pivot": [0, 160.5, -1.5],
|
||||
"rotation": [0, 72, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf25",
|
||||
"parent": "leaf_set9",
|
||||
"pivot": [0, 281.5, -2.5],
|
||||
"pivot": [0, 160.5, -2.5],
|
||||
"rotation": [25, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -2.5], "size": [10, 16, 0], "uv": [0, 210]}
|
||||
{"origin": [-5, 161.5, -2.5], "size": [10, 16, 0], "uv": [0, 210]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf26",
|
||||
"parent": "leaf25",
|
||||
"pivot": [0, 298.5, -2.5],
|
||||
"pivot": [0, 177.5, -2.5],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -2.5], "size": [10, 25, 0], "uv": [196, 0]}
|
||||
{"origin": [-5, 177.5, -2.5], "size": [10, 25, 0], "uv": [196, 0]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf27",
|
||||
"parent": "leaf26",
|
||||
"pivot": [0, 323.5, -2.5],
|
||||
"pivot": [0, 202.5, -2.5],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -2.5], "size": [7, 16, 0], "uv": [156, 94]}
|
||||
{"origin": [-3.5, 202.5, -2.5], "size": [7, 16, 0], "uv": [156, 94]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaves_outer",
|
||||
"parent": "upperHead",
|
||||
"pivot": [0, 215.5, -4.5]
|
||||
"pivot": [0, 94.5, -4.5]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set",
|
||||
"parent": "leaves_outer",
|
||||
"pivot": [0, 281.5, 0]
|
||||
"pivot": [0, 160.5, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf",
|
||||
"parent": "leaf_set",
|
||||
"pivot": [0, 281.5, -6],
|
||||
"pivot": [0, 160.5, -6],
|
||||
"rotation": [22.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -6], "size": [10, 16, 0], "uv": [215, 205]}
|
||||
{"origin": [-5, 161.5, -6], "size": [10, 16, 0], "uv": [215, 205]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf2",
|
||||
"parent": "leaf",
|
||||
"pivot": [0, 298.5, -6],
|
||||
"pivot": [0, 177.5, -6],
|
||||
"rotation": [55, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -6], "size": [10, 25, 0], "uv": [207, 77]}
|
||||
{"origin": [-5, 177.5, -6], "size": [10, 25, 0], "uv": [207, 77]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf3",
|
||||
"parent": "leaf2",
|
||||
"pivot": [0, 323.5, -6],
|
||||
"pivot": [0, 202.5, -6],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -6], "size": [7, 16, 0], "uv": [0, 226]}
|
||||
{"origin": [-3.5, 202.5, -6], "size": [7, 16, 0], "uv": [0, 226]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set2",
|
||||
"parent": "leaves_outer",
|
||||
"pivot": [0, 281.5, 0],
|
||||
"pivot": [0, 160.5, 0],
|
||||
"rotation": [0, 45, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf4",
|
||||
"parent": "leaf_set2",
|
||||
"pivot": [0, 281.5, -6],
|
||||
"pivot": [0, 160.5, -6],
|
||||
"rotation": [30, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -6], "size": [10, 16, 0], "uv": [213, 166]}
|
||||
{"origin": [-5, 161.5, -6], "size": [10, 16, 0], "uv": [213, 166]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf5",
|
||||
"parent": "leaf4",
|
||||
"pivot": [0, 298.5, -6],
|
||||
"pivot": [0, 177.5, -6],
|
||||
"rotation": [55, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -6], "size": [10, 25, 0], "uv": [83, 206]}
|
||||
{"origin": [-5, 177.5, -6], "size": [10, 25, 0], "uv": [83, 206]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf6",
|
||||
"parent": "leaf5",
|
||||
"pivot": [0, 323.5, -6],
|
||||
"pivot": [0, 202.5, -6],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -6], "size": [7, 16, 0], "uv": [215, 221]}
|
||||
{"origin": [-3.5, 202.5, -6], "size": [7, 16, 0], "uv": [215, 221]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set3",
|
||||
"parent": "leaves_outer",
|
||||
"pivot": [0, 281.5, 0],
|
||||
"pivot": [0, 160.5, 0],
|
||||
"rotation": [0, 90, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf7",
|
||||
"parent": "leaf_set3",
|
||||
"pivot": [0, 281.5, -6],
|
||||
"pivot": [0, 160.5, -6],
|
||||
"rotation": [37.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -6], "size": [10, 16, 0], "uv": [40, 210]}
|
||||
{"origin": [-5, 161.5, -6], "size": [10, 16, 0], "uv": [40, 210]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf8",
|
||||
"parent": "leaf7",
|
||||
"pivot": [0, 298.5, -6],
|
||||
"pivot": [0, 177.5, -6],
|
||||
"rotation": [55, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -6], "size": [10, 25, 0], "uv": [63, 206]}
|
||||
{"origin": [-5, 177.5, -6], "size": [10, 25, 0], "uv": [63, 206]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf9",
|
||||
"parent": "leaf8",
|
||||
"pivot": [0, 323.5, -6],
|
||||
"pivot": [0, 202.5, -6],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -6], "size": [7, 16, 0], "uv": [157, 220]}
|
||||
{"origin": [-3.5, 202.5, -6], "size": [7, 16, 0], "uv": [157, 220]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set4",
|
||||
"parent": "leaves_outer",
|
||||
"pivot": [0, 281.5, 0],
|
||||
"pivot": [0, 160.5, 0],
|
||||
"rotation": [0, 135, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf10",
|
||||
"parent": "leaf_set4",
|
||||
"pivot": [0, 281.5, -6],
|
||||
"pivot": [0, 160.5, -6],
|
||||
"rotation": [35, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -6], "size": [10, 16, 0], "uv": [213, 150]}
|
||||
{"origin": [-5, 161.5, -6], "size": [10, 16, 0], "uv": [213, 150]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf11",
|
||||
"parent": "leaf10",
|
||||
"pivot": [0, 298.5, -6],
|
||||
"pivot": [0, 177.5, -6],
|
||||
"rotation": [55, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -6], "size": [10, 25, 0], "uv": [195, 205]}
|
||||
{"origin": [-5, 177.5, -6], "size": [10, 25, 0], "uv": [195, 205]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf12",
|
||||
"parent": "leaf11",
|
||||
"pivot": [0, 323.5, -6],
|
||||
"pivot": [0, 202.5, -6],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -6], "size": [7, 16, 0], "uv": [143, 220]}
|
||||
{"origin": [-3.5, 202.5, -6], "size": [7, 16, 0], "uv": [143, 220]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set5",
|
||||
"parent": "leaves_outer",
|
||||
"pivot": [0, 281.5, 0],
|
||||
"pivot": [0, 160.5, 0],
|
||||
"rotation": [0, 180, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf13",
|
||||
"parent": "leaf_set5",
|
||||
"pivot": [0, 281.5, -6],
|
||||
"pivot": [0, 160.5, -6],
|
||||
"rotation": [40, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -6], "size": [10, 16, 0], "uv": [213, 134]}
|
||||
{"origin": [-5, 161.5, -6], "size": [10, 16, 0], "uv": [213, 134]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf14",
|
||||
"parent": "leaf13",
|
||||
"pivot": [0, 298.5, -6],
|
||||
"pivot": [0, 177.5, -6],
|
||||
"rotation": [55, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -6], "size": [10, 25, 0], "uv": [175, 205]}
|
||||
{"origin": [-5, 177.5, -6], "size": [10, 25, 0], "uv": [175, 205]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf15",
|
||||
"parent": "leaf14",
|
||||
"pivot": [0, 323.5, -6],
|
||||
"pivot": [0, 202.5, -6],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -6], "size": [7, 16, 0], "uv": [220, 41]}
|
||||
{"origin": [-3.5, 202.5, -6], "size": [7, 16, 0], "uv": [220, 41]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set6",
|
||||
"parent": "leaves_outer",
|
||||
"pivot": [0, 281.5, 0],
|
||||
"pivot": [0, 160.5, 0],
|
||||
"rotation": [0, -135, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf16",
|
||||
"parent": "leaf_set6",
|
||||
"pivot": [0, 281.5, -6],
|
||||
"pivot": [0, 160.5, -6],
|
||||
"rotation": [35, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -6], "size": [10, 16, 0], "uv": [211, 118]}
|
||||
{"origin": [-5, 161.5, -6], "size": [10, 16, 0], "uv": [211, 118]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf17",
|
||||
"parent": "leaf16",
|
||||
"pivot": [0, 298.5, -6],
|
||||
"pivot": [0, 177.5, -6],
|
||||
"rotation": [55, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -6], "size": [10, 25, 0], "uv": [123, 204]}
|
||||
{"origin": [-5, 177.5, -6], "size": [10, 25, 0], "uv": [123, 204]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf18",
|
||||
"parent": "leaf17",
|
||||
"pivot": [0, 323.5, -6],
|
||||
"pivot": [0, 202.5, -6],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -6], "size": [7, 16, 0], "uv": [216, 7]}
|
||||
{"origin": [-3.5, 202.5, -6], "size": [7, 16, 0], "uv": [216, 7]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set7",
|
||||
"parent": "leaves_outer",
|
||||
"pivot": [0, 281.5, 0],
|
||||
"pivot": [0, 160.5, 0],
|
||||
"rotation": [0, -90, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf19",
|
||||
"parent": "leaf_set7",
|
||||
"pivot": [0, 281.5, -6],
|
||||
"pivot": [0, 160.5, -6],
|
||||
"rotation": [37.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -6], "size": [10, 16, 0], "uv": [210, 25]}
|
||||
{"origin": [-5, 161.5, -6], "size": [10, 16, 0], "uv": [210, 25]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf20",
|
||||
"parent": "leaf19",
|
||||
"pivot": [0, 298.5, -6],
|
||||
"pivot": [0, 177.5, -6],
|
||||
"rotation": [55, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -6], "size": [10, 25, 0], "uv": [0, 0]}
|
||||
{"origin": [-5, 177.5, -6], "size": [10, 25, 0], "uv": [0, 0]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf21",
|
||||
"parent": "leaf20",
|
||||
"pivot": [0, 323.5, -6],
|
||||
"pivot": [0, 202.5, -6],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -6], "size": [7, 16, 0], "uv": [103, 185]}
|
||||
{"origin": [-3.5, 202.5, -6], "size": [7, 16, 0], "uv": [103, 185]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf_set8",
|
||||
"parent": "leaves_outer",
|
||||
"pivot": [0, 281.5, 0],
|
||||
"pivot": [0, 160.5, 0],
|
||||
"rotation": [0, -45, 0]
|
||||
},
|
||||
{
|
||||
"name": "leaf22",
|
||||
"parent": "leaf_set8",
|
||||
"pivot": [0, 281.5, -6],
|
||||
"pivot": [0, 160.5, -6],
|
||||
"rotation": [30, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 282.5, -6], "size": [10, 16, 0], "uv": [20, 210]}
|
||||
{"origin": [-5, 161.5, -6], "size": [10, 16, 0], "uv": [20, 210]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf23",
|
||||
"parent": "leaf22",
|
||||
"pivot": [0, 298.5, -6],
|
||||
"pivot": [0, 177.5, -6],
|
||||
"rotation": [55, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-5, 298.5, -6], "size": [10, 25, 0], "uv": [103, 204]}
|
||||
{"origin": [-5, 177.5, -6], "size": [10, 25, 0], "uv": [103, 204]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "leaf24",
|
||||
"parent": "leaf23",
|
||||
"pivot": [0, 323.5, -6],
|
||||
"pivot": [0, 202.5, -6],
|
||||
"rotation": [42.5, 0, 0],
|
||||
"cubes": [
|
||||
{"origin": [-3.5, 323.5, -6], "size": [7, 16, 0], "uv": [175, 147]}
|
||||
{"origin": [-3.5, 202.5, -6], "size": [7, 16, 0], "uv": [175, 147]}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -58,7 +58,9 @@
|
||||
"isTouchingWater": false,
|
||||
"animations": ["q.look('head_ai')", "q.bedrock('charizard', 'ground_idle')"],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('charizard', 'blink')"
|
||||
"q.bedrock_quirk('charizard', 'blink')",
|
||||
"q.bedrock_quirk('charizard', 'ground_quirk')",
|
||||
"q.bedrock_primary_quirk('charizard', 'idle_quirk', 20, 40, 1, q.curve('symmetrical'))"
|
||||
]
|
||||
},
|
||||
"walking": {
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"namedAnimations": {
|
||||
"cry": "q.bedrock_stateful('dummy', 'cry')"
|
||||
},
|
||||
"animations": ["q.bedrock('golem', math.random(0, 1) < 0.4 ? 'wild_sleep3' : 'wild_sleep2' : 'wild_sleep1')"]
|
||||
"animations": ["q.bedrock('golem', math.random(0, 1) < 0.4 ? 'wild_sleep3' : (math.random(0, 1) < 0.5 ? 'wild_sleep2' : 'wild_sleep1'))"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -49,7 +49,7 @@
|
||||
"namedAnimations": {
|
||||
"cry": "q.bedrock_stateful('dummy', 'cry')"
|
||||
},
|
||||
"animations": ["q.bedrock('golem_alolan', math.random(0, 1) < 0.4 ? 'wild_sleep3' : 'wild_sleep2' : 'wild_sleep1')"]
|
||||
"animations": ["q.bedrock('golem_alolan', math.random() < 0.4 ? 'wild_sleep3' : (math.random() < 0.5 ? 'wild_sleep2' : 'wild_sleep1'))"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"portraitScale": 0.86,
|
||||
"portraitTranslation": [-0.89, 7.81, 0],
|
||||
"profileScale": 0.45,
|
||||
"profileTranslation": [0, 1, -30],
|
||||
"rootBone": "exeggutor_alolan",
|
||||
"animations": {
|
||||
"cry": "q.bedrock_stateful('exeggutor_alolan', 'cry')"
|
||||
},
|
||||
"poses": {
|
||||
"battle-standing": {
|
||||
"poseTypes": ["STAND"],
|
||||
"isBattle": true,
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.look('head2')",
|
||||
"q.look('head3')",
|
||||
"q.bedrock('exeggutor_alolan', 'battle_idle')"
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink')",
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink2')",
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink3')",
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink4')"
|
||||
]
|
||||
},
|
||||
"standing": {
|
||||
"poseTypes": ["STAND", "NONE", "PROFILE", "PORTRAIT", "FLOAT"],
|
||||
"isBattle": false,
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.look('head2')",
|
||||
"q.look('head3')",
|
||||
"q.bedrock('exeggutor_alolan', 'ground_idle')"
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink')",
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink2')",
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink3')",
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink4')"
|
||||
]
|
||||
},
|
||||
"walking": {
|
||||
"poseTypes": ["WALK", "SWIM"],
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.look('head2')",
|
||||
"q.look('head3')",
|
||||
"q.bedrock('exeggutor_alolan', 'ground_walk')"
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink')",
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink2')",
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink3')",
|
||||
"q.bedrock_quirk('exeggutor_alolan', 'blink4')"
|
||||
]
|
||||
},
|
||||
"sleep": {
|
||||
"poseTypes": ["SLEEP"],
|
||||
"animations": [
|
||||
"q.bedrock('exeggutor_alolan', 'sleep')"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,12 @@
|
||||
},
|
||||
"walking": {
|
||||
"poseTypes": ["WALK"],
|
||||
"animations": ["q.bedrock('corphish', 'ground_idle')"]
|
||||
"animations": [
|
||||
"q.bedrock('corphish', 'ground_idle')",
|
||||
"q.biped_walk(0.66, 0.6, 'leg_left_back', 'leg_right_back')",
|
||||
"q.quadruped_walk(0.66, 0.6, 'leg_left_front', 'leg_right_front', 'leg_left_middle', 'leg_right_middle')",
|
||||
"q.bimanual_swing(0.33, 0.3, 'arm_left', 'arm_right')"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,11 @@
|
||||
},
|
||||
"walking": {
|
||||
"poseTypes": ["WALK"],
|
||||
"animations": ["q.bedrock('crawdaunt', 'ground_idle')"]
|
||||
"animations": [
|
||||
"q.bedrock('crawdaunt', 'ground_idle')",
|
||||
"q.biped_walk(0.66, 0.6, 'leg_left', 'leg_right')",
|
||||
"q.bimanual_swing(0.33, 0.3, 'shoulder_left', 'shoulder_right')"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,13 +10,17 @@
|
||||
"poses": {
|
||||
"standing": {
|
||||
"poseTypes": ["STAND", "FLOAT", "NONE", "PORTRAIT", "PROFILE"],
|
||||
"animations": ["q.bedrock('riolu', 'ground_idle')"],
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.bedrock('riolu', 'ground_idle')"
|
||||
],
|
||||
"quirks": ["q.bedrock_quirk('riolu', 'blink')"]
|
||||
},
|
||||
"walking": {
|
||||
"poseTypes": ["WALK", "SWIM"],
|
||||
"isBattle": false,
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.biped_walk(0.66, 0.6, 'leg_left', 'leg_right')",
|
||||
"q.bimanual_swing(0.66, 0.6, 'arm_left', 'arm_right')",
|
||||
"q.bedrock('riolu', 'ground_idle')"
|
||||
|
||||
@@ -11,19 +11,26 @@
|
||||
"battle-standing": {
|
||||
"poseTypes": ["STAND"],
|
||||
"isBattle": true,
|
||||
"animations": ["q.bedrock('lucario', 'battle_idle')"],
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.bedrock('lucario', 'battle_idle')"
|
||||
],
|
||||
"quirks": ["q.bedrock_quirk('lucario', 'blink')"]
|
||||
},
|
||||
"standing": {
|
||||
"poseTypes": ["STAND", "FLOAT", "NONE", "PORTRAIT", "PROFILE"],
|
||||
"isBattle": false,
|
||||
"animations": ["q.bedrock('lucario', 'ground_idle')"],
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.bedrock('lucario', 'ground_idle')"
|
||||
],
|
||||
"quirks": ["q.bedrock_quirk('lucario', 'blink')"]
|
||||
},
|
||||
"walking": {
|
||||
"poseTypes": ["WALK", "SWIM"],
|
||||
"isBattle": false,
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.biped_walk(0.66, 0.6, 'leg_left', 'leg_right')",
|
||||
"q.bimanual_swing(0.66, 0.6, 'arm_left', 'arm_right')",
|
||||
"q.bedrock('lucario', 'ground_idle')"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('krokorok', 'blink')",
|
||||
"q.bedrock_quirk('krokorok', 'look_quirk')"
|
||||
"q.bedrock_quirk('krokorok', 'look_quirk',20, 60, 1)"
|
||||
]
|
||||
},
|
||||
"battle-standing": {
|
||||
@@ -40,7 +40,7 @@
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('krokorok', 'blink')",
|
||||
"q.bedrock_quirk('krokorok', 'look_quirk')"
|
||||
"q.bedrock_quirk('krokorok', 'look_quirk',20, 60, 1)"
|
||||
]
|
||||
},
|
||||
"sand-battle-standing": {
|
||||
@@ -71,7 +71,7 @@
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('krokorok', 'blink')",
|
||||
"q.bedrock_quirk('krokorok', 'look_quirk')"
|
||||
"q.bedrock_quirk('krokorok', 'look_quirk',20, 60, 1)"
|
||||
]
|
||||
},
|
||||
"sand-standing": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('krookodile', 'blink')",
|
||||
"q.bedrock_quirk('krookodile', 'look_quirk')",
|
||||
"q.bedrock_quirk('krookodile', 'look_quirk',20, 60, 1)",
|
||||
"q.bedrock_quirk('krookodile', 'shake_quirk')"
|
||||
]
|
||||
},
|
||||
@@ -40,7 +40,7 @@
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('krookodile', 'blink')",
|
||||
"q.bedrock_quirk('krookodile', 'look_quirk')",
|
||||
"q.bedrock_quirk('krookodile', 'look_quirk',20, 60, 1)",
|
||||
"q.bedrock_quirk('krookodile', 'shake_quirk')"
|
||||
]
|
||||
},
|
||||
@@ -59,7 +59,7 @@
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('krookodile', 'blink')",
|
||||
"q.bedrock_quirk('krookodile', 'sand_look_quirk')"
|
||||
"q.bedrock_quirk('krookodile', 'sand_look_quirk',20, 60, 1)"
|
||||
]
|
||||
},
|
||||
"standing": {
|
||||
@@ -73,7 +73,7 @@
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('krookodile', 'blink')",
|
||||
"q.bedrock_quirk('krookodile', 'look_quirk')",
|
||||
"q.bedrock_quirk('krookodile', 'look_quirk',20, 60, 1)",
|
||||
"q.bedrock_quirk('krookodile', 'shake_quirk')"
|
||||
]
|
||||
},
|
||||
@@ -90,7 +90,7 @@
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('krookodile', 'blink')",
|
||||
"q.bedrock_quirk('krookodile', 'sand_look_quirk')"
|
||||
"q.bedrock_quirk('krookodile', 'sand_look_quirk',20, 60, 1)"
|
||||
]
|
||||
},
|
||||
"walking": {
|
||||
|
||||
@@ -1091,7 +1091,7 @@
|
||||
"cobblemon.ui.pokedex.info.form.squawkabilly-color-green": "Green",
|
||||
"cobblemon.ui.pokedex.info.form.squawkabilly-color-yellow": "Yellow",
|
||||
"cobblemon.ui.pokedex.info.form.maushold-family-four": "Family",
|
||||
"cobblemon.ui.pokedex.info.form.no_ice": "No Ice",
|
||||
"cobblemon.ui.pokedex.info.form.noice-face": "Noice",
|
||||
|
||||
"cobblemon.ui.pokedex.info.form.color-light_gray": "Light Gray",
|
||||
"cobblemon.ui.pokedex.info.form.color-gray": "Gray",
|
||||
@@ -6061,7 +6061,7 @@
|
||||
"cobblemon.species.stonjourner.desc": "Once a year, on a specific date and at a specific time, they gather out of nowhere and form up in a circle.",
|
||||
"cobblemon.species.eiscue.name": "Eiscue",
|
||||
"cobblemon.species.eiscue.desc": "Eiscue live in coastal, frozen seas, making their nests on glaciers and sliding playfully along the ice. The single hair on their heads radiate an intense cold, freezing the seawater around them into a protective block of ice. Although this helmet is heavy, it is very buoyant, allowing Eiscue to travel long distances by simply floating on the current.",
|
||||
"cobblemon.species.eiscue-noice.desc": "When subject to a particularly forceful blow, the ice blocks that cover an Eiscue's head shatters completely, leaving their small heads exposed. Although they usually tend to avoid this shattering, there are cases where they are seen causing it intentionally. Because they are much quicker without their block, they oftentimes shatter it before diving for their prey.",
|
||||
"cobblemon.species.eiscue-noiceface.desc": "When subject to a particularly forceful blow, the ice blocks that cover an Eiscue's head shatters completely, leaving their small heads exposed. Although they usually tend to avoid this shattering, there are cases where they are seen causing it intentionally. Because they are much quicker without their block, they oftentimes shatter it before diving for their prey.",
|
||||
"cobblemon.species.indeedee.name": "Indeedee",
|
||||
"cobblemon.species.indeedee.desc": "Through its horns, it can pick up on the emotions of creatures around it. Positive emotions are the source of its strength.",
|
||||
"cobblemon.species.morpeko.name": "Morpeko",
|
||||
|
||||
@@ -5483,7 +5483,7 @@
|
||||
"item.cobblemon.poke_rod": "Poké Caña",
|
||||
"item.cobblemon.pokerod_smithing_template": "Molde de herrería",
|
||||
"item.cobblemon.smithing_template.pokerod.base_slot_description": "Añadir caña de pescar",
|
||||
"upgrade.cobblemon.pokerod": "Mejora de Poke Caña",
|
||||
"upgrade.cobblemon.pokerod": "Mejora de Poké Caña",
|
||||
"cobblemon.pokerod.bobber": "Corcho: %1$s",
|
||||
"cobblemon.pokerod.bait": "Cebo: %1$s x%2$s",
|
||||
"item.cobblemon.pokedex_green": "Pokédex",
|
||||
@@ -6341,5 +6341,57 @@
|
||||
"cobblemon.pokedex.variation.wood": "Madera",
|
||||
"cobblemon.pokedex.variation.variant": "Variante",
|
||||
"cobblemon.pokedex.variation.size": "Tamaño",
|
||||
"cobblemon.pokedex.variation.snake_pattern": "Patrón de serpiente"
|
||||
"cobblemon.pokedex.variation.snake_pattern": "Patrón de serpiente",
|
||||
"cobblemon.subtitle.pokemon.wild_shiny_shine": "¡Un Pokémon salvaje variocolor brilla!",
|
||||
"cobblemon.subtitle.pokemon.owned_shiny_ambient": "Un Pokémon variocolor tintinea",
|
||||
"cobblemon.subtitle.pokemon.shiny_shine": "Un Pokémon variocolor brilla",
|
||||
"cobblemon.subtitle.pokemon.shiny_ambient": "¡Un Pokémon salvaje variocolor tintinea!",
|
||||
"cobblemon.battle.clearboost": "¡Las características de %1$s han vuelto a sus valores originales!",
|
||||
"cobblemon.challenge.multi.invite": "Invitar",
|
||||
"cobblemon.pokedex.variation.pattern": "Patrón",
|
||||
"cobblemon.pokedex.variation.metal": "Metal",
|
||||
"cobblemon.battle.crit_spread": "¡Un golpe crítico a %1$s!",
|
||||
"cobblemon.battle.superEffective_spread": "¡Es supereficaz contra %1$s!",
|
||||
"cobblemon.battle.resisted_spread": "No es muy eficaz contra %1$s.",
|
||||
"cobblemon.challenge.multi.decline.disband": "Combate múltiple cancelado, se ha disuelto el equipo rival...",
|
||||
"cobblemon.challenge.multi.decline.sender": "%1$s ha rechazado el combate múltiple de %2$s...",
|
||||
"cobblemon.command.error.nonpc": "Error: Debes incluir un identificador de NPC válido.",
|
||||
"advancements.cobblemon.use_bait": "¡Baya buen cebo!",
|
||||
"advancements.cobblemon.craft_rod": "A pescar",
|
||||
"advancements.cobblemon.craft_rod.description": "Fabrica una Poké Caña usando una mejora de Poké Caña",
|
||||
"advancements.cobblemon.use_bait.description": "Usa una baya como cebo en tu Poké Caña",
|
||||
"advancements.cobblemon.craft_master_rod.description": "Fabrica una Poké Caña usando una Master Ball",
|
||||
"advancements.cobblemon.craft_master_rod": "Dedicación magistral",
|
||||
"cobblemon.battle.shift": "%1$s se movió al centro",
|
||||
"cobblemon.challenge.pending": "¡Aún no has respondido al desafío de %1$s!",
|
||||
"cobblemon.challenge.multi.team_request.receiver": "¡%1$s ha solicitado hacer equipo contigo para combates múltiples!",
|
||||
"cobblemon.challenge.multi.team_request.decline.receiver": "¡%1$s ha rechazado tu solicitud para hacer equipo!",
|
||||
"cobblemon.challenge.multi.leave": "Abandonar",
|
||||
"cobblemon.challenge.request_team_join_title": "Unirse al equipo",
|
||||
"cobblemon.challenge.multi.sender": "¡Has desafiado a %1$s (del equipo de %2$s) a un combate múltiple!",
|
||||
"cobblemon.challenge.multi.decline.receiver": "%1$s ha rechazado el combate múltiple...",
|
||||
"cobblemon.command.freezepokemon.non_pokemon": "No estás mirando hacia ningún Pokémon.",
|
||||
"itemGroup.cobblemon.utility_item": "Objetos Útiles",
|
||||
"cobblemon.pokedex.variation.region_bias": "Forma regional",
|
||||
"cobblemon.pokedex.variation.breed": "Variedad",
|
||||
"cobblemon.challenge.challenge": "Desafiar",
|
||||
"cobblemon.challenge.request_battle_title": "Petición de combate",
|
||||
"cobblemon.challenge.rule.level": "Todos al nivel %1$s",
|
||||
"cobblemon.challenge.rule.anything_goes": "Todo vale",
|
||||
"cobblemon.challenge.multi.team_request.sender": "¡Has solicitado a %1$s hacer equipo para combates múltiples!",
|
||||
"cobblemon.challenge.request_team_leave_title": "Abandonar el equipo",
|
||||
"cobblemon.challenge.multi.team_request.accept.sender": "¡Has aceptado la solicitud de %1$s para hacer equipo!",
|
||||
"cobblemon.challenge.multi.team_request.accept.receiver": "¡%1$s ha aceptado tu solicitud para hacer equipo!",
|
||||
"cobblemon.challenge.multi.team_request.decline.sender": "¡Has rechazado la solicitud de %1$s para hacer equipo!",
|
||||
"cobblemon.challenge.multi.team_remove.receiver": "¡%1$s abandonó el equipo!",
|
||||
"cobblemon.challenge.multi.team_remove.sender": "¡Has abandonado el equipo!",
|
||||
"cobblemon.challenge.multi.team_disband": "El equipo se ha disuelto.",
|
||||
"cobblemon.challenge.multi.team_reject.existing_team": "¡Ya formas parte de un equipo!",
|
||||
"cobblemon.challenge.multi.team_reject.max_team_size": "No puedes unirte al equipo, ya está completo",
|
||||
"cobblemon.challenge.multi.receiver": "¡%1$s (del equipo de %2$s) te desafía a un combate múltiple!",
|
||||
"cobblemon.challenge.multi.decline.sender.personal": "Has rechazado el combate múltiple de %1$s...",
|
||||
"cobblemon.challenge.decline.sender": "Has rechazado combatir con %1$s...",
|
||||
"cobblemon.challenge.decline.receiver": "%1$s ha rechazado combatir contigo...",
|
||||
"cobblemon.battle.center": "¡Al centro automáticamente!",
|
||||
"npc.sacchi.name": "Profesora Sacchi"
|
||||
}
|
||||
@@ -2717,5 +2717,126 @@
|
||||
"cobblemon.species.starly.name": "Starly",
|
||||
"cobblemon.species.staravia.name": "Staravia",
|
||||
"cobblemon.species.staravia.desc": "Formam revoadas surpreendentemente grandes e constantemente brigam entre si. Suspeito que aqueles com plumas magníficas em suas cabeças são os mais fortes.",
|
||||
"cobblemon.species.staraptor.name": "Staraptor"
|
||||
"cobblemon.species.staraptor.name": "Staraptor",
|
||||
"cobblemon.species.roserade.desc": "Nos buquês de suas mãos estão escondidos chicotes farpados carregados de veneno. Roserade se move graciosamente enquanto encurrala suas presas e as ataca sem dó com seus chicotes.",
|
||||
"cobblemon.species.bastiodon.desc": "Seu rosto é resistente — tal qual um diamante — e sua dureza fornece grande proteção. Pouco se sabe sobre essa espécie e seu habitat natural.",
|
||||
"cobblemon.species.staraptor.desc": "Deixou o seu bando depois que ganhou força o suficiente para sobreviver sozinho. A força impressionante com a qual Staraptor voa permite com que ele carregue presas grandes e pesadas.",
|
||||
"cobblemon.species.bidoof.name": "Bidoof",
|
||||
"cobblemon.species.bibarel.name": "Bibarel",
|
||||
"cobblemon.species.kricketot.desc": "Quando as árvores mudam de cor, mais desses Pokémon aparecem. O som que eles criam ao chocar suas antenas se assemelham à uma marimba, um instrumento de terras estrangeiras.",
|
||||
"cobblemon.species.kricketune.name": "Kricketune",
|
||||
"cobblemon.species.kricketune.desc": "Usa seus braços em forma de espada para produzir sons cuja melodia pode variar de indivíduo para indivíduo. Buscar por sua música favorita é uma missão pessoal deles.",
|
||||
"cobblemon.species.shinx.name": "Shinx",
|
||||
"cobblemon.species.shinx.desc": "Balança o corpo para gerar eletricidade. Seu tamanho contrapõe sua agressividade — é necessário paciência para domar esse Pokémon.",
|
||||
"cobblemon.species.luxio.name": "Luxio",
|
||||
"cobblemon.species.luxio.desc": "Tem orgulho em usar suas garras eletrificadas como armas. Parece ser um Pokémon benevolente, compartilhando os espólios de sua caçada com outros da sua espécie.",
|
||||
"cobblemon.species.luxray.name": "Luxray",
|
||||
"cobblemon.species.luxray.desc": "Formam matilhas, cada uma tendo um macho como líder. Lendas dizem que, quando os olhos de Luxray reluzem como o ouro, esse Pokémon pode ver através de qualquer coisa.",
|
||||
"cobblemon.species.budew.name": "Budew",
|
||||
"cobblemon.species.budew.desc": "Quando a luz do sol se intensifica, o botão no topo da cabeça desse Pokémon se abre. Isso costuma ser um sinal para as pessoas de que o inverno rigoroso acabou e a temporada das flores começou.",
|
||||
"cobblemon.species.roserade.name": "Roserade",
|
||||
"cobblemon.species.cranidos.name": "Cranidos",
|
||||
"cobblemon.species.cranidos.desc": "Muito raro de se ver. Cranidos duelam entre si ao chocarem suas cabeças uma nas outras e o som que resulta disso ecoa pela área como o badalar de um sino.",
|
||||
"cobblemon.species.rampardos.name": "Rampardos",
|
||||
"cobblemon.species.rampardos.desc": "Se sabe pouco de sua biologia. Pode derrubar árvores imensas ao golpeá-las com sua cabeça polida.",
|
||||
"cobblemon.species.shieldon.name": "Shieldon",
|
||||
"cobblemon.species.shieldon.desc": "Muito sobre esse Pokémon ainda é um mistério, já que poucos o viram. Entretanto, sabemos que é calmo e não gosta de conflito, e também adora polir seu rosto usando árvores e rochas.",
|
||||
"cobblemon.species.bastiodon.name": "Bastiodon",
|
||||
"cobblemon.species.bidoof.desc": "Bidoof tem um rosto genuíno e raramente se espanta com alguma coisa. Há registros de incidentes onde estes Pokémon entram em uma vila e roem suas casas sem se importar nem um pouco.",
|
||||
"cobblemon.species.bibarel.desc": "O pelo de Bibarel repele água e é um material perfeito para reter calor. Esses Pokémon moram nas barragens que criam.",
|
||||
"cobblemon.species.kricketot.name": "Kricketot",
|
||||
"cobblemon.species.ambipom.desc": "Para reforçar sua afinidade, membros dessa espécie formam um círculo conectando suas recém adquiridas caudas duplas. Em raras ocasiões, humanos foram aceitos nesses círculos.",
|
||||
"cobblemon.species.buneary.desc": "Minha hipótese sobre o porquê de Buneary enrolar suas orelhas é por sua audição ser boa demais. Eu concluo que o Pokémon protege sua audição limitando os sons que podem entrar em suas orelhas.",
|
||||
"cobblemon.species.stunky.name": "Stunky",
|
||||
"cobblemon.species.bronzor.desc": "Flutua usando uma energia misteriosa. O padrão em suas costas é considerado sagrado e pode ser encontrado em retratações de antigos cemitérios e outros lugares desgastados pelo tempo.",
|
||||
"cobblemon.species.mimejr.desc": "Vez ou outra aparece em mercados movimentados. Imita as pessoas tal qual uma criança faria e então observa suas reações com olhos reluzentes.",
|
||||
"cobblemon.species.vespiquen.desc": "Ordena seus súditos a construir sua colmeia. Vespiqueen enfrentará qualquer intruso que tente se infiltrar e se alimentar do néctar da colmeia.",
|
||||
"cobblemon.species.floatzel.desc": "Tem uma longa e esbelta boia que protege Floatzel de se afogar mesmo em mares tempestuosos. É comum encontrar essa espécie nas redondezas de vilarejos pesqueiros de tempos em tempos.",
|
||||
"cobblemon.species.lopunny.desc": "Seu pelo é quente e inesperadamente leve. Esse Pokémon dá chutes como se fosse um mestre do caratê, afastando oponentes com facilidade.",
|
||||
"cobblemon.species.mothim.desc": "Dispersa escamas reluzentes enquanto bate suas asas. Apesar de se alimentar principalmente de néctar de flores, Mothim dificilmente é visto em jardins floridos.",
|
||||
"cobblemon.species.cherrim.desc": "É imóvel, salvo esporádicos tremores. É possível encontra uma grande gama de Pokémon reunidas ao seu redor, atraída pelo odor produzido pelas pétalas dobradas de Cherrim.",
|
||||
"cobblemon.species.honchkrow.desc": "Um grito desse Pokémon e um bando de Murkrow virão voando. Nesses momentos, parece que a mortalha da noite caiu e lançou o mundo em uma escuridão eterna.",
|
||||
"cobblemon.species.chingling.desc": "Esse Pokémon me causou uma dor de cabeça insuportável quando fez menção de gritar, mas não houve som algum. Talvez haja alguns sons que o ouvido humano é incapaz de ouvir.",
|
||||
"cobblemon.species.gible.name": "Gible",
|
||||
"cobblemon.species.riolu.desc": "Apesar de parecer infantil, tem a misteriosa habilidade de ler a mente de humanos. Aqueles puros de coração recebem a aprovação de Riolu, enquanto aqueles com más intenções recebem apenas seu ódio.",
|
||||
"cobblemon.species.spiritomb.desc": "Roga maldições ao ter pensamentos perversos. Registros contam que esse Pokémon nasceu da reunião de cento e oito espíritos malignos.",
|
||||
"cobblemon.species.gible.desc": "Se abriga em cavernas intocadas pela luz do sol. Seus dentes afiados podem cair quando estão gastos ou após um impacto, mas eles crescem novamente dentro de alguns dias.",
|
||||
"cobblemon.species.garchomp.desc": "Voa pelos céus em velocidades ofuscantes — uma cena incrível! Tem um comportamento feral. É necessário cuidado máximo ao encontrar Garchomp na natureza.",
|
||||
"cobblemon.species.hippowdon.desc": "Se irritam facilmente e atacam sem o menor aviso. Ergue vendavais de areia e esmaga a moral de seus inimigos, e só então avança.",
|
||||
"cobblemon.species.croagunk.desc": "Um ser venenoso de personalidade covarde. Apesar dessas características, essa espécie é popular por conta de seu som peculiar e traços cômicos.",
|
||||
"cobblemon.species.finneon.desc": "Que linda cena é esse Pokémon nadando com suas nadadeiras rosas. A linda aparência de Finneon o rendeu o apelido: \"peixe elegância.\"",
|
||||
"cobblemon.species.mantyke.desc": "Apesar de redondo, esse Pokémon é um ótimo nadador. Eu descobri que se Mantyke passa tempo demais com cardumes de Remoraid, eventualmente consegue evoluir.",
|
||||
"cobblemon.species.burmy.name": "Burmy",
|
||||
"cobblemon.species.burmy.desc": "Se seu manto for minimamente danificado, Burmy imediatamente o repara com o que estiver por perto. O Pokémon dentro do manto é magro e vulnerável ao frio.",
|
||||
"cobblemon.species.wormadam.name": "Wormadam",
|
||||
"cobblemon.species.wormadam.desc": "Quando Burmy evoluiu, seu manto se tornou parte do corpo desse Pokémon. O manto nunca se desfaz.",
|
||||
"cobblemon.species.mothim.name": "Mothim",
|
||||
"cobblemon.species.combee.name": "Combee",
|
||||
"cobblemon.species.combee.desc": "Juram lealdade à sua Pokémon rainha e trabalham assiduamente para coletar néctar. Cada enxame produz um mel de sabor diferente.",
|
||||
"cobblemon.species.vespiquen.name": "Vespiquen",
|
||||
"cobblemon.species.pachirisu.name": "Pachirisu",
|
||||
"cobblemon.species.pachirisu.desc": "Uma espécie conectada à linha evolutiva de Pikachu. Apesar de Pachirisu ser um Pokémon calmo, ainda representa perigo caso alguém toque sua cauda ou bochechas eletrificadas.",
|
||||
"cobblemon.species.buizel.name": "Buizel",
|
||||
"cobblemon.species.buizel.desc": "Move-se livremente pela água usando sua cauda dupla como impulso. A semelhança com o propulsor de um barco à vapor é coincidência.",
|
||||
"cobblemon.species.floatzel.name": "Floatzel",
|
||||
"cobblemon.species.cherubi.name": "Cherubi",
|
||||
"cobblemon.species.cherubi.desc": "Quando a fruta que cresce ao lado de seu corpo estiver grande e suculenta, Cherubi usa os seus nutrientes para evoluir. A fruta então se desprende e serve de alimento para outras criaturas.",
|
||||
"cobblemon.species.cherrim.name": "Cherrim",
|
||||
"cobblemon.species.shellos.name": "Shellos",
|
||||
"cobblemon.species.shellos.desc": "Encontrado facilmente em praias de mares quentes. Shellos são surpreendentemente amigáveis e rastejarão em direção a qualquer pessoa que veem. Cuidado para não acabar coberto de muco!",
|
||||
"cobblemon.species.gastrodon.name": "Gastrodon",
|
||||
"cobblemon.species.gastrodon.desc": "Come areia da praia par sobreviver. Se Gastrodon encontrar outro de uma cor diferente, uma batalha feroz há de acontecer.",
|
||||
"cobblemon.species.ambipom.name": "Ambipom",
|
||||
"cobblemon.species.drifloon.name": "Drifloon",
|
||||
"cobblemon.species.drifloon.desc": "Conhecido por atrair crianças e levá-las para o além. Alguns acreditam que Drifloon são criados a partir de almas humanas, mas esses rumores ainda não foram confirmados.",
|
||||
"cobblemon.species.drifblim.name": "Drifblim",
|
||||
"cobblemon.species.drifblim.desc": "Flutua pela escuridão, perfeitamente silencioso. Seu aspecto efêmero e melancólico toca alguns profundamente — de vez em quando algumas pessoas escrevem uma canção ou um poema dedicado à Drifblim.",
|
||||
"cobblemon.species.buneary.name": "Buneary",
|
||||
"cobblemon.species.lopunny.name": "Lopunny",
|
||||
"cobblemon.species.mismagius.name": "Mismagius",
|
||||
"cobblemon.species.mismagius.desc": "A magia dos cânticos de Mismagius protegem do azar, então as pessoas adquiriram o costume de convidar este Pokémon a entrar em seus lares. Porém, caso o Pokémon se aborreça, é seguro afirmar que um desastre está por vir.",
|
||||
"cobblemon.species.honchkrow.name": "Honchkrow",
|
||||
"cobblemon.species.glameow.name": "Glameow",
|
||||
"cobblemon.species.glameow.desc": "Encanta os humanos com sua cauda espiral e olhar penetrante. Suas garras retráteis são afiadíssimas e tornam esse Pokémon um oponente complicado.",
|
||||
"cobblemon.species.purugly.name": "Purugly",
|
||||
"cobblemon.species.purugly.desc": "Apesar de imprudente e difícil de domar, Purugly é muito popular devido ao seu pelo, cuja beleza supera até mesmo a do veludo.",
|
||||
"cobblemon.species.chingling.name": "Chingling",
|
||||
"cobblemon.species.stunky.desc": "O veneno que é disparado de seu rabo é acompanhado por um odor maligno com tanta potência que apenas uma tragada pode causar perda de memória.",
|
||||
"cobblemon.species.skuntank.name": "Skuntank",
|
||||
"cobblemon.species.skuntank.desc": "Libera um fluido venenoso para derrubar suas presas. Às vezes deixa sua presa abatida para trás por não conseguir suportar o odor do próprio fluido.",
|
||||
"cobblemon.species.bronzor.name": "Bronzor",
|
||||
"cobblemon.species.bronzong.name": "Bronzong",
|
||||
"cobblemon.species.bronzong.desc": "Alguns acreditam que o seu grito similar a um sino abre buracos para outro mundo. Bronzong foi venerado como uma divindade em tempos antigos.",
|
||||
"cobblemon.species.bonsly.name": "Bonsly",
|
||||
"cobblemon.species.bonsly.desc": "Suas lágrimas amolecem o coração daqueles que o observam, mas não se engane! A liberação dessa água corporal é meramente um mecanismo fisiológico para se manter saudável.",
|
||||
"cobblemon.species.mimejr.name": "Mime Jr.",
|
||||
"cobblemon.species.happiny.name": "Happiny",
|
||||
"cobblemon.species.happiny.desc": "Uma imitação de Chansey, carrega sua pedra arredondada em sua bolsa e a ama profundamente. Se dá bem com crianças e às vezes se diverte brincando de casinha com elas.",
|
||||
"cobblemon.species.chatot.name": "Chatot",
|
||||
"cobblemon.species.chatot.desc": "Um artista versátil capaz de imitar a fala humana. Acredita-se que Chatot mais velhos e mais experientes podem até mesmo entender o significado das palavras que imitam.",
|
||||
"cobblemon.species.spiritomb.name": "Spiritomb",
|
||||
"cobblemon.species.gabite.name": "Gabite",
|
||||
"cobblemon.species.gabite.desc": "Apesar de Gabite ter um comportamento violento, quando eu o entreguei uma bola de gude que estava fitando com interesse, de repente tornou-se um tanto dócil.",
|
||||
"cobblemon.species.garchomp.name": "Garchomp",
|
||||
"cobblemon.species.munchlax.name": "Munchlax",
|
||||
"cobblemon.species.munchlax.desc": "Seu estômago robusto permite que devore sem esforço até mesmo comida podre. Visita vilas frequentemente, buscando por restos de comida que de outra forma virariam adubo.",
|
||||
"cobblemon.species.riolu.name": "Riolu",
|
||||
"cobblemon.species.lucario.name": "Lucario",
|
||||
"cobblemon.species.lucario.desc": "Uma criatura valente. Lucario emite ondas de energia e as controla com precisão, usando-as para sentir seres a grandes distâncias. Eu classifiquei esse poder como \"aura\".",
|
||||
"cobblemon.species.hippopotas.name": "Hippopotas",
|
||||
"cobblemon.species.hippopotas.desc": "Apesar de grandes e lentos, Hippopotas são difíceis de detectar devido à sua tendência de cavar e se esconder abaixo do solo. Quando fica agitado ou ansioso, expele areia de suas narinas.",
|
||||
"cobblemon.species.hippowdon.name": "Hippowdon",
|
||||
"cobblemon.species.skorupi.name": "Skorupi",
|
||||
"cobblemon.species.skorupi.desc": "Suas garras não apenas são extremamente afiadas como também peçonhentas, fazendo de Skorupi um Pokémon altamente perigoso. Porém, parece que fica fraco em temperaturas frias.",
|
||||
"cobblemon.species.drapion.name": "Drapion",
|
||||
"cobblemon.species.drapion.desc": "Tem um comportamento bruto e feroz. Com sua força e casco resistente a qualquer tipo de corte, Drapion anda por aí causando estragos.",
|
||||
"cobblemon.species.croagunk.name": "Croagunk",
|
||||
"cobblemon.species.toxicroak.name": "Toxicroak",
|
||||
"cobblemon.species.toxicroak.desc": "Suas garras carmesim contém uma toxina virulenta. Essa toxina pode ser diluída, misturada com vários tipos de ervas e cozida por mais de dois dias para criar um tônico estimulante.",
|
||||
"cobblemon.species.carnivine.name": "Carnivine",
|
||||
"cobblemon.species.carnivine.desc": "Apesar de ser um Pokémon planta, tem um comportamento voraz e rebelde. Carnivine ataca suas presas com sua enorme boca aberta.",
|
||||
"cobblemon.species.finneon.name": "Finneon",
|
||||
"cobblemon.species.lumineon.name": "Lumineon",
|
||||
"cobblemon.species.lumineon.desc": "Usa suas nadadeiras brilhantes para caçar suas presas. A visão de um cardume de Lumineon perto da superfície do mar à noite é de tirar o fôlego — é como se houvessem estrelas brilhantes logo ali.",
|
||||
"cobblemon.species.mantyke.name": "Mantyke"
|
||||
}
|
||||
@@ -5913,5 +5913,164 @@
|
||||
"cobblemon.move.filletaway": "甩肉",
|
||||
"cobblemon.move.filletaway.desc": "削減自己的HP,大幅提高自己的攻擊、特攻和速度。",
|
||||
"cobblemon.move.flowertrick": "千變萬花",
|
||||
"cobblemon.move.flowertrick.desc": "將動過手腳的花束投向對手進行攻擊。必定會命中並擊中要害。"
|
||||
"cobblemon.move.flowertrick.desc": "將動過手腳的花束投向對手進行攻擊。必定會命中並擊中要害。",
|
||||
"cobblemon.move.gmaxresonance": "超極巨極光旋律",
|
||||
"cobblemon.move.gmaxsmite.desc": "超極巨化的布莉姆溫使出的妖精屬性攻擊。會讓對手陷入混亂狀態。",
|
||||
"cobblemon.move.gmaxterror": "超極巨幻影幽魂",
|
||||
"cobblemon.move.gmaxsnooze": "超極巨睡魔降臨",
|
||||
"cobblemon.move.hydrosteam": "水蒸氣",
|
||||
"cobblemon.move.hydrosteam.desc": "將滾燙的水猛烈地噴向對手。日照很強時,招式威力不但不會降低,還會變成1.5倍。",
|
||||
"cobblemon.move.icespinner": "冰旋",
|
||||
"cobblemon.move.kowtowcleave": "仆斬",
|
||||
"cobblemon.move.lastrespects": "掃墓",
|
||||
"cobblemon.move.luminacrash": "琉光衝激",
|
||||
"cobblemon.move.luminacrash.desc": "發出對精神也會起作用的奇異光線進行攻擊。大幅降低對手的特防。",
|
||||
"cobblemon.move.lunarblessing": "新月祈禱",
|
||||
"cobblemon.move.lunarblessing.desc": "向新月獻上祈禱,回復自己和場上同伴的HP和狀態。",
|
||||
"cobblemon.move.magicaltorque": "魔法暴衝",
|
||||
"cobblemon.move.magicaltorque.desc": "魔法暴衝有30%的機率使目標陷入混亂狀態。",
|
||||
"cobblemon.move.malignantchain": "邪毒鎖鏈",
|
||||
"cobblemon.move.malignantchain.desc": "用毒素形成的鎖鏈纏住對手,注入毒素加以侵蝕。有時會讓對手陷入劇毒狀態。",
|
||||
"cobblemon.move.mortalspin": "晶光轉轉",
|
||||
"cobblemon.move.mortalspin.desc": "藉由旋轉來攻擊對手。也可以擺脫綁緊、緊束、寄生種子等招式。讓對手陷入中毒狀態。",
|
||||
"cobblemon.move.mountaingale": "冰山風",
|
||||
"cobblemon.move.mountaingale.desc": "將冰山般巨大的冰塊砸向對手進行攻擊。有時會使對手畏縮。",
|
||||
"cobblemon.move.neverendingnightmare.desc": "透過Z力量召喚強烈的怨念,全力降禍到對手身上。威力會隨原本的招式而改變。",
|
||||
"cobblemon.move.noxioustorque.desc": "劇毒暴衝有30%的機率使目標陷入中毒狀態。",
|
||||
"cobblemon.move.orderup.desc": "以瀟灑的身段進行攻擊。若口中有米立龍,會依米立龍的姿勢而提高不同能力。",
|
||||
"cobblemon.move.populationbomb": "鼠數兒",
|
||||
"cobblemon.move.pounce.desc": "撲向對手進行攻擊。可降低對手的速度。",
|
||||
"cobblemon.move.powershift": "力量轉換",
|
||||
"cobblemon.move.psyshieldbash": "屏障猛攻",
|
||||
"cobblemon.move.psyshieldbash.desc": "讓意念的能量圍繞全身,撞向對手進行攻擊。提高自己的防禦。",
|
||||
"cobblemon.move.ragefist": "憤怒之拳",
|
||||
"cobblemon.move.ragefist.desc": "將憤怒化為能量進行攻擊。受到的攻擊次數越多,招式的威力越大。",
|
||||
"cobblemon.move.ragingbull": "怒牛",
|
||||
"cobblemon.move.ragingfury": "大憤慨",
|
||||
"cobblemon.move.ragingfury.desc": "在2~3回合內放出火焰,同時瘋狂亂打。大鬧一番後自己會陷入混亂。",
|
||||
"cobblemon.move.recharge": "恢复精力",
|
||||
"cobblemon.move.revivalblessing": "復生祈禱",
|
||||
"cobblemon.move.revivalblessing.desc": "懷著慈愛之心祈禱,使後備中瀕死的寶可夢以一半的HP復活。",
|
||||
"cobblemon.move.ruination": "大災難",
|
||||
"cobblemon.move.ruination.desc": "捲起破滅之災厄,使對手的HP減半。",
|
||||
"cobblemon.move.saltcure": "鹽醃",
|
||||
"cobblemon.move.saltcure.desc": "讓對手陷入鹽醃狀態,每回合都會受到傷害。鋼、水屬性的寶可夢還會更痛苦。",
|
||||
"cobblemon.move.sandsearstorm": "熱沙風暴",
|
||||
"cobblemon.move.sandsearstorm.desc": "用灼熱的沙子和強烈的風席捲對手進行攻擊。有時會讓對手陷入灼傷狀態。",
|
||||
"cobblemon.move.savagespinout": "絕對捕食迴旋斬",
|
||||
"cobblemon.move.savagespinout.desc": "透過Z力量用吐出的絲線全力束縛對手。威力會隨原本的招式而改變。",
|
||||
"cobblemon.move.shatteredpsyche": "至高精神破壞波",
|
||||
"cobblemon.move.shedtail": "斷尾",
|
||||
"cobblemon.move.shedtail.desc": "削減自己的HP,製造分身後返回,和後備寶可夢進行替換。",
|
||||
"cobblemon.move.silktrap": "線阱",
|
||||
"cobblemon.move.snowscape": "雪景",
|
||||
"cobblemon.move.spicyextract": "辣椒精華",
|
||||
"cobblemon.move.spicyextract.desc": "放出相當強勁的辣味精華。對手的攻擊會大幅提高,防禦會大幅降低。",
|
||||
"cobblemon.move.spinout": "疾速轉輪",
|
||||
"cobblemon.move.springtidestorm": "陽春風暴",
|
||||
"cobblemon.move.springtidestorm.desc": "用交織著愛與恨的烈風席捲對手進行攻擊。有時會降低對手的攻擊。",
|
||||
"cobblemon.move.stoneaxe": "岩斧",
|
||||
"cobblemon.move.stoneaxe.desc": "用岩石之斧進行攻擊。散落的岩石碎片會在對手周圍飄浮。",
|
||||
"cobblemon.move.subzeroslammer": "激狂大地萬里冰",
|
||||
"cobblemon.move.supersonicskystrike": "極速俯衝轟烈撞",
|
||||
"cobblemon.move.takeheart.desc": "鼓起衝勁,治癒自己的異常狀態,同時提高自己的特攻和特防。",
|
||||
"cobblemon.move.tectonicrage": "地隆嘯天大終結",
|
||||
"cobblemon.move.doubleshock.desc": "施放全身的所有電力給予對手巨大的傷害,自己的電屬性將會消失。",
|
||||
"cobblemon.move.electrodrift.desc": "一邊變形,一邊以超高速度奔馳,未知的電流將貫穿對手。打到弱點時威力會更為增加。",
|
||||
"cobblemon.move.gigavolthavoc.desc": "透過Z力量將蓄積的強大電流全力撞向對手。威力會隨原本的招式而改變。",
|
||||
"cobblemon.move.gmaxfinale": "超極巨幸福圓滿",
|
||||
"cobblemon.move.gmaxfireball": "超極巨破陣火球",
|
||||
"cobblemon.move.gmaxfinale.desc": "超極巨化的霜奶仙使出的妖精屬性攻擊。可回復我方的HP。",
|
||||
"cobblemon.move.gmaxfireball.desc": "超極巨化的閃焰王牌使出的火屬性攻擊。不會受到對手特性的干擾。",
|
||||
"cobblemon.move.gmaxgoldrush": "超極巨特大金幣",
|
||||
"cobblemon.move.gmaxgoldrush.desc": "超極巨化的喵喵使出的一般屬性攻擊。會讓對手陷入混亂狀態,並可獲得金錢。",
|
||||
"cobblemon.move.gmaxgravitas": "超極巨天道七星",
|
||||
"cobblemon.move.gmaxhydrosnipe": "超極巨狙擊神射",
|
||||
"cobblemon.move.gmaxfoamburst": "超極巨激漩泡渦",
|
||||
"cobblemon.move.gmaxfoamburst.desc": "超極巨化的巨钳蟹使出的水屬性攻擊。會大幅降低對手速度。",
|
||||
"cobblemon.move.gmaxgravitas.desc": "超極巨化的以歐路普使出的超能力屬性攻擊。在5回合内重力會產生變化。",
|
||||
"cobblemon.move.gmaxhydrosnipe.desc": "超極巨化的千面避役使出的水屬性攻擊。不會受到對手的特性干擾。",
|
||||
"cobblemon.move.gmaxmalodor": "超極巨臭氣沖天",
|
||||
"cobblemon.move.gmaxmeltdown.desc": "超極巨化的美錄梅塔使出的鋼屬性攻擊。會讓對手無法連續使出相同的招式。",
|
||||
"cobblemon.move.gmaxoneblow": "超極巨奪命一擊",
|
||||
"cobblemon.move.gmaxoneblow.desc": "超極巨化的武道熊師使出的惡屬性攻擊。是可以無視極巨防壁的一擊。",
|
||||
"cobblemon.move.gmaxmalodor.desc": "超極巨化的灰塵山使出的毒屬性攻擊。會讓對手陷入中毒狀態。",
|
||||
"cobblemon.move.gmaxmeltdown": "超極巨液金熔擊",
|
||||
"cobblemon.move.gmaxrapidflow": "超極巨流水連擊",
|
||||
"cobblemon.move.gmaxreplenish.desc": "超極巨化的卡比獸使出的一般屬性攻擊。會讓吃掉的樹果再生。",
|
||||
"cobblemon.move.gmaxresonance.desc": "超極巨化的拉普拉斯使出的冰屬性攻擊。可在5回合内減弱受到的傷害。",
|
||||
"cobblemon.move.gmaxsandblast": "超極巨沙塵漫天",
|
||||
"cobblemon.move.gmaxsandblast.desc": "超極巨化的沙螺蟒使出的地面屬性攻擊。在4~5回合内會狂刮沙暴。",
|
||||
"cobblemon.move.gmaxrapidflow.desc": "超極巨化的武道熊師使出的水屬性攻擊。是可以無視極巨防壁的連擊。",
|
||||
"cobblemon.move.gmaxreplenish": "超極巨資源再生",
|
||||
"cobblemon.move.gmaxstonesurge": "超極巨岩陣以待",
|
||||
"cobblemon.move.gmaxsteelsurge": "超極巨鋼鐵陣法",
|
||||
"cobblemon.move.gmaxsmite": "超極巨天譴雷誅",
|
||||
"cobblemon.move.gmaxsnooze.desc": "超極巨化的長毛巨魔使出的惡屬性攻擊。會通過打大哈欠讓對手產生睡意。",
|
||||
"cobblemon.move.gmaxsteelsurge.desc": "超極巨化的大王銅象使出的鋼屬性攻擊。會發射無數銳利的刺。",
|
||||
"cobblemon.move.gmaxstonesurge.desc": "超極巨化的暴噬龜使出的水屬性攻擊。會發射無數銳利的岩石。",
|
||||
"cobblemon.move.gmaxsweetness": "超極巨瓊漿玉液",
|
||||
"cobblemon.move.gmaxsweetness.desc": "超極巨化的豐蜜龍使出的草屬性攻擊。會治癒我方的異常狀態。",
|
||||
"cobblemon.move.gmaxtartness": "超極巨酸不溜丟",
|
||||
"cobblemon.move.gmaxtartness.desc": "超極巨化的蘋裹龍使出的草屬性攻擊。會降低對手的閃避率。",
|
||||
"cobblemon.move.gmaxvinelash": "超極巨灰飛鞭滅",
|
||||
"cobblemon.move.gmaxvinelash.desc": "超極巨化的妙蛙花使出的草屬性攻擊。可在4回合内給予對手傷害。",
|
||||
"cobblemon.move.gmaxvolcalith": "超極巨炎石噴發",
|
||||
"cobblemon.move.gmaxwindrage": "超極巨旋風襲捲",
|
||||
"cobblemon.move.gmaxwindrage.desc": "超極巨化的鋼鎧鴉使出的飛行屬性攻擊。可消除反射壁和光牆。",
|
||||
"cobblemon.move.hydrovortex": "超級水流大漩渦",
|
||||
"cobblemon.move.hydrovortex.desc": "透過Z力量製造大大的潮旋,全力吞沒對手。威力會隨原本的招式而改變。",
|
||||
"cobblemon.move.icespinner.desc": "在腳上包覆薄冰,骨碌碌地旋轉並進行撞擊。以旋轉的動作破壞場地。",
|
||||
"cobblemon.move.infernooverdrive.desc": "透過Z力量噴出熊熊烈火,全力撞向對手。威力會隨原本的招式而改變。",
|
||||
"cobblemon.move.jetpunch": "噴射拳",
|
||||
"cobblemon.move.jetpunch.desc": "讓激流圍繞在拳頭上,以迅雷不及掩耳之勢出拳。必定能夠發動先制攻擊。",
|
||||
"cobblemon.move.gmaxvolcalith.desc": "超極巨化的巨炭山使出的岩石屬性攻擊。可在4回合内給予對手傷害。",
|
||||
"cobblemon.move.gmaxterror.desc": "超極巨化的耿鬼使出的幽靈屬性攻擊。會踩住對手的影子,使其無法被替換。",
|
||||
"cobblemon.move.gmaxvoltcrash.desc": "超極巨化的皮卡丘使出的電屬性攻擊。會讓對手陷入麻痹狀態。",
|
||||
"cobblemon.move.gmaxstunshock": "超極巨異毒電場",
|
||||
"cobblemon.move.infernooverdrive": "超強極限爆焰彈",
|
||||
"cobblemon.move.populationbomb.desc": "夥伴們紛紛聚集而來,以群體形式逐一給予攻擊。連續命中1~10次。",
|
||||
"cobblemon.move.shelter.desc": "讓皮膚變得像鐵盾般堅硬,大幅提高自己的防禦。",
|
||||
"cobblemon.move.headlongrush.desc": "對手使出灌注了全心全力的撞擊。自己的防禦和特防會降低。",
|
||||
"cobblemon.move.gmaxwildfire.desc": "超極巨化的噴火龍使出的火屬性攻擊。可在4回合内給予對手傷害。",
|
||||
"cobblemon.move.makeitrain": "淘金潮",
|
||||
"cobblemon.move.shatteredpsyche.desc": "透過Z力量操縱對手,全力使其感受到痛苦。威力會隨原本的招式而改變。",
|
||||
"cobblemon.move.spinout.desc": "藉由在腳上負重來劇烈地旋轉並給予傷害。自己的速度會大幅降低。",
|
||||
"cobblemon.move.headlongrush": "突飛猛撲",
|
||||
"cobblemon.move.gmaxwildfire": "超極巨地獄滅焰",
|
||||
"cobblemon.move.hyperdrill": "強力鑽",
|
||||
"cobblemon.move.infernalparade": "群魔亂舞",
|
||||
"cobblemon.move.kowtowcleave.desc": "向對手下跪使其大意,接著對其劈斬。攻擊必定會命中。",
|
||||
"cobblemon.move.gmaxvoltcrash": "超極巨萬雷轟頂",
|
||||
"cobblemon.move.infernalparade.desc": "用無數的火球進行攻擊,有時會讓對手陷入灼傷狀態。攻擊處於異常狀態的對手時,威力會變成2倍。",
|
||||
"cobblemon.move.gmaxstunshock.desc": "超極巨化的顫弦蠑螈使出的電屬性攻擊。會讓對手陷入中毒或麻痺狀態。",
|
||||
"cobblemon.move.ragingbull.desc": "憤怒狂亂的暴牛發動之猛烈衝撞。招式的屬性會依形態而改變,並可破壞光牆和反射壁等。",
|
||||
"cobblemon.move.silktrap.desc": "布下線製成的陷阱。防住對手攻擊的同時,降低接觸到的對手的速度。",
|
||||
"cobblemon.move.snowscape.desc": "在5回合內會下雪。冰屬性寶可夢的防禦會提高。",
|
||||
"cobblemon.move.supersonicskystrike.desc": "透過Z力量猛烈地飛向天空,向著對手全力墜下。威力會隨原本的招式而改變。",
|
||||
"cobblemon.move.hyperdrill.desc": "高速旋轉尖銳的身體部位進行貫穿。可無視對手的守住和看穿等招式。",
|
||||
"cobblemon.move.makeitrain.desc": "撒出大量硬幣進行攻擊。自己的特攻會降低。戰鬥後還可以得到錢。",
|
||||
"cobblemon.move.subzeroslammer.desc": "透過Z力量急遽降低氣溫,全力冰凍對手。威力會隨原本的招式而改變。",
|
||||
"cobblemon.move.tectonicrage.desc": "透過Z力量潛入地底深處,全力撞擊對手。威力會隨原本的招式而改變。",
|
||||
"cobblemon.move.lastrespects.desc": "為了替夥伴雪恨而攻擊。被打倒的我方寶可夢越多,招式威力就會越強。",
|
||||
"cobblemon.move.mysticalpower": "神秘之力",
|
||||
"cobblemon.move.mysticalpower.desc": "放出不可思議的力量進行攻擊。自己的特攻會提高。",
|
||||
"cobblemon.move.noxioustorque": "劇毒暴衝",
|
||||
"cobblemon.move.orderup": "上菜",
|
||||
"cobblemon.move.pounce": "蟲撲",
|
||||
"cobblemon.move.powershift.desc": "將自己的攻擊與防禦互相交換。",
|
||||
"cobblemon.ability.zerotohero": "全能變身",
|
||||
"cobblemon.ability.zerotohero.desc": "離場後會變為全能形態。",
|
||||
"cobblemon.move.chillingwater": "潑冷水",
|
||||
"cobblemon.move.doubleshock": "電光雙擊",
|
||||
"cobblemon.move.neverendingnightmare": "無盡暗夜之誘惑",
|
||||
"cobblemon.move.takeheart": "勇氣填充",
|
||||
"cobblemon.entity.pokemon": "寶可夢",
|
||||
"cobblemon.move.shelter": "閉關",
|
||||
"cobblemon.move.chillingwater.desc": "潑灑冰冷到足以讓對手失去活力的水進行攻擊,可降低對手的攻擊。",
|
||||
"cobblemon.move.chillyreception": "冷笑話",
|
||||
"cobblemon.move.chillyreception.desc": "留下使場面凍結的笑話後,和後備寶可夢進行替換,在5回合內會下雪。",
|
||||
"cobblemon.move.chloroblast": "葉綠爆震",
|
||||
"cobblemon.move.chloroblast.desc": "將自身的葉綠素凝聚起來後放出去進行攻擊,自己也會受到傷害。",
|
||||
"cobblemon.move.electrodrift": "閃電猛衝"
|
||||
}
|
||||
@@ -149,7 +149,7 @@
|
||||
"sounds": [ { "name": "cobblemon:evolution/evolution_notification", "volume": 0.7 } ]
|
||||
},
|
||||
"evolution.full": {
|
||||
"sounds": [ "cobblemon:evolution/evolution_full" ]
|
||||
"sounds": [ { "name": "cobblemon:evolution/evolution_full", "volume": 0.9 } ]
|
||||
},
|
||||
"evolution.ui": {
|
||||
"sounds": [ { "name": "cobblemon:evolution/evolution_ui", "volume": 0.2 } ]
|
||||
@@ -1003,24 +1003,24 @@
|
||||
"particle.wild_shiny_chime": {
|
||||
"subtitle": "cobblemon.subtitle.pokemon.wild_shiny_shine",
|
||||
"sounds": [
|
||||
{ "name": "cobblemon:shiny/wild_shiny_appear_chime", "volume": 2.0 }
|
||||
{ "name": "cobblemon:shiny/wild_shiny_appear_chime", "volume": 1.0, "attenuation_distance": 128.0 }
|
||||
]
|
||||
},
|
||||
"particle.shiny_ambient_chime": {
|
||||
"sounds": [
|
||||
{ "name": "cobblemon:shiny/shiny_ambient_chime_1", "volume": 0.3 },
|
||||
{ "name": "cobblemon:shiny/shiny_ambient_chime_2", "volume": 0.3 },
|
||||
{ "name": "cobblemon:shiny/shiny_ambient_chime_3", "volume": 0.3 },
|
||||
{ "name": "cobblemon:shiny/shiny_ambient_chime_4", "volume": 0.3 }
|
||||
{ "name": "cobblemon:shiny/shiny_ambient_chime_1", "volume": 0.8 },
|
||||
{ "name": "cobblemon:shiny/shiny_ambient_chime_2", "volume": 0.8 },
|
||||
{ "name": "cobblemon:shiny/shiny_ambient_chime_3", "volume": 0.8 },
|
||||
{ "name": "cobblemon:shiny/shiny_ambient_chime_4", "volume": 0.8 }
|
||||
]
|
||||
},
|
||||
"particle.wild_shiny_ambient_chime": {
|
||||
"subtitle": "cobblemon.subtitle.pokemon.shiny_ambient",
|
||||
"sounds": [
|
||||
{ "name": "cobblemon:shiny/wild_shiny_ambient_chime_1", "volume": 1.5 },
|
||||
{ "name": "cobblemon:shiny/wild_shiny_ambient_chime_2", "volume": 1.5 },
|
||||
{ "name": "cobblemon:shiny/wild_shiny_ambient_chime_3", "volume": 1.5 },
|
||||
{ "name": "cobblemon:shiny/wild_shiny_ambient_chime_4", "volume": 1.5 }
|
||||
{ "name": "cobblemon:shiny/wild_shiny_ambient_chime_1", "volume": 0.8, "attenuation_distance": 128.0 },
|
||||
{ "name": "cobblemon:shiny/wild_shiny_ambient_chime_2", "volume": 0.8, "attenuation_distance": 128.0 },
|
||||
{ "name": "cobblemon:shiny/wild_shiny_ambient_chime_3", "volume": 0.8, "attenuation_distance": 128.0 },
|
||||
{ "name": "cobblemon:shiny/wild_shiny_ambient_chime_4", "volume": 0.8, "attenuation_distance": 128.0 }
|
||||
]
|
||||
},
|
||||
"pokemon.bulbasaur.ambient": {
|
||||
|
||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 498 B After Width: | Height: | Size: 528 B |
|
Before Width: | Height: | Size: 498 B After Width: | Height: | Size: 531 B |
@@ -18,7 +18,15 @@
|
||||
"favoriteMulches": [
|
||||
"humid"
|
||||
],
|
||||
"growthFactors": [],
|
||||
"growthFactors": [
|
||||
{
|
||||
"variant": "cobblemon:preferred_biome",
|
||||
"bonusYield": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"randomizedGrowthPoints": true,
|
||||
"spawnConditions": [],
|
||||
"growthPoints": [
|
||||
|
||||
@@ -18,7 +18,15 @@
|
||||
"favoriteMulches": [
|
||||
"coarse"
|
||||
],
|
||||
"growthFactors": [],
|
||||
"growthFactors": [
|
||||
{
|
||||
"variant": "cobblemon:preferred_biome",
|
||||
"bonusYield": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"randomizedGrowthPoints": true,
|
||||
"spawnConditions": [],
|
||||
"growthPoints": [
|
||||
|
||||
@@ -18,7 +18,15 @@
|
||||
"favoriteMulches": [
|
||||
"coarse"
|
||||
],
|
||||
"growthFactors": [],
|
||||
"growthFactors": [
|
||||
{
|
||||
"variant": "cobblemon:preferred_biome",
|
||||
"bonusYield": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"randomizedGrowthPoints": true,
|
||||
"spawnConditions": [
|
||||
{
|
||||
|
||||
@@ -19,7 +19,15 @@
|
||||
"favoriteMulches": [
|
||||
"coarse"
|
||||
],
|
||||
"growthFactors": [],
|
||||
"growthFactors": [
|
||||
{
|
||||
"variant": "cobblemon:preferred_biome",
|
||||
"bonusYield": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"randomizedGrowthPoints": true,
|
||||
"spawnConditions": [
|
||||
{
|
||||
|
||||