Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
34e7edf56a | ||
|
|
5e5cb97fae | ||
|
|
baf3cd5f30 | ||
|
|
2327f1aa2c | ||
|
|
62036c0ac6 | ||
|
|
2db494ff5e | ||
|
|
7fe1415551 | ||
|
|
ca4d4ed3be | ||
|
|
700227be41 | ||
|
|
985a4f65dc | ||
|
|
e117100e34 | ||
|
|
93ea13fa4d | ||
|
|
cd14881d17 | ||
|
|
1393cc3ef3 | ||
|
|
23ebd0573a | ||
|
|
6447c2e2eb | ||
|
|
039a18a2bf | ||
|
|
71736341f0 | ||
|
|
27d1de8e4e | ||
|
|
8af62f800b | ||
|
|
a50da47a8e | ||
|
|
f690781b0d | ||
|
|
6a7fc67ae1 | ||
|
|
7b7acb97d1 | ||
|
|
53af92f254 | ||
|
|
91bce4b153 | ||
|
|
511130d353 | ||
|
|
476c3e54f1 | ||
|
|
4bfe8b808c | ||
|
|
8db943d2a9 | ||
|
|
fdff6ecfa5 | ||
|
|
2eb698969d | ||
|
|
bba60f0098 | ||
|
|
8ee2c95853 | ||
|
|
77db2ce17a | ||
|
|
ff5ea6fa21 | ||
|
|
4820d78416 | ||
|
|
2f417e953c | ||
|
|
8fde0ed4f6 | ||
|
|
6715874a8f | ||
|
|
31f88a1f68 | ||
|
|
f80aa2769a | ||
|
|
20aa4d43b8 | ||
|
|
9bec3e088f | ||
|
|
5b4dbe1957 | ||
|
|
48f248d481 | ||
|
|
d726c4d0ed | ||
|
|
c9c421ba2a | ||
|
|
2436a8ddcc | ||
|
|
3364944c26 | ||
|
|
9e6a6eabc7 | ||
|
|
78def7318e | ||
|
|
fdf062bd4c | ||
|
|
ef5a682adb | ||
|
|
f76d28d29e | ||
|
|
9c70aad64d | ||
|
|
25de1ad180 | ||
|
|
f967d1ec11 | ||
|
|
efd0497de1 | ||
|
|
b30c0a4a9a | ||
|
|
c99b26a44b | ||
|
|
b19bc1e4c7 | ||
|
|
bc5ffda1a5 | ||
|
|
491d6c9fd6 | ||
|
|
ccc6ad77a5 | ||
|
|
00fd9d1278 | ||
|
|
01464f8b71 | ||
|
|
d91fe0b876 | ||
|
|
3f6faf7796 | ||
|
|
d5efdeee68 | ||
|
|
57f446260c | ||
|
|
d4cf44f8f0 | ||
|
|
a074ebbcce | ||
|
|
6578ed55e3 | ||
|
|
f567ceadd8 | ||
|
|
5de92f78c6 | ||
|
|
a2402f78e7 | ||
|
|
1ad6d63137 | ||
|
|
39d417c651 | ||
|
|
ce1bf9f4f2 | ||
|
|
a6136906f8 | ||
|
|
37a99b528e | ||
|
|
048b237302 | ||
|
|
131773f9c8 | ||
|
|
22e55b7e77 | ||
|
|
6c288f9cc8 | ||
|
|
b5e86a9460 | ||
|
|
f199e7c1c0 | ||
|
|
4161d96707 | ||
|
|
59927dd701 | ||
|
|
220d8ddc0f | ||
|
|
0dd143e67e | ||
|
|
d83eb62821 | ||
|
|
a716fda023 | ||
|
|
d14aad787c | ||
|
|
2eb7b60dd1 | ||
|
|
d79ffc631b | ||
|
|
7cd1870f23 | ||
|
|
716d1b848e | ||
|
|
4878fc517d | ||
|
|
4d9d543110 | ||
|
|
718a9b922b | ||
|
|
e2a152aeb3 | ||
|
|
3e21226b27 | ||
|
|
c46c5b806c | ||
|
|
3c37d93046 | ||
|
|
7b2790de50 | ||
|
|
7f2bb84c85 | ||
|
|
331e1371d4 | ||
|
|
bdd57ba1a4 | ||
|
|
670e7e9ca1 | ||
|
|
3ae349aea5 | ||
|
|
13650f98f9 | ||
|
|
d3379557fd | ||
|
|
143c2683fe | ||
|
|
72d64d36e5 | ||
|
|
c0b52c38e3 | ||
|
|
12a0ee309e | ||
|
|
824e37effd | ||
|
|
975cdf050f | ||
|
|
8fe2042127 | ||
|
|
538ad883ab | ||
|
|
136cb86492 | ||
|
|
e4eb1251d1 | ||
|
|
1bc83d9045 | ||
|
|
98775ffc1e | ||
|
|
bbeb3d45f0 | ||
|
|
8fd854f7f7 | ||
|
|
f449cf27c5 | ||
|
|
bf5fd5eed8 | ||
|
|
facead5f0b |
No files matched your search
@@ -17,6 +17,8 @@
|
||||
- Added cosmetics for Gurdurr, Conkeldurr, Squirtle Line, Sneasler, Sandle line, Treecko line, Braixen, Delphox, and Dragonite.
|
||||
- Added `/transformmodelpart (position|rotation|scale) <modelPart> <transform: x y z>` command that can add transformations to a pokemon's model part.
|
||||
- The player executing the command must be facing the target pokemon entity. Transformations are not persistent and will revert when resources are reloaded.
|
||||
- Added lang keys for all moves and abilities up to Generation 9.
|
||||
- Fixed Moon Ball moon phase logic to actually work correctly
|
||||
|
||||
### Pokémon Added
|
||||
|
||||
@@ -76,6 +78,8 @@
|
||||
- Sneasler
|
||||
- Braixen
|
||||
- Delphox
|
||||
- Cinderace
|
||||
- Kangaskhan
|
||||
|
||||
### Model updates for the following Pokémon
|
||||
- Gyarados
|
||||
@@ -97,18 +101,32 @@
|
||||
- Pidgeot
|
||||
- Nosepass
|
||||
- Probopass
|
||||
- Kangaskhan
|
||||
- Cinderace
|
||||
- Magnezone
|
||||
- Metagross
|
||||
- Added Syrupy Apples.
|
||||
|
||||
### Changes
|
||||
- Renamed `chargeGainedPerTick` config to `secondsToChargeHealingMachine`.
|
||||
- Made Blocks of Gold count as Big Nuggets when held by a Pokémon (for Fling functionality)
|
||||
- Players can now eat Sweet and Tart Apples, Whipped Dreams, and the Alcremie Sweets.
|
||||
- Updated Sweet and Tart Apple sprites
|
||||
- Updated the following recipes: Air Balloon, Assault Vest, Binding Band, Black Belt, Blunder Policy, Choice Band, Choice Scarf, Cleanse Tag, Covert Cloak, Destiny Knot, Eject Button, Expert Belt, Focus Band, Focus Sash, Magnet, Metronome, Muscle Band, Power Anklet, Power Band, Power Belt, Power Bracer, Power Lens, Power Weight, Protective Pads, Protein, Punching Glove, Reaper Cloth, Rocky Helmet, Room Service, Sachet, Safety Goggles, Silk Scarf, Spell Tag, Utility Umbrella, Weakness Policy, Zinc
|
||||
- Added alternate ingredient options to the following recipes: Cell Battery, Charcoal Stick, Dragon Fang, Miracle Seed, Mystic Water, Never Melt Ice, Twisted Spoon, Damp Rock, Heat Rock, Icy Rock, Smooth Rock
|
||||
- Grouped together some recipes within the Recipe Book. Groups include: the seven basic Poké Balls, the seven basic Ancient Poké Balls, Gilded Chests, Pokedexes, and the Weather Rocks.
|
||||
- Updated some item tags to better integrate behaviours between Cobblemon, Vanilla Minecraft, and other mods
|
||||
- Removed Cooked Meat, Raw Meat, Protein Ingredients, and Zinc Ingredients, the first two are now using `c` namespace tags, the latter have better integrated use of tags within their recipes which removes need for custom tags.
|
||||
- Added our seeds tag into `#c:seeds`, which is now made use of for the Miracle Seed recipe.
|
||||
- Tweaked the Natural Materials Vanilla file to fit with the changes to tags
|
||||
- Substantially optimised spawning checks mainly by front-loading biome filtering.
|
||||
- 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.
|
||||
- Improved the performance of saving Pokédex and player data.
|
||||
- Pokémon hitbox now scales with entity attribute `generic.scale`.
|
||||
- Removed Shulker aspect and replaced it with cosmetic_item-shulker_shell.
|
||||
- Shulker shell Forretress is now a cosmetic rather than a special evo and thus all shulker Forretress will revert back to normal until a shulker shell is put in their cosmetic slot.
|
||||
- Updated `doPokemonSpawning` gamerule to support per-dimension configurations.
|
||||
- The Pokedex now displays a form name of a "normal" Pokémon for when the base form is still a named form.
|
||||
|
||||
### Fixes
|
||||
- Fixed Particles sometimes facing the wrong direction (looking at you, Swords Dance)
|
||||
@@ -137,6 +155,7 @@
|
||||
- Fixed Pokémon marked as silent still playing shiny sounds and effects.
|
||||
- Fixed an issue with newer versions of Fabric API where underground Pokémon were spawning in The End.
|
||||
- Fixed spawning not working well when you're at high points surrounded by lower altitude spawning areas, such as flying.
|
||||
- Fixed certain Pokémon with forms not having appropriate stock Pokédex entries.
|
||||
|
||||
### Developer
|
||||
- A finished battle now has winners and losers set inside of `PokemonBattle` instead of them always being empty.
|
||||
@@ -173,6 +192,7 @@
|
||||
- Added `pokemon` as an available Molang function for the `battleActor` functions.
|
||||
- Fixed `heldItem` property inside spawn files not working and causing crashes
|
||||
- Fixed `spawn_bedrock_particles` MoLang causing crashes when used in a server environment
|
||||
- The Pokédex form lang key definition now follows `cobblemon.ui.pokedex.info.form.{species}-{formname}` instead of `cobblemon.ui.pokedex.info.form.{formname}`.
|
||||
|
||||
## [1.6.1 (January 26th, 2025)](#1-6-1)
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* 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.mixin;
|
||||
|
||||
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity;
|
||||
import net.minecraft.server.ServerInterface;
|
||||
import net.minecraft.server.level.ServerLevel;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||
|
||||
@Mixin(ServerLevel.class)
|
||||
public abstract class MinecraftDedicatedServerMixin implements ServerInterface {
|
||||
|
||||
@Inject(method = "shouldDiscardEntity", at = @At(value = "HEAD"), cancellable = true)
|
||||
public void cobblemon$allowPokemonSpawns(Entity entity, CallbackInfoReturnable<Boolean> callback) {
|
||||
if (entity instanceof PokemonEntity) {
|
||||
callback.setReturnValue(false);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,53 +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.mixin;
|
||||
|
||||
import com.cobblemon.mod.common.Cobblemon;
|
||||
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity;
|
||||
import com.cobblemon.mod.common.entity.pokemon.PokemonServerDelegate;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.server.level.ServerLevel;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.level.block.LevelEvent;
|
||||
import net.minecraft.world.phys.AABB;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Unique;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||
|
||||
@Mixin(ServerLevel.class)
|
||||
public abstract class ServerLevelMixin {
|
||||
|
||||
@Inject(method = "shouldDiscardEntity", at = @At(value = "HEAD"), cancellable = true)
|
||||
public void cobblemon$allowPokemonSpawns(Entity entity, CallbackInfoReturnable<Boolean> callback) {
|
||||
if (entity instanceof PokemonEntity) {
|
||||
callback.setReturnValue(false);
|
||||
}
|
||||
}
|
||||
|
||||
@Inject(method = "levelEvent(Lnet/minecraft/world/entity/player/Player;ILnet/minecraft/core/BlockPos;I)V", at = @At(value = "HEAD"))
|
||||
public void cobblemon$setPokemonDancing(Player player, int type, BlockPos pos, int data, CallbackInfo ci) {
|
||||
if (type == LevelEvent.SOUND_PLAY_JUKEBOX_SONG || type == LevelEvent.SOUND_STOP_JUKEBOX_SONG) {
|
||||
cobblemon$notifyNearbyEntities((ServerLevel) ((Object) this), pos, type == LevelEvent.SOUND_PLAY_JUKEBOX_SONG);
|
||||
}
|
||||
}
|
||||
|
||||
@Unique
|
||||
private void cobblemon$notifyNearbyEntities(ServerLevel level, BlockPos pos, boolean playing) {
|
||||
for (PokemonEntity pokemonEntity : level.getEntitiesOfClass(PokemonEntity.class, new AABB(pos).inflate(Cobblemon.config.getPokemonDanceDistance()))) {
|
||||
PokemonServerDelegate delegate = (PokemonServerDelegate) pokemonEntity.getDelegate();
|
||||
delegate.setDancing(playing);
|
||||
delegate.setJukeboxPos(pos);
|
||||
pokemonEntity.setRecordPlayingNearby(pos, playing);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -293,20 +293,21 @@ object CobblemonItems : PlatformRegistry<Registry<Item>, ResourceKey<Registry<It
|
||||
@JvmField val REAPER_CLOTH = noSettingsItem("reaper_cloth")
|
||||
@JvmField val PRISM_SCALE = noSettingsItem("prism_scale")
|
||||
@JvmField val SACHET = noSettingsItem("sachet")
|
||||
@JvmField val WHIPPED_DREAM = noSettingsItem("whipped_dream")
|
||||
@JvmField val STRAWBERRY_SWEET = noSettingsItem("strawberry_sweet")
|
||||
@JvmField val LOVE_SWEET = noSettingsItem("love_sweet")
|
||||
@JvmField val BERRY_SWEET = noSettingsItem("berry_sweet")
|
||||
@JvmField val CLOVER_SWEET = noSettingsItem("clover_sweet")
|
||||
@JvmField val FLOWER_SWEET = noSettingsItem("flower_sweet")
|
||||
@JvmField val STAR_SWEET = noSettingsItem("star_sweet")
|
||||
@JvmField val RIBBON_SWEET = noSettingsItem("ribbon_sweet")
|
||||
@JvmField val WHIPPED_DREAM = create("whipped_dream", foodItem(8, 0.3f))
|
||||
@JvmField val STRAWBERRY_SWEET = create("strawberry_sweet", foodItem(6, 0.125f))
|
||||
@JvmField val LOVE_SWEET = create("love_sweet", foodItem(6, 0.125f))
|
||||
@JvmField val BERRY_SWEET = create("berry_sweet", foodItem(6, 0.125f))
|
||||
@JvmField val CLOVER_SWEET = create("clover_sweet", foodItem(6, 0.125f))
|
||||
@JvmField val FLOWER_SWEET = create("flower_sweet", foodItem(6, 0.125f))
|
||||
@JvmField val STAR_SWEET = create("star_sweet", foodItem(6, 0.125f))
|
||||
@JvmField val RIBBON_SWEET = create("ribbon_sweet", foodItem(6, 0.125f))
|
||||
@JvmField val CHIPPED_POT = noSettingsItem("chipped_pot")
|
||||
@JvmField val CRACKED_POT = noSettingsItem("cracked_pot")
|
||||
@JvmField val MASTERPIECE_TEACUP = noSettingsItem("masterpiece_teacup")
|
||||
@JvmField val UNREMARKABLE_TEACUP = noSettingsItem("unremarkable_teacup")
|
||||
@JvmField val SWEET_APPLE = noSettingsItem("sweet_apple")
|
||||
@JvmField val TART_APPLE = noSettingsItem("tart_apple")
|
||||
@JvmField val SWEET_APPLE = create("sweet_apple", foodItem(4, 0.3f))
|
||||
@JvmField val TART_APPLE = create("tart_apple", foodItem(4, 0.3f))
|
||||
@JvmField val SYRUPY_APPLE = create("syrupy_apple", foodItem(4, 0.3f))
|
||||
@JvmField val GALARICA_CUFF = noSettingsItem("galarica_cuff")
|
||||
@JvmField val GALARICA_WREATH = noSettingsItem("galarica_wreath")
|
||||
@JvmField val BLACK_AUGURITE = noSettingsItem("black_augurite")
|
||||
@@ -1358,4 +1359,7 @@ object CobblemonItems : PlatformRegistry<Registry<Item>, ResourceKey<Registry<It
|
||||
return createdItem
|
||||
}
|
||||
|
||||
private fun foodItem(nutrition: Int, saturationModifier: Float): Item {
|
||||
return Item(Item.Properties().food(FoodProperties.Builder().nutrition(nutrition).saturationModifier(saturationModifier).build()))
|
||||
}
|
||||
}
|
||||
@@ -17,11 +17,7 @@ import com.bedrockk.molang.runtime.struct.VariableStruct
|
||||
import com.bedrockk.molang.runtime.value.DoubleValue
|
||||
import com.bedrockk.molang.runtime.value.MoValue
|
||||
import com.bedrockk.molang.runtime.value.StringValue
|
||||
import com.cobblemon.mod.common.Cobblemon
|
||||
import com.cobblemon.mod.common.CobblemonActivities
|
||||
import com.cobblemon.mod.common.CobblemonBlockEntities
|
||||
import com.cobblemon.mod.common.CobblemonMemories
|
||||
import com.cobblemon.mod.common.CobblemonUnlockableWallpapers
|
||||
import com.cobblemon.mod.common.*
|
||||
import com.cobblemon.mod.common.api.battles.model.PokemonBattle
|
||||
import com.cobblemon.mod.common.api.battles.model.actor.ActorType
|
||||
import com.cobblemon.mod.common.api.battles.model.actor.BattleActor
|
||||
@@ -31,13 +27,7 @@ import com.cobblemon.mod.common.api.mark.Marks
|
||||
import com.cobblemon.mod.common.api.moves.animations.ActionEffectContext
|
||||
import com.cobblemon.mod.common.api.moves.animations.ActionEffects
|
||||
import com.cobblemon.mod.common.api.moves.animations.NPCProvider
|
||||
import com.cobblemon.mod.common.api.pokedex.AbstractPokedexManager
|
||||
import com.cobblemon.mod.common.api.pokedex.CaughtCount
|
||||
import com.cobblemon.mod.common.api.pokedex.CaughtPercent
|
||||
import com.cobblemon.mod.common.api.pokedex.PokedexEntryProgress
|
||||
import com.cobblemon.mod.common.api.pokedex.PokedexManager
|
||||
import com.cobblemon.mod.common.api.pokedex.SeenCount
|
||||
import com.cobblemon.mod.common.api.pokedex.SeenPercent
|
||||
import com.cobblemon.mod.common.api.pokedex.*
|
||||
import com.cobblemon.mod.common.api.pokemon.PokemonProperties
|
||||
import com.cobblemon.mod.common.api.pokemon.evolution.Evolution
|
||||
import com.cobblemon.mod.common.api.pokemon.stats.Stats
|
||||
@@ -70,35 +60,7 @@ import com.cobblemon.mod.common.pokemon.Species
|
||||
import com.cobblemon.mod.common.pokemon.evolution.variants.ItemInteractionEvolution
|
||||
import com.cobblemon.mod.common.pokemon.evolution.variants.LevelUpEvolution
|
||||
import com.cobblemon.mod.common.pokemon.evolution.variants.TradeEvolution
|
||||
import com.cobblemon.mod.common.util.asArrayValue
|
||||
import com.cobblemon.mod.common.util.asBlockPos
|
||||
import com.cobblemon.mod.common.util.asExpressionLike
|
||||
import com.cobblemon.mod.common.util.asIdentifierDefaultingNamespace
|
||||
import com.cobblemon.mod.common.util.asResource
|
||||
import com.cobblemon.mod.common.util.asUUID
|
||||
import com.cobblemon.mod.common.util.blockRegistry
|
||||
import com.cobblemon.mod.common.util.cloneFrom
|
||||
import com.cobblemon.mod.common.util.effectiveName
|
||||
import com.cobblemon.mod.common.util.getBattleState
|
||||
import com.cobblemon.mod.common.util.getBlockStatesWithPos
|
||||
import com.cobblemon.mod.common.util.getBooleanOrNull
|
||||
import com.cobblemon.mod.common.util.getDoubleOrNull
|
||||
import com.cobblemon.mod.common.util.getIntOrNull
|
||||
import com.cobblemon.mod.common.util.getIsSubmerged
|
||||
import com.cobblemon.mod.common.util.getOrNull
|
||||
import com.cobblemon.mod.common.util.getPlayer
|
||||
import com.cobblemon.mod.common.util.getStringOrNull
|
||||
import com.cobblemon.mod.common.util.isInBattle
|
||||
import com.cobblemon.mod.common.util.isInt
|
||||
import com.cobblemon.mod.common.util.isStandingOn
|
||||
import com.cobblemon.mod.common.util.party
|
||||
import com.cobblemon.mod.common.util.pc
|
||||
import com.cobblemon.mod.common.util.pokedex
|
||||
import com.cobblemon.mod.common.util.resolve
|
||||
import com.cobblemon.mod.common.util.server
|
||||
import com.cobblemon.mod.common.util.toProperties
|
||||
import com.cobblemon.mod.common.util.withNPCValue
|
||||
import com.cobblemon.mod.common.util.worldRegistry
|
||||
import com.cobblemon.mod.common.util.*
|
||||
import com.mojang.datafixers.util.Either
|
||||
import net.minecraft.commands.arguments.EntityAnchorArgument
|
||||
import net.minecraft.core.BlockPos
|
||||
@@ -107,11 +69,7 @@ import net.minecraft.core.Registry
|
||||
import net.minecraft.core.RegistryAccess
|
||||
import net.minecraft.core.registries.BuiltInRegistries
|
||||
import net.minecraft.core.registries.Registries
|
||||
import net.minecraft.nbt.CompoundTag
|
||||
import net.minecraft.nbt.DoubleTag
|
||||
import net.minecraft.nbt.ListTag
|
||||
import net.minecraft.nbt.StringTag
|
||||
import net.minecraft.nbt.Tag
|
||||
import net.minecraft.nbt.*
|
||||
import net.minecraft.resources.ResourceKey
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
import net.minecraft.server.MinecraftServer
|
||||
@@ -120,11 +78,7 @@ import net.minecraft.server.level.ServerPlayer
|
||||
import net.minecraft.tags.TagKey
|
||||
import net.minecraft.world.damagesource.DamageSource
|
||||
import net.minecraft.world.damagesource.DamageTypes
|
||||
import net.minecraft.world.entity.Entity
|
||||
import net.minecraft.world.entity.EntityType
|
||||
import net.minecraft.world.entity.LightningBolt
|
||||
import net.minecraft.world.entity.LivingEntity
|
||||
import net.minecraft.world.entity.PathfinderMob
|
||||
import net.minecraft.world.entity.*
|
||||
import net.minecraft.world.entity.ai.behavior.BlockPosTracker
|
||||
import net.minecraft.world.entity.ai.memory.MemoryModuleType
|
||||
import net.minecraft.world.entity.ai.memory.MemoryStatus
|
||||
@@ -139,45 +93,7 @@ import net.minecraft.world.level.dimension.DimensionType
|
||||
import net.minecraft.world.level.levelgen.Heightmap
|
||||
import net.minecraft.world.phys.AABB
|
||||
import net.minecraft.world.phys.Vec3
|
||||
import java.util.UUID
|
||||
import kotlin.collections.HashMap
|
||||
import kotlin.collections.Map
|
||||
import kotlin.collections.MutableList
|
||||
import kotlin.collections.MutableSet
|
||||
import kotlin.collections.any
|
||||
import kotlin.collections.associate
|
||||
import kotlin.collections.component1
|
||||
import kotlin.collections.component2
|
||||
import kotlin.collections.contains
|
||||
import kotlin.collections.count
|
||||
import kotlin.collections.emptyList
|
||||
import kotlin.collections.filter
|
||||
import kotlin.collections.filterIsInstance
|
||||
import kotlin.collections.find
|
||||
import kotlin.collections.flatMap
|
||||
import kotlin.collections.forEach
|
||||
import kotlin.collections.forEachIndexed
|
||||
import kotlin.collections.getOrPut
|
||||
import kotlin.collections.hashMapOf
|
||||
import kotlin.collections.isNotEmpty
|
||||
import kotlin.collections.iterator
|
||||
import kotlin.collections.listOf
|
||||
import kotlin.collections.map
|
||||
import kotlin.collections.mapIndexed
|
||||
import kotlin.collections.mapNotNull
|
||||
import kotlin.collections.mapOf
|
||||
import kotlin.collections.maxOfOrNull
|
||||
import kotlin.collections.minByOrNull
|
||||
import kotlin.collections.minOfOrNull
|
||||
import kotlin.collections.mutableListOf
|
||||
import kotlin.collections.mutableSetOf
|
||||
import kotlin.collections.none
|
||||
import kotlin.collections.random
|
||||
import kotlin.collections.set
|
||||
import kotlin.collections.setOf
|
||||
import kotlin.collections.toList
|
||||
import kotlin.collections.toMap
|
||||
import kotlin.collections.toTypedArray
|
||||
import java.util.*
|
||||
import kotlin.math.sqrt
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
@@ -77,18 +77,18 @@ object CatchRateModifiers {
|
||||
|
||||
/**
|
||||
* Used by [PokeBalls.MOON_BALL].
|
||||
* Boosts the catch rate 1.5× during Moon Phases 3 and 7 between the times of 12000 – 24000.
|
||||
* 2.5× during Moon Phases 2 and 8 between the times of 12000 – 24000.
|
||||
* 4× during Moon Phase 1 between the times of 12000 – 24000.
|
||||
* Boosts the catch rate 1.5× during Moon Phases 2 and 6 between the times of 12000 – 24000.
|
||||
* 2.5× during Moon Phases 1 and 7 between the times of 12000 – 24000.
|
||||
* 4× during Moon Phase 0 between the times of 12000 – 24000.
|
||||
* 1× otherwise.
|
||||
*/
|
||||
val MOON_PHASES: CatchRateModifier = WorldStateModifier { _, entity ->
|
||||
if (entity.level().gameTime in 12000..24000)
|
||||
return@WorldStateModifier 1F
|
||||
when (entity.level().moonPhase) {
|
||||
3, 7 -> 1.5F
|
||||
2, 8 -> 2.5F
|
||||
1 -> 4F
|
||||
2, 6 -> 1.5F
|
||||
1, 7 -> 2.5F
|
||||
0 -> 4F
|
||||
else -> 1F
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ import com.cobblemon.mod.common.api.spawning.spawner.PlayerSpawnerFactory
|
||||
import com.cobblemon.mod.common.platform.events.PlatformEvents
|
||||
import com.cobblemon.mod.common.util.server
|
||||
import com.cobblemon.mod.common.world.gamerules.CobblemonGameRules
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import java.util.UUID
|
||||
import net.minecraft.server.level.ServerPlayer
|
||||
|
||||
@@ -32,24 +33,45 @@ object CobblemonWorldSpawnerManager : SpawnerManager() {
|
||||
init {
|
||||
PlatformEvents.SERVER_PLAYER_LOGIN.subscribe { this.onPlayerLogin(it.player) }
|
||||
PlatformEvents.SERVER_PLAYER_LOGOUT.subscribe { this.onPlayerLogout(it.player) }
|
||||
PlatformEvents.CHANGE_DIMENSION.subscribe { this.onDimensionChange(it.player, it.origin, it.destination) }
|
||||
}
|
||||
|
||||
fun onPlayerLogin(player: ServerPlayer) {
|
||||
// Disables spawning
|
||||
if (!Cobblemon.config.enableSpawning || server()?.gameRules?.getBoolean(CobblemonGameRules.DO_POKEMON_SPAWNING) == false) {
|
||||
if (!Cobblemon.config.enableSpawning || player.level().gameRules.getBoolean(CobblemonGameRules.DO_POKEMON_SPAWNING) == false) {
|
||||
return;
|
||||
}
|
||||
|
||||
val spawner = PlayerSpawnerFactory.create(this, player)
|
||||
spawnersForPlayers[player.uuid] = spawner
|
||||
registerSpawner(spawner)
|
||||
registerPlayerSpawner(player)
|
||||
}
|
||||
|
||||
fun onPlayerLogout(player: ServerPlayer) {
|
||||
val spawner = spawnersForPlayers[player.uuid]
|
||||
if (spawner != null) {
|
||||
spawnersForPlayers.remove(player.uuid)
|
||||
unregisterSpawner(spawner)
|
||||
unregisterPlayerSpawner(player)
|
||||
}
|
||||
|
||||
fun onDimensionChange(player: ServerPlayer, origin: ServerLevel?, destination: ServerLevel?) {
|
||||
fun getSpawnRule(level: ServerLevel?) = level?.gameRules?.getBoolean(CobblemonGameRules.DO_POKEMON_SPAWNING)
|
||||
|
||||
if (!Cobblemon.config.enableSpawning || getSpawnRule(origin) == getSpawnRule(destination)) {
|
||||
return
|
||||
}
|
||||
|
||||
val spawnerAction = if (destination?.gameRules?.getBoolean(CobblemonGameRules.DO_POKEMON_SPAWNING) == false) {
|
||||
::unregisterPlayerSpawner
|
||||
} else {
|
||||
::registerPlayerSpawner
|
||||
}
|
||||
spawnerAction(player)
|
||||
}
|
||||
|
||||
private fun unregisterPlayerSpawner(player: ServerPlayer) {
|
||||
spawnersForPlayers.remove(player.uuid)?.let { unregisterSpawner(it) }
|
||||
}
|
||||
|
||||
private fun registerPlayerSpawner(player: ServerPlayer) {
|
||||
PlayerSpawnerFactory.create(this, player).also {
|
||||
spawnersForPlayers[player.uuid] = it
|
||||
registerSpawner(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -71,10 +71,15 @@ open class SpawnerManager {
|
||||
|
||||
open fun onServerTick() {
|
||||
// Disables spawning
|
||||
if (!Cobblemon.config.enableSpawning || server()?.gameRules?.getBoolean(DO_POKEMON_SPAWNING) == false) {
|
||||
if (!Cobblemon.config.enableSpawning) {
|
||||
return
|
||||
}
|
||||
influences.removeIf { it.isExpired() }
|
||||
getSpawnersOfType<TickingSpawner>().forEach(TickingSpawner::tick)
|
||||
getSpawnersOfType<TickingSpawner>().forEach {
|
||||
if (it.getCauseEntity()?.level()?.gameRules?.getBoolean(DO_POKEMON_SPAWNING) == false) {
|
||||
return@forEach
|
||||
}
|
||||
it.tick()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -34,11 +34,7 @@ import com.cobblemon.mod.common.client.render.pokemon.PokemonRenderer.Companion.
|
||||
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity
|
||||
import com.cobblemon.mod.common.net.messages.server.pokemon.update.ServerboundUpdateRidingStatePacket
|
||||
import com.cobblemon.mod.common.pokemon.Pokemon
|
||||
import com.cobblemon.mod.common.util.MovingSoundInstance
|
||||
import com.cobblemon.mod.common.util.asExpressionLike
|
||||
import com.cobblemon.mod.common.util.asIdentifierDefaultingNamespace
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import com.cobblemon.mod.common.util.resolve
|
||||
import com.cobblemon.mod.common.util.*
|
||||
import com.mojang.blaze3d.vertex.PoseStack
|
||||
import net.minecraft.client.Minecraft
|
||||
import net.minecraft.network.syncher.EntityDataAccessor
|
||||
|
||||
@@ -458,10 +458,11 @@ class PokemonInfoWidget(val pX: Int, val pY: Int, val updateForm: (PokedexForm)
|
||||
formRightButton.render(context,mouseX, mouseY, delta)
|
||||
|
||||
val form = showableForms[selectedFormIndex]
|
||||
val formName = if (form.displayForm.lowercase() == "normal") "" else "-${form.displayForm.lowercase().replace("-", "")}"
|
||||
drawScaledTextJustifiedRight(
|
||||
context = context,
|
||||
font = CobblemonResources.DEFAULT_LARGE,
|
||||
text = lang("ui.pokedex.info.form.${form.displayForm.lowercase()}").bold(),
|
||||
text = lang("ui.pokedex.info.form.${species}${formName}").bold(),
|
||||
x = pX + 136,
|
||||
y = pY + 15,
|
||||
shadow = true
|
||||
|
||||
@@ -108,6 +108,10 @@ class BedrockSoundKeyframe(
|
||||
override fun run(entity: Entity?, state: PosableState) {
|
||||
val soundEvent = SoundEvent.createVariableRangeEvent(sound) // Means we don't need to setup a sound registry entry for every single thing
|
||||
if (soundEvent != null) {
|
||||
val minecraft = Minecraft.getInstance()
|
||||
if (minecraft.screen != null && !soundEvent.location.path.contains("cry")) {
|
||||
return
|
||||
}
|
||||
if (entity != null) {
|
||||
entity.level().playLocalSound(entity, soundEvent, entity.soundSource, 1F, 1F)
|
||||
} else {
|
||||
|
||||
@@ -1,64 +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.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.Companion.MOVING_POSES
|
||||
import com.cobblemon.mod.common.entity.PoseType.Companion.STATIONARY_POSES
|
||||
import com.cobblemon.mod.common.entity.PoseType.Companion.UI_POSES
|
||||
import net.minecraft.client.model.geom.ModelPart
|
||||
import net.minecraft.world.phys.Vec3
|
||||
|
||||
class KangaskhanModel(root: ModelPart) : PokemonPosableModel(root), HeadedFrame {
|
||||
override val rootPart = root.registerChildWithAllChildren("kangaskhan")
|
||||
override val head = getPart("head")
|
||||
|
||||
override var portraitScale = 1.7F
|
||||
override var portraitTranslation = Vec3(-0.15, 1.1, 0.0)
|
||||
|
||||
override var profileScale = 0.7F
|
||||
override var profileTranslation = Vec3(0.0, 0.65, 0.0)
|
||||
|
||||
lateinit var standing: Pose
|
||||
lateinit var walk: Pose
|
||||
|
||||
override fun registerPoses() {
|
||||
val blink = quirk { bedrockStateful("kangaskhan", "blink")}
|
||||
val blink2 = quirk { bedrockStateful("kangaskhan", "blink2")}
|
||||
standing = registerPose(
|
||||
poseName = "standing",
|
||||
poseTypes = STATIONARY_POSES + UI_POSES,
|
||||
transformTicks = 10,
|
||||
quirks = arrayOf(blink, blink2),
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
bedrock("kangaskhan", "ground_idle")
|
||||
)
|
||||
)
|
||||
|
||||
walk = registerPose(
|
||||
poseName = "walk",
|
||||
poseTypes = MOVING_POSES,
|
||||
transformTicks = 10,
|
||||
quirks = arrayOf(blink, blink2),
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
bedrock("kangaskhan", "ground_idle")
|
||||
//bedrock("kangaskhan", "ground_walk")
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
// override fun getFaintAnimation(
|
||||
// pokemonEntity: PokemonEntity,
|
||||
// state: PosableState<PokemonEntity>
|
||||
// ) = if (state.isPosedIn(standing, walk)) bedrockStateful("kangaskhan", "faint") else null
|
||||
}
|
||||
@@ -8,11 +8,11 @@
|
||||
|
||||
package com.cobblemon.mod.common.client.render.models.blockbench.pokemon.gen3
|
||||
|
||||
import com.cobblemon.mod.common.client.render.models.blockbench.pokemon.PokemonPosableModel
|
||||
import com.cobblemon.mod.common.client.render.models.blockbench.PosableState
|
||||
import com.cobblemon.mod.common.client.render.models.blockbench.frame.BimanualFrame
|
||||
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 net.minecraft.client.model.geom.ModelPart
|
||||
@@ -38,7 +38,6 @@ class LudicoloModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame,
|
||||
lateinit var floating: Pose
|
||||
lateinit var swim: Pose
|
||||
lateinit var sleep: Pose
|
||||
lateinit var dance: Pose
|
||||
|
||||
override fun registerPoses() {
|
||||
val blink = quirk { bedrockStateful("ludicolo", "blink") }
|
||||
@@ -88,17 +87,6 @@ class LudicoloModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame,
|
||||
)
|
||||
)
|
||||
|
||||
dance = registerPose(
|
||||
poseName = "dance",
|
||||
poseType = PoseType.DANCE,
|
||||
transformTicks = 10,
|
||||
quirks = arrayOf(blink),
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
bedrock("ludicolo", "dance"),
|
||||
)
|
||||
)
|
||||
|
||||
}
|
||||
override fun getFaintAnimation(state: PosableState) = if (state.isNotPosedIn(sleep)) bedrockStateful("ludicolo", "faint") else null
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,6 @@ class AmbipomModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame, B
|
||||
lateinit var walking: Pose
|
||||
lateinit var sleep: Pose
|
||||
lateinit var battleidle: Pose
|
||||
lateinit var dancing: Pose
|
||||
|
||||
override val cryAnimation = CryProvider { bedrockStateful("ambipom", "cry") }
|
||||
|
||||
@@ -51,7 +50,8 @@ class AmbipomModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame, B
|
||||
|
||||
standing = registerPose(
|
||||
poseName = "standing",
|
||||
poseTypes = PoseType.UI_POSES + PoseType.STAND,
|
||||
poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES,
|
||||
condition = { !it.isBattling },
|
||||
quirks = arrayOf(blink),
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
@@ -80,20 +80,10 @@ class AmbipomModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame, B
|
||||
bedrock("ambipom", "ground_idle")
|
||||
)
|
||||
)
|
||||
|
||||
dancing = registerPose(
|
||||
poseName = "dancing",
|
||||
poseType = PoseType.DANCE,
|
||||
quirks = arrayOf(blink),
|
||||
animations = arrayOf(
|
||||
singleBoneLook(),
|
||||
bedrock("ambipom", "dance")
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
// override fun getFaintAnimation(
|
||||
// pokemonEntity: PokemonEntity,
|
||||
// state: PosableState<PokemonEntity>
|
||||
// ) = if (state.isPosedIn(standing, walk)) bedrockStateful("ambipom", "faint") else null
|
||||
}
|
||||
}
|
||||
@@ -287,7 +287,6 @@ object VaryingModelRepository {
|
||||
inbuilt("kabuto", ::KabutoModel)
|
||||
inbuilt("kabutops", ::KabutopsModel)
|
||||
inbuilt("kadabra", ::KadabraModel)
|
||||
inbuilt("kangaskhan", ::KangaskhanModel)
|
||||
inbuilt("koffing", ::KoffingModel)
|
||||
inbuilt("krabby", ::KrabbyModel)
|
||||
inbuilt("lickitung", ::LickitungModel)
|
||||
|
||||
@@ -280,9 +280,6 @@ class CobblemonConfig {
|
||||
@CobblemonConfigField(Category.Debug, lang = "enable_debug_keys")
|
||||
var enableDebugKeys = false
|
||||
|
||||
@CobblemonConfigField(Category.Pokemon, lang="pokemon_dance_distance")
|
||||
var pokemonDanceDistance = 3.0
|
||||
|
||||
fun clone(): CobblemonConfig {
|
||||
val newConfig = CobblemonConfig()
|
||||
CobblemonConfig::class.memberProperties.forEach { property ->
|
||||
|
||||
@@ -9,9 +9,8 @@
|
||||
package com.cobblemon.mod.common.entity
|
||||
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import java.util.*
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
import java.util.EnumSet
|
||||
import java.util.Locale
|
||||
|
||||
/**
|
||||
* The type of a pose. Used for normalizing pose swapping for all models.
|
||||
@@ -28,7 +27,6 @@ enum class PoseType {
|
||||
FLOAT,
|
||||
SWIM,
|
||||
GLIDE,
|
||||
DANCE,
|
||||
/** A pose for rendering on the left shoulder. Pose animations are given the player head yaw, pitch, and ageInTicks. */
|
||||
SHOULDER_LEFT,
|
||||
/** A pose for rendering on the right shoulder. Pose animations are given the player head yaw, pitch, and ageInTicks. */
|
||||
|
||||
@@ -50,6 +50,7 @@ import com.cobblemon.mod.common.api.riding.behaviour.RidingBehaviours
|
||||
import com.cobblemon.mod.common.api.riding.events.SelectDriverEvent
|
||||
import com.cobblemon.mod.common.api.riding.stats.RidingStat
|
||||
import com.cobblemon.mod.common.api.riding.util.RidingAnimationData
|
||||
import com.cobblemon.mod.common.api.riding.util.Vec3Spring
|
||||
import com.cobblemon.mod.common.api.scheduling.Schedulable
|
||||
import com.cobblemon.mod.common.api.scheduling.SchedulingTracker
|
||||
import com.cobblemon.mod.common.api.scheduling.afterOnServer
|
||||
|
||||
@@ -11,7 +11,6 @@ package com.cobblemon.mod.common.entity.pokemon
|
||||
import com.bedrockk.molang.runtime.struct.QueryStruct
|
||||
import com.bedrockk.molang.runtime.value.DoubleValue
|
||||
import com.bedrockk.molang.runtime.value.MoValue
|
||||
import com.cobblemon.mod.common.Cobblemon
|
||||
import com.cobblemon.mod.common.CobblemonSounds
|
||||
import com.cobblemon.mod.common.OrientationControllable
|
||||
import com.cobblemon.mod.common.api.entity.PokemonSender
|
||||
@@ -30,10 +29,8 @@ import com.cobblemon.mod.common.util.asUUID
|
||||
import com.cobblemon.mod.common.util.getIsSubmerged
|
||||
import com.cobblemon.mod.common.util.math.geometry.toRadians
|
||||
import com.cobblemon.mod.common.util.playSoundServer
|
||||
import com.cobblemon.mod.common.util.toVec3d
|
||||
import com.cobblemon.mod.common.util.update
|
||||
import com.cobblemon.mod.common.world.gamerules.CobblemonGameRules
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.network.chat.Component
|
||||
import net.minecraft.network.syncher.EntityDataAccessor
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
@@ -42,20 +39,16 @@ import net.minecraft.world.damagesource.DamageSource
|
||||
import net.minecraft.world.entity.Entity
|
||||
import net.minecraft.world.entity.ai.attributes.Attributes
|
||||
import net.minecraft.world.item.ItemStack
|
||||
import net.minecraft.world.level.block.entity.JukeboxBlockEntity
|
||||
import net.minecraft.world.level.pathfinder.PathType
|
||||
import org.joml.Matrix3f
|
||||
import org.joml.Vector3f
|
||||
import java.util.Optional
|
||||
import java.util.*
|
||||
|
||||
/** Handles purely server logic for a Pokémon */
|
||||
class PokemonServerDelegate : PokemonSideDelegate {
|
||||
lateinit var entity: PokemonEntity
|
||||
var acknowledgedHPStat = -1
|
||||
|
||||
var dancing: Boolean = false
|
||||
var jukeboxPos: BlockPos? = null
|
||||
|
||||
/** Mocked properties exposed to the client [PokemonEntity]. */
|
||||
private val mock: PokemonProperties?
|
||||
get() = entity.effects.mockEffect?.mock
|
||||
@@ -272,15 +265,6 @@ class PokemonServerDelegate : PokemonSideDelegate {
|
||||
val isPassenger = entity.isPassenger
|
||||
val isUnderwater = entity.getIsSubmerged()
|
||||
val isFlying = entity.getBehaviourFlag(PokemonBehaviourFlag.FLYING)
|
||||
var isDancing = false
|
||||
|
||||
if (jukeboxPos != null) {
|
||||
val level = entity.level()
|
||||
val jukeboxBlockEntity = if (level.isLoaded(jukeboxPos!!)) level.getBlockEntity(jukeboxPos) as? JukeboxBlockEntity
|
||||
else null
|
||||
val distanceToJukebox = jukeboxPos?.toVec3d()?.distanceTo(entity.position())
|
||||
isDancing = jukeboxBlockEntity?.songPlayer?.isPlaying == true && (distanceToJukebox ?: 100.0) < Cobblemon.config.pokemonDanceDistance
|
||||
}
|
||||
|
||||
val poseType = when {
|
||||
isPassenger -> PoseType.STAND
|
||||
@@ -290,7 +274,6 @@ class PokemonServerDelegate : PokemonSideDelegate {
|
||||
isMoving && isFlying -> PoseType.FLY
|
||||
isFlying -> PoseType.HOVER
|
||||
isMoving -> PoseType.WALK
|
||||
isDancing -> PoseType.DANCE
|
||||
else -> PoseType.STAND
|
||||
}
|
||||
|
||||
|
||||
@@ -353,6 +353,18 @@ object CobblemonItemGroups {
|
||||
entries.accept(CobblemonItems.LEEK_AND_POTATO_STEW)
|
||||
entries.accept(CobblemonItems.BRAISED_VIVICHOKE)
|
||||
entries.accept(CobblemonItems.VIVICHOKE_DIP)
|
||||
entries.accept(CobblemonItems.TART_APPLE)
|
||||
entries.accept(CobblemonItems.SWEET_APPLE)
|
||||
entries.accept(CobblemonItems.SYRUPY_APPLE)
|
||||
entries.accept(CobblemonItems.WHIPPED_DREAM)
|
||||
entries.accept(CobblemonItems.STRAWBERRY_SWEET)
|
||||
entries.accept(CobblemonItems.LOVE_SWEET)
|
||||
entries.accept(CobblemonItems.BERRY_SWEET)
|
||||
entries.accept(CobblemonItems.CLOVER_SWEET)
|
||||
entries.accept(CobblemonItems.FLOWER_SWEET)
|
||||
entries.accept(CobblemonItems.STAR_SWEET)
|
||||
entries.accept(CobblemonItems.RIBBON_SWEET)
|
||||
|
||||
entries.accept(CobblemonItems.BERRY_JUICE)
|
||||
entries.accept(CobblemonItems.REMEDY)
|
||||
entries.accept(CobblemonItems.FINE_REMEDY)
|
||||
@@ -475,6 +487,7 @@ object CobblemonItemGroups {
|
||||
entries.accept(CobblemonItems.WHIPPED_DREAM)
|
||||
entries.accept(CobblemonItems.TART_APPLE)
|
||||
entries.accept(CobblemonItems.SWEET_APPLE)
|
||||
entries.accept(CobblemonItems.SYRUPY_APPLE)
|
||||
entries.accept(CobblemonItems.CRACKED_POT)
|
||||
entries.accept(CobblemonItems.CHIPPED_POT)
|
||||
entries.accept(CobblemonItems.MASTERPIECE_TEACUP)
|
||||
@@ -644,9 +657,23 @@ object CobblemonItemGroups {
|
||||
}
|
||||
|
||||
private fun foodInjections(injector: Injector) {
|
||||
injector.putAfter(CobblemonItems.TART_APPLE, Items.ENCHANTED_GOLDEN_APPLE)
|
||||
injector.putAfter(CobblemonItems.SWEET_APPLE, CobblemonItems.TART_APPLE)
|
||||
injector.putAfter(CobblemonItems.SYRUPY_APPLE, CobblemonItems.SWEET_APPLE)
|
||||
|
||||
injector.putAfter(CobblemonItems.MEDICINAL_LEEK, Items.POISONOUS_POTATO)
|
||||
injector.putAfter(CobblemonItems.ROASTED_LEEK, CobblemonItems.MEDICINAL_LEEK)
|
||||
injector.putAfter(CobblemonItems.BRAISED_VIVICHOKE, CobblemonItems.ROASTED_LEEK)
|
||||
|
||||
injector.putAfter(CobblemonItems.WHIPPED_DREAM, Items.PUMPKIN_PIE)
|
||||
injector.putAfter(CobblemonItems.STRAWBERRY_SWEET, CobblemonItems.WHIPPED_DREAM)
|
||||
injector.putAfter(CobblemonItems.LOVE_SWEET, CobblemonItems.STRAWBERRY_SWEET)
|
||||
injector.putAfter(CobblemonItems.BERRY_SWEET, CobblemonItems.LOVE_SWEET)
|
||||
injector.putAfter(CobblemonItems.CLOVER_SWEET, CobblemonItems.BERRY_SWEET)
|
||||
injector.putAfter(CobblemonItems.FLOWER_SWEET, CobblemonItems.CLOVER_SWEET)
|
||||
injector.putAfter(CobblemonItems.STAR_SWEET, CobblemonItems.FLOWER_SWEET)
|
||||
injector.putAfter(CobblemonItems.RIBBON_SWEET, CobblemonItems.STAR_SWEET)
|
||||
|
||||
injector.putAfter(CobblemonItems.LEEK_AND_POTATO_STEW, Items.RABBIT_STEW)
|
||||
injector.putAfter(CobblemonItems.VIVICHOKE_DIP, CobblemonItems.LEEK_AND_POTATO_STEW)
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
package com.cobblemon.mod.common.platform.events
|
||||
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.server.level.ServerPlayer
|
||||
|
||||
class ChangeDimensionEvent(val player: ServerPlayer)
|
||||
class ChangeDimensionEvent(val player: ServerPlayer, val origin: ServerLevel?, val destination: ServerLevel?)
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"portraitScale": 0.89,
|
||||
"portraitTranslation": [-0.17,2.04,0],
|
||||
"profileScale": 0.37,
|
||||
"profileTranslation": [0,1.14,0],
|
||||
"rootBone": "kangaskhan",
|
||||
"animations": {
|
||||
"cry": "q.bedrock_stateful('kangaskhan', 'cry')",
|
||||
"recoil": "q.bedrock_stateful('kangaskhan', 'recoil')"
|
||||
},
|
||||
"poses": {
|
||||
"battle-standing": {
|
||||
"poseTypes": [
|
||||
"STAND"
|
||||
],
|
||||
"isBattle": true,
|
||||
"animations": [
|
||||
"q.look('kid_head')",
|
||||
"q.bedrock('kangaskhan', 'battle_idle')"
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('kangaskhan', 'blink')"
|
||||
]
|
||||
},
|
||||
"standing": {
|
||||
"poseTypes": [
|
||||
"STAND",
|
||||
"NONE",
|
||||
"PORTRAIT",
|
||||
"PROFILE"
|
||||
],
|
||||
"isBattle": false,
|
||||
"animations": [
|
||||
"q.look('kid_head')",
|
||||
"q.bedrock('kangaskhan', 'ground_idle')"
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('kangaskhan', 'blink')"
|
||||
]
|
||||
},
|
||||
"walking": {
|
||||
"poseTypes": [
|
||||
"WALK",
|
||||
"SWIM"
|
||||
],
|
||||
"animations": [
|
||||
"q.look('kid_head')",
|
||||
"q.bedrock('kangaskhan', 'ground_walk')"
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('kangaskhan', 'blink')"
|
||||
]
|
||||
},
|
||||
"sleep": {
|
||||
"poseTypes": [
|
||||
"SLEEP"
|
||||
],
|
||||
"animations": [
|
||||
"q.bedrock('kangaskhan', 'sleep')"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -33,7 +33,6 @@
|
||||
"poseName": "standing",
|
||||
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
|
||||
"isBattle": false,
|
||||
"condition": "!q.is_dancing",
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.bedrock('empoleon', 'ground_idle_old')"
|
||||
@@ -121,13 +120,6 @@
|
||||
"rotation": [0, 12.5, -52.5]
|
||||
}
|
||||
]
|
||||
},
|
||||
"dancing": {
|
||||
"poseName": "dancing",
|
||||
"isBattle": false,
|
||||
"poseTypes": ["DANCE"],
|
||||
"animations": ["q.bedrock('empoleon', 'dance')"],
|
||||
"quirks": ["q.bedrock_quirk('empoleon', 'blink')"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,28 +1,58 @@
|
||||
{
|
||||
"portraitScale": 1.7,
|
||||
"portraitTranslation": [-0.07, 2.95, 0],
|
||||
"profileScale": 0.33,
|
||||
"profileTranslation": [0, 1.23, 0],
|
||||
"rootBone": "cinderace",
|
||||
"animations": {
|
||||
"cry": "q.bedrock_stateful('cinderace', 'cry')"
|
||||
},
|
||||
"poses": {
|
||||
"standing": {
|
||||
"poseName": "standing",
|
||||
"poseTypes": ["STAND", "FLOAT", "PORTRAIT", "PROFILE", "NONE"],
|
||||
"animations": ["q.bedrock('cinderace', 'ground_idle')"],
|
||||
"quirks": ["q.bedrock_quirk('cinderace', 'blink')"]
|
||||
"portraitScale": 1.5,
|
||||
"portraitTranslation": [-0.13, 2.74, 0],
|
||||
"profileScale": 0.37,
|
||||
"profileTranslation": [0, 1.22, 0],
|
||||
"rootBone": "cinderace",
|
||||
"animations": {
|
||||
"faint": "q.bedrock_primary('cinderace', math.random(0, 1) < 0.25 ? 'faint2' : 'faint', q.curve('one'))",
|
||||
"cry": "q.bedrock_stateful('cinderace', 'cry')",
|
||||
"recoil": "q.bedrock_stateful('cinderace', 'recoil')",
|
||||
"physical": "q.bedrock_primary('cinderace', 'physical', q.curve('symmetrical'))",
|
||||
"special": "q.bedrock_primary('cinderace', 'special', q.curve('symmetrical'))",
|
||||
"status": "q.bedrock_primary('cinderace', 'status', q.curve('symmetrical'))"
|
||||
},
|
||||
"walking": {
|
||||
"poseName": "walking",
|
||||
"poseTypes": ["WALK", "SWIM"],
|
||||
"animations": [
|
||||
"q.bedrock('cinderace', 'ground_idle')",
|
||||
"q.biped_walk(0.66, 0.6, 'leg_left0', 'leg_right0')",
|
||||
"q.bimanual_swing(0.66, 0.6, 'arm_left', 'arm_right')"
|
||||
],
|
||||
"quirks": ["q.bedrock_quirk('cinderace', 'blink')"]
|
||||
"poses": {
|
||||
"battle-standing": {
|
||||
"poseTypes": ["STAND"],
|
||||
"isBattle": true,
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.bedrock('cinderace', 'battle_idle')"
|
||||
],
|
||||
"namedAnimations": {
|
||||
"cry": "q.bedrock_primary('cinderace', 'battle_cry', q.curve('one'))"
|
||||
},
|
||||
"quirks": ["q.bedrock_quirk('cinderace', 'blink')"]
|
||||
},
|
||||
"standing": {
|
||||
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
|
||||
"isBattle": false,
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.bedrock('cinderace', 'ground_idle')"
|
||||
],
|
||||
"quirks": [
|
||||
"q.bedrock_quirk('cinderace', 'blink')"
|
||||
],
|
||||
"transitions": {
|
||||
"battle-standing": "q.bedrock_primary('cinderace', 'battle_intro'), q.curve('symmetrical'))"
|
||||
}
|
||||
},
|
||||
"walking": {
|
||||
"poseTypes": ["WALK"],
|
||||
"animations": [
|
||||
"q.look('head')",
|
||||
"q.bedrock('cinderace', 'ground_walk')"
|
||||
],
|
||||
"quirks": ["q.bedrock_quirk('cinderace', 'blink')"]
|
||||
},
|
||||
"sleeping": {
|
||||
"poseTypes": ["SLEEP"],
|
||||
"namedAnimations": {
|
||||
"cry": "q.bedrock_stateful('dummy', 'cry')"
|
||||
},
|
||||
"animations": ["q.bedrock('cinderace', 'sleep')"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,17 +1,19 @@
|
||||
{
|
||||
"species": "cobblemon:kangaskhan",
|
||||
"order": 0,
|
||||
"variations": [
|
||||
{
|
||||
"aspects": [],
|
||||
"poser": "cobblemon:kangaskhan",
|
||||
"model": "cobblemon:kangaskhan.geo",
|
||||
"texture": "cobblemon:textures/pokemon/0115_kangaskhan/kangaskhan.png",
|
||||
"layers": []
|
||||
},
|
||||
{
|
||||
"aspects": ["shiny"],
|
||||
"texture": "cobblemon:textures/pokemon/0115_kangaskhan/kangaskhan_shiny.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
"species": "cobblemon:kangaskhan",
|
||||
"order": 0,
|
||||
"variations": [
|
||||
{
|
||||
"aspects": [],
|
||||
"poser": "cobblemon:kangaskhan",
|
||||
"model": "cobblemon:kangaskhan.geo",
|
||||
"texture": "cobblemon:textures/pokemon/0115_kangaskhan/kangaskhan.png",
|
||||
"layers": []
|
||||
},
|
||||
{
|
||||
"aspects": [
|
||||
"shiny"
|
||||
],
|
||||
"texture": "cobblemon:textures/pokemon/0115_kangaskhan/kangaskhan_shiny.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -7,11 +7,20 @@
|
||||
"poser": "cobblemon:cinderace",
|
||||
"model": "cobblemon:cinderace.geo",
|
||||
"texture": "cobblemon:textures/pokemon/0815_cinderace/cinderace.png",
|
||||
"layers": []
|
||||
"layers": [
|
||||
{
|
||||
"name": "emissive",
|
||||
"emissive": true,
|
||||
"texture": "cobblemon:textures/pokemon/0815_cinderace/cinderace_emissive.png",
|
||||
"translucent": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"aspects": ["shiny"],
|
||||
"aspects": [
|
||||
"shiny"
|
||||
],
|
||||
"texture": "cobblemon:textures/pokemon/0815_cinderace/cinderace_shiny.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "cobblemon:item/evolution/syrupy_apple"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 437 B |
|
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 435 B |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 777 B |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 7.3 KiB |
@@ -6,6 +6,8 @@
|
||||
"cobblemon:braised_vivichoke",
|
||||
"cobblemon:leek_and_potato_stew",
|
||||
"cobblemon:vivichoke_dip",
|
||||
"cobblemon:energy_root"
|
||||
"cobblemon:energy_root",
|
||||
"cobblemon:whipped_dream",
|
||||
"#cobblemon:sweets"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"#cobblemon:berries"
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"parent": "cobblemon:recipes/root",
|
||||
"criteria": {
|
||||
"has_fire": {
|
||||
"has_stone": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
@@ -13,6 +13,18 @@
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_gem": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:fire_gem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "cobblemon:charcoal_stick"
|
||||
@@ -22,7 +34,8 @@
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_fire",
|
||||
"has_stone",
|
||||
"has_gem",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_gem": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:water_gem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "cobblemon:damp_rock"
|
||||
@@ -23,6 +35,7 @@
|
||||
"requirements": [
|
||||
[
|
||||
"has_stone",
|
||||
"has_gem",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_gem": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:dragon_gem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "cobblemon:dragon_fang"
|
||||
@@ -23,6 +35,7 @@
|
||||
"requirements": [
|
||||
[
|
||||
"has_breath",
|
||||
"has_gem",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
|
||||
@@ -6,13 +6,25 @@
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:water_stone"
|
||||
"cobblemon:fire_stone"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_gem": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:fire_gem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "cobblemon:heat_rock"
|
||||
@@ -23,6 +35,7 @@
|
||||
"requirements": [
|
||||
[
|
||||
"has_stone",
|
||||
"has_gem",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
|
||||
@@ -13,6 +13,18 @@
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_gem": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:ice_gem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "cobblemon:icy_rock"
|
||||
@@ -23,6 +35,7 @@
|
||||
"requirements": [
|
||||
[
|
||||
"has_stone",
|
||||
"has_gem",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"parent": "cobblemon:recipes/root",
|
||||
"criteria": {
|
||||
"has_water": {
|
||||
"has_stone": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
@@ -13,6 +13,18 @@
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_gem": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:water_gem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "cobblemon:mystic_water"
|
||||
@@ -22,7 +34,8 @@
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_water",
|
||||
"has_stone",
|
||||
"has_gem",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
|
||||
@@ -13,6 +13,30 @@
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_gem": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:ice_gem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_stone": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:ice_stone"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "cobblemon:never_melt_ice"
|
||||
@@ -23,6 +47,8 @@
|
||||
"requirements": [
|
||||
[
|
||||
"has_ice",
|
||||
"has_stone",
|
||||
"has_gem",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
{
|
||||
"parent": "cobblemon:recipes/root",
|
||||
"criteria": {
|
||||
"has_ice": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:ice_stone"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "cobblemon:never_melt_ice_using_stone"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_ice",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"cobblemon:never_melt_ice", "cobblemon:never_melt_ice_using_stone"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,30 @@
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_rock_gem": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:rock_gem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_ground_gem": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"cobblemon:ground_gem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "cobblemon:smooth_rock"
|
||||
@@ -23,6 +47,8 @@
|
||||
"requirements": [
|
||||
[
|
||||
"has_stone",
|
||||
"has_rock_gem",
|
||||
"has_ground_gem",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"bonus_rolls": 0,
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"items": "minecraft:shears"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"predicates": {
|
||||
"minecraft:enchantments": [
|
||||
{
|
||||
"enchantments": "minecraft:silk_touch",
|
||||
"levels": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
},
|
||||
{
|
||||
"chances": [
|
||||
0.005,
|
||||
0.0055555557,
|
||||
0.00625,
|
||||
0.008333334,
|
||||
0.025
|
||||
],
|
||||
"condition": "minecraft:table_bonus",
|
||||
"enchantment": "minecraft:fortune"
|
||||
}
|
||||
],
|
||||
"name": "cobblemon:tart_apple"
|
||||
}
|
||||
],
|
||||
"rolls": 1
|
||||
}
|
||||
],
|
||||
"random_sequence": "minecraft:blocks/dark_oak_leaves"
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"bonus_rolls": 0,
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"items": "minecraft:shears"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"predicates": {
|
||||
"minecraft:enchantments": [
|
||||
{
|
||||
"enchantments": "minecraft:silk_touch",
|
||||
"levels": {
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
},
|
||||
{
|
||||
"chances": [
|
||||
0.005,
|
||||
0.0055555557,
|
||||
0.00625,
|
||||
0.008333334,
|
||||
0.025
|
||||
],
|
||||
"condition": "minecraft:table_bonus",
|
||||
"enchantment": "minecraft:fortune"
|
||||
}
|
||||
],
|
||||
"name": "cobblemon:sweet_apple"
|
||||
}
|
||||
],
|
||||
"rolls": 1
|
||||
}
|
||||
],
|
||||
"random_sequence": "minecraft:blocks/oak_leaves"
|
||||
}
|
||||
@@ -282,7 +282,11 @@
|
||||
},
|
||||
{
|
||||
"content": 4,
|
||||
"tag": "#cobblemon:cooked_meat"
|
||||
"tag": "#c:foods/cooked_meat"
|
||||
},
|
||||
{
|
||||
"content": 4,
|
||||
"tag": "#c:foods/cooked_fish"
|
||||
},
|
||||
{
|
||||
"content": 2,
|
||||
@@ -410,11 +414,11 @@
|
||||
},
|
||||
{
|
||||
"content": 8,
|
||||
"tag": "#cobblemon:raw_meat"
|
||||
"tag": "#c:foods/raw_meat"
|
||||
},
|
||||
{
|
||||
"content": 8,
|
||||
"item": "minecraft:pufferfish"
|
||||
"tag": "#c:foods/raw_fish"
|
||||
},
|
||||
{
|
||||
"content": 8,
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "minecraft:red_wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
"P": {
|
||||
"item": "minecraft:phantom_membrane"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "basic_ancient_balls",
|
||||
"pattern": [
|
||||
" t ",
|
||||
"lcr",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "basic_ancient_balls",
|
||||
"pattern": [
|
||||
" t ",
|
||||
"lcr",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "basic_ancient_balls",
|
||||
"pattern": [
|
||||
" t ",
|
||||
"lcr",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "basic_ancient_balls",
|
||||
"pattern": [
|
||||
" t ",
|
||||
"lcr",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "basic_ancient_balls",
|
||||
"pattern": [
|
||||
" t ",
|
||||
"lcr",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "basic_ancient_balls",
|
||||
"pattern": [
|
||||
" t ",
|
||||
"lcr",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "basic_ancient_balls",
|
||||
"pattern": [
|
||||
" t ",
|
||||
"lcr",
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"P P",
|
||||
"WCW",
|
||||
"WWW"
|
||||
"SCS",
|
||||
" S "
|
||||
],
|
||||
"key": {
|
||||
"P": {
|
||||
@@ -12,8 +12,8 @@
|
||||
"C": {
|
||||
"item": "minecraft:leather_chestplate"
|
||||
},
|
||||
"W": {
|
||||
"item": "minecraft:red_wool"
|
||||
"S": {
|
||||
"item": "minecraft:armadillo_scute"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "basic_balls",
|
||||
"pattern": [
|
||||
" t ",
|
||||
"lcr",
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" SW",
|
||||
" S ",
|
||||
"SsS",
|
||||
"WS "
|
||||
" S "
|
||||
],
|
||||
"key": {
|
||||
"S": {
|
||||
@@ -11,9 +11,6 @@
|
||||
},
|
||||
"s": {
|
||||
"tag": "c:slime_balls"
|
||||
},
|
||||
"W": {
|
||||
"item": "minecraft:brown_wool"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"W ",
|
||||
"KKK",
|
||||
" W"
|
||||
"K ",
|
||||
"KGK",
|
||||
" K"
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "minecraft:black_wool"
|
||||
"G": {
|
||||
"item": "cobblemon:fighting_gem"
|
||||
},
|
||||
"K": {
|
||||
"item": "minecraft:dried_kelp"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "gilded_chest",
|
||||
"pattern": [
|
||||
"GKG",
|
||||
"#C#",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "gilded_chest",
|
||||
"pattern": [
|
||||
"GKG",
|
||||
"#C#",
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" R ",
|
||||
"DIF",
|
||||
" P "
|
||||
"SPF",
|
||||
" I "
|
||||
],
|
||||
"key": {
|
||||
"R": {
|
||||
"item": "minecraft:rabbit_foot"
|
||||
},
|
||||
"D": {
|
||||
"tag": "c:dyes/yellow"
|
||||
"S": {
|
||||
"item": "minecraft:sugar"
|
||||
},
|
||||
"I": {
|
||||
"item": "minecraft:ink_sac"
|
||||
|
||||
@@ -1,17 +1,23 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "cell_battery",
|
||||
"pattern": [
|
||||
"I",
|
||||
"R",
|
||||
"C"
|
||||
" I",
|
||||
" R",
|
||||
" C"
|
||||
],
|
||||
"key": {
|
||||
"C": {
|
||||
"tag": "c:ingots/copper"
|
||||
},
|
||||
"R": {
|
||||
"R": [
|
||||
{
|
||||
"tag": "c:dusts/redstone"
|
||||
},
|
||||
},
|
||||
{
|
||||
"item": "cobblemon:electric_gem"
|
||||
}
|
||||
],
|
||||
"I": {
|
||||
"tag": "c:ingots/iron"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "charcoal_stick",
|
||||
"pattern": [
|
||||
"C",
|
||||
"S",
|
||||
@@ -9,9 +10,14 @@
|
||||
"C": {
|
||||
"item": "minecraft:charcoal"
|
||||
},
|
||||
"S": {
|
||||
"item": "cobblemon:fire_stone"
|
||||
}
|
||||
"S": [
|
||||
{
|
||||
"item": "cobblemon:fire_stone"
|
||||
},
|
||||
{
|
||||
"item": "cobblemon:fire_gem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"result": {
|
||||
"id": "cobblemon:charcoal_stick"
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"WQW",
|
||||
"LMQ",
|
||||
"RLW"
|
||||
"QLQ",
|
||||
"RML",
|
||||
"QRQ"
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "minecraft:white_wool"
|
||||
},
|
||||
"L": {
|
||||
"tag": "c:gems/lapis"
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "minecraft:light_blue_wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
"D": {
|
||||
"tag": "c:gems/diamond"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "basic_balls",
|
||||
"pattern": [
|
||||
" t ",
|
||||
"lcr",
|
||||
|
||||
@@ -1,21 +1,16 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" PW",
|
||||
"PRP",
|
||||
"WP "
|
||||
],
|
||||
"key": {
|
||||
"P": {
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:bone_meal"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:paper"
|
||||
},
|
||||
"W": {
|
||||
"tag": "c:dyes/white"
|
||||
},
|
||||
"R": {
|
||||
"tag": "c:dyes/red"
|
||||
{
|
||||
"item": "minecraft:fermented_spider_eye"
|
||||
}
|
||||
},
|
||||
],
|
||||
"result": {
|
||||
"id": "cobblemon:cleanse_tag"
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"item": "minecraft:golden_carrot"
|
||||
},
|
||||
"W": {
|
||||
"item": "minecraft:gray_wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
"P": {
|
||||
"item": "minecraft:phantom_membrane"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "weather_rock",
|
||||
"pattern": [
|
||||
"DS",
|
||||
"HD"
|
||||
@@ -8,9 +9,14 @@
|
||||
"D": {
|
||||
"item": "minecraft:dripstone_block"
|
||||
},
|
||||
"S": {
|
||||
"item": "cobblemon:water_stone"
|
||||
},
|
||||
"S": [
|
||||
{
|
||||
"item": "cobblemon:water_stone"
|
||||
},
|
||||
{
|
||||
"item": "cobblemon:water_gem"
|
||||
}
|
||||
],
|
||||
"H": {
|
||||
"item": "cobblemon:hard_stone"
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"item": "minecraft:ghast_tear"
|
||||
},
|
||||
"W": {
|
||||
"item": "minecraft:red_wool"
|
||||
"tag": "minecraft:wool"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
|
||||
@@ -4,9 +4,14 @@
|
||||
{
|
||||
"item": "cobblemon:razor_fang"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:dragon_breath"
|
||||
}
|
||||
[
|
||||
{
|
||||
"item": "cobblemon:dragon_gem"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:dragon_breath"
|
||||
}
|
||||
]
|
||||
],
|
||||
"result": {
|
||||
"id": "cobblemon:dragon_fang"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
],
|
||||
"key": {
|
||||
"Y": {
|
||||
"tag": "c:dyes/yellow"
|
||||
"tag": "c:nuggets/gold"
|
||||
},
|
||||
"I": {
|
||||
"tag": "c:ingots/iron"
|
||||
|
||||
@@ -2,16 +2,13 @@
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"P ",
|
||||
"WBW",
|
||||
" B ",
|
||||
" P"
|
||||
],
|
||||
"key": {
|
||||
"P": {
|
||||
"item": "minecraft:blaze_powder"
|
||||
},
|
||||
"W": {
|
||||
"item": "minecraft:black_wool"
|
||||
},
|
||||
"B": {
|
||||
"item": "cobblemon:black_belt"
|
||||
}
|
||||
|
||||
@@ -6,9 +6,14 @@
|
||||
"STP"
|
||||
],
|
||||
"key": {
|
||||
"S": {
|
||||
"item": "cobblemon:fire_stone"
|
||||
},
|
||||
"S": [
|
||||
{
|
||||
"item": "cobblemon:fire_stone"
|
||||
},
|
||||
{
|
||||
"item": "cobblemon:fire_gem"
|
||||
}
|
||||
],
|
||||
"T": {
|
||||
"item": "minecraft:tinted_glass"
|
||||
},
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"WIW",
|
||||
"LIL",
|
||||
"D I",
|
||||
"WDW"
|
||||
"LDL"
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "minecraft:red_wool"
|
||||
"L": {
|
||||
"tag": "c:leathers"
|
||||
},
|
||||
"D": {
|
||||
"item": "minecraft:blaze_powder"
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"D ",
|
||||
"WIW",
|
||||
"LIL",
|
||||
" D"
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "minecraft:red_wool"
|
||||
"L": {
|
||||
"tag": "c:leathers"
|
||||
},
|
||||
"D": {
|
||||
"item": "minecraft:blaze_powder"
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"sns",
|
||||
"n n",
|
||||
"sns"
|
||||
"SNS",
|
||||
"N N",
|
||||
"SNS"
|
||||
],
|
||||
"key": {
|
||||
"s": {
|
||||
"S": {
|
||||
"item": "minecraft:stick"
|
||||
},
|
||||
"n": {
|
||||
"N": {
|
||||
"item": "cobblemon:galarica_nuts"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"nnn",
|
||||
"n n",
|
||||
"nnn"
|
||||
"NNN",
|
||||
"N N",
|
||||
"NNN"
|
||||
],
|
||||
"key": {
|
||||
"n": {
|
||||
"N": {
|
||||
"item": "cobblemon:galarica_nuts"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "gilded_chest",
|
||||
"pattern": [
|
||||
"GKG",
|
||||
"#C#",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "gilded_chest",
|
||||
"pattern": [
|
||||
"GKG",
|
||||
"#C#",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "weather_rock",
|
||||
"pattern": [
|
||||
"DS",
|
||||
"HD"
|
||||
@@ -8,9 +9,14 @@
|
||||
"D": {
|
||||
"item": "minecraft:dripstone_block"
|
||||
},
|
||||
"S": {
|
||||
"item": "cobblemon:fire_stone"
|
||||
},
|
||||
"S": [
|
||||
{
|
||||
"item": "cobblemon:fire_stone"
|
||||
},
|
||||
{
|
||||
"item": "cobblemon:fire_gem"
|
||||
}
|
||||
],
|
||||
"H": {
|
||||
"item": "cobblemon:hard_stone"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "weather_rock",
|
||||
"pattern": [
|
||||
"DS",
|
||||
"HD"
|
||||
@@ -8,9 +9,14 @@
|
||||
"D": {
|
||||
"item": "minecraft:dripstone_block"
|
||||
},
|
||||
"S": {
|
||||
"item": "cobblemon:ice_stone"
|
||||
},
|
||||
"S": [
|
||||
{
|
||||
"item": "cobblemon:ice_stone"
|
||||
},
|
||||
{
|
||||
"item": "cobblemon:ice_gem"
|
||||
}
|
||||
],
|
||||
"H": {
|
||||
"item": "cobblemon:hard_stone"
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"tag": "c:ingots/iron"
|
||||
},
|
||||
"B": {
|
||||
"tag": "c:dyes/blue"
|
||||
"tag": "c:gems/lapis"
|
||||
},
|
||||
"R": {
|
||||
"tag": "c:dusts/redstone"
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" I ",
|
||||
"IBI",
|
||||
"InI",
|
||||
"INI"
|
||||
],
|
||||
"key": {
|
||||
"I": {
|
||||
"tag": "c:ingots/iron"
|
||||
},
|
||||
"B": {
|
||||
"item": "minecraft:iron_bars"
|
||||
"n": {
|
||||
"tag": "c:nuggets/iron"
|
||||
},
|
||||
"N": {
|
||||
"item": "minecraft:note_block"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "miracle_seed",
|
||||
"pattern": [
|
||||
" S ",
|
||||
"SLS",
|
||||
@@ -7,11 +8,16 @@
|
||||
],
|
||||
"key": {
|
||||
"S": {
|
||||
"tag": "minecraft:parrot_food"
|
||||
"tag": "c:seeds"
|
||||
},
|
||||
"L": {
|
||||
"item": "cobblemon:leaf_stone"
|
||||
}
|
||||
"L": [
|
||||
{
|
||||
"item": "cobblemon:leaf_stone"
|
||||
},
|
||||
{
|
||||
"item": "cobblemon:grass_gem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"result": {
|
||||
"id": "cobblemon:miracle_seed"
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"WIW",
|
||||
"LIL",
|
||||
"D I",
|
||||
"WDW"
|
||||
"LDL"
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "minecraft:yellow_wool"
|
||||
"L": {
|
||||
"item": "minecraft:leather"
|
||||
},
|
||||
"D": {
|
||||
"tag": "c:dusts/redstone"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "mystic_water",
|
||||
"pattern": [
|
||||
" S ",
|
||||
"S S",
|
||||
@@ -9,9 +10,14 @@
|
||||
"S": {
|
||||
"tag": "c:strings"
|
||||
},
|
||||
"W": {
|
||||
"item": "cobblemon:water_stone"
|
||||
}
|
||||
"W": [
|
||||
{
|
||||
"item": "cobblemon:water_stone"
|
||||
},
|
||||
{
|
||||
"item": "cobblemon:water_gem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"result": {
|
||||
"id": "cobblemon:mystic_water"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "never_melt_ice",
|
||||
"pattern": [
|
||||
" P ",
|
||||
"PBP"
|
||||
@@ -8,9 +9,17 @@
|
||||
"P": {
|
||||
"item": "minecraft:packed_ice"
|
||||
},
|
||||
"B": {
|
||||
"item": "minecraft:blue_ice"
|
||||
}
|
||||
"B": [
|
||||
{
|
||||
"item": "minecraft:blue_ice"
|
||||
},
|
||||
{
|
||||
"item": "cobblemon:ice_stone"
|
||||
},
|
||||
{
|
||||
"item": "cobblemon:ice_gem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"result": {
|
||||
"id": "cobblemon:never_melt_ice"
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" P ",
|
||||
"PIP"
|
||||
],
|
||||
"key": {
|
||||
"P": {
|
||||
"item": "minecraft:packed_ice"
|
||||
},
|
||||
"I": {
|
||||
"item": "cobblemon:ice_stone"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"id": "cobblemon:never_melt_ice"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "gilded_chest",
|
||||
"pattern": [
|
||||
"GKG",
|
||||
"#C#",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"group": "basic_balls",
|
||||
"pattern": [
|
||||
" t ",
|
||||
"lcr",
|
||||
|
||||