Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e64424199d | ||
|
|
b1cc052763 | ||
|
|
3973b6ee68 |
No files matched your search
@@ -10,6 +10,7 @@ package com.cobblemon.mod.common
|
||||
|
||||
import com.cobblemon.mod.common.api.apricorn.Apricorn
|
||||
import com.cobblemon.mod.common.api.pokemon.stats.Stats
|
||||
import com.cobblemon.mod.common.api.types.ElementalTypes
|
||||
import com.cobblemon.mod.common.block.*
|
||||
import com.cobblemon.mod.common.block.LecternBlock
|
||||
import com.cobblemon.mod.common.block.MintBlock.MintType
|
||||
@@ -28,6 +29,7 @@ import com.cobblemon.mod.common.block.sign.CobblemonWallHangingSignBlock
|
||||
import com.cobblemon.mod.common.block.sign.CobblemonWallSignBlock
|
||||
import com.cobblemon.mod.common.block.tmmachine.TMMachineBlock
|
||||
import com.cobblemon.mod.common.block.general.MintLitterBlock
|
||||
import com.cobblemon.mod.common.block.typeplate.TypePlateBlock
|
||||
import com.cobblemon.mod.common.mixin.invoker.BlocksInvoker
|
||||
import com.cobblemon.mod.common.mixin.invoker.DoorBlockInvoker
|
||||
import com.cobblemon.mod.common.mixin.invoker.FireBlockInvoker
|
||||
@@ -473,6 +475,134 @@ object CobblemonBlocks : PlatformRegistry<Registry<Block>, ResourceKey<Registry<
|
||||
@JvmField
|
||||
val DUSK_STONE_BLOCK = this.create("dusk_stone_block", Block(BlockBehaviour.Properties.of().mapColor(MapColor.WARPED_HYPHAE).strength(1.0F).sound(CobblemonSounds.EVOLUTION_STONE_BLOCK_SOUNDS).requiresCorrectToolForDrops().instrument(NoteBlockInstrument.BIT)))
|
||||
|
||||
@JvmField
|
||||
val BLANK_PLATE = this.create("blank_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.of().strength(1.0F).sound(SoundType.METAL).requiresCorrectToolForDrops().noOcclusion()
|
||||
.lightLevel { if (it.getValue(TypePlateBlock.ACTIVATED)) 6 else 0 },
|
||||
ElementalTypes.NORMAL
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val FLAME_PLATE = this.create("flame_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.FIRE
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val SPLASH_PLATE = this.create("splash_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.WATER
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val ZAP_PLATE = this.create("zap_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.ELECTRIC
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val MEADOW_PLATE = this.create("meadow_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.GRASS
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val ICICLE_PLATE = this.create("icicle_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.ICE
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val FIST_PLATE = this.create("fist_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.FIGHTING
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val TOXIC_PLATE = this.create("toxic_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.POISON
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val EARTH_PLATE = this.create("earth_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.GROUND
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val SKY_PLATE = this.create("sky_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.FLYING
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val MIND_PLATE = this.create("mind_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.PSYCHIC
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val INSECT_PLATE = this.create("insect_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.BUG
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val STONE_PLATE = this.create("stone_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.ROCK
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val SPOOKY_PLATE = this.create("spooky_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.GHOST
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val DRACO_PLATE = this.create("draco_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.DRAGON
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val DREAD_PLATE = this.create("dread_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.DARK
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val IRON_PLATE = this.create("iron_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.STEEL
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val PIXIE_PLATE = this.create("pixie_plate",
|
||||
TypePlateBlock(
|
||||
BlockBehaviour.Properties.ofFullCopy(BLANK_PLATE),
|
||||
ElementalTypes.FAIRY
|
||||
)
|
||||
)
|
||||
|
||||
@JvmField
|
||||
val BLACK_APRICORN = apricornBlock("black_apricorn", Apricorn.BLACK)
|
||||
@JvmField
|
||||
|
||||
@@ -1212,6 +1212,43 @@ object CobblemonItems : PlatformRegistry<Registry<Item>, ResourceKey<Registry<It
|
||||
@JvmField
|
||||
val BLACK_TUMBLESTONE_BLOCK = blockItem("black_tumblestone_block", CobblemonBlocks.BLACK_TUMBLESTONE_BLOCK)
|
||||
|
||||
@JvmField
|
||||
val BLANK_PLATE = blockItem("blank_plate", CobblemonBlocks.BLANK_PLATE)
|
||||
@JvmField
|
||||
val FLAME_PLATE = blockItem("flame_plate", CobblemonBlocks.FLAME_PLATE)
|
||||
@JvmField
|
||||
val SPLASH_PLATE = blockItem("splash_plate", CobblemonBlocks.SPLASH_PLATE)
|
||||
@JvmField
|
||||
val ZAP_PLATE = blockItem("zap_plate", CobblemonBlocks.ZAP_PLATE)
|
||||
@JvmField
|
||||
val MEADOW_PLATE = blockItem("meadow_plate", CobblemonBlocks.MEADOW_PLATE)
|
||||
@JvmField
|
||||
val ICICLE_PLATE = blockItem("icicle_plate", CobblemonBlocks.ICICLE_PLATE)
|
||||
@JvmField
|
||||
val FIST_PLATE = blockItem("fist_plate", CobblemonBlocks.FIST_PLATE)
|
||||
@JvmField
|
||||
val TOXIC_PLATE = blockItem("toxic_plate", CobblemonBlocks.TOXIC_PLATE)
|
||||
@JvmField
|
||||
val EARTH_PLATE = blockItem("earth_plate", CobblemonBlocks.EARTH_PLATE)
|
||||
@JvmField
|
||||
val SKY_PLATE = blockItem("sky_plate", CobblemonBlocks.SKY_PLATE)
|
||||
@JvmField
|
||||
val MIND_PLATE = blockItem("mind_plate", CobblemonBlocks.MIND_PLATE)
|
||||
@JvmField
|
||||
val INSECT_PLATE = blockItem("insect_plate", CobblemonBlocks.INSECT_PLATE)
|
||||
@JvmField
|
||||
val STONE_PLATE = blockItem("stone_plate", CobblemonBlocks.STONE_PLATE)
|
||||
@JvmField
|
||||
val SPOOKY_PLATE = blockItem("spooky_plate", CobblemonBlocks.SPOOKY_PLATE)
|
||||
@JvmField
|
||||
val DRACO_PLATE = blockItem("draco_plate", CobblemonBlocks.DRACO_PLATE)
|
||||
@JvmField
|
||||
val DREAD_PLATE = blockItem("dread_plate", CobblemonBlocks.DREAD_PLATE)
|
||||
@JvmField
|
||||
val IRON_PLATE = blockItem("iron_plate", CobblemonBlocks.IRON_PLATE)
|
||||
@JvmField
|
||||
val PIXIE_PLATE = blockItem("pixie_plate", CobblemonBlocks.PIXIE_PLATE)
|
||||
|
||||
@JvmField
|
||||
val TYPE_GEM_CORE = blockItem("deepslate_crystal_core", CobblemonBlocks.TYPE_GEM_CORE)
|
||||
|
||||
|
||||
@@ -0,0 +1,203 @@
|
||||
package com.cobblemon.mod.common.block.typeplate
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonBlocks
|
||||
import com.cobblemon.mod.common.api.types.ElementalType
|
||||
import com.cobblemon.mod.common.api.types.ElementalTypes
|
||||
import com.mojang.serialization.MapCodec
|
||||
import com.mojang.serialization.codecs.RecordCodecBuilder
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Direction
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.item.context.BlockPlaceContext
|
||||
import net.minecraft.world.level.BlockGetter
|
||||
import net.minecraft.world.level.Level
|
||||
import net.minecraft.world.level.LevelAccessor
|
||||
import net.minecraft.world.level.LevelReader
|
||||
import net.minecraft.world.level.block.Block
|
||||
import net.minecraft.world.level.block.Blocks
|
||||
import net.minecraft.world.level.block.DirectionalBlock
|
||||
import net.minecraft.world.level.block.RenderShape
|
||||
import net.minecraft.world.level.block.SimpleWaterloggedBlock
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
import net.minecraft.world.level.block.state.StateDefinition
|
||||
import net.minecraft.world.level.block.state.properties.BlockStateProperties
|
||||
import net.minecraft.world.level.block.state.properties.BlockStateProperties.WATERLOGGED
|
||||
import net.minecraft.world.level.block.state.properties.BooleanProperty
|
||||
import net.minecraft.world.level.block.state.properties.IntegerProperty
|
||||
import net.minecraft.world.level.material.FluidState
|
||||
import net.minecraft.world.level.material.Fluids
|
||||
import net.minecraft.world.phys.shapes.CollisionContext
|
||||
import net.minecraft.world.phys.shapes.Shapes
|
||||
import net.minecraft.world.phys.shapes.VoxelShape
|
||||
|
||||
/**
|
||||
* A type plate block (wow)
|
||||
* Logic should be diverted to a [TypePlateMechanic] class whenever possible.
|
||||
*
|
||||
* @author whatsy
|
||||
* @since December 2nd, 2026
|
||||
*/
|
||||
class TypePlateBlock(properties: Properties, val type: ElementalType) : DirectionalBlock(properties), SimpleWaterloggedBlock {
|
||||
|
||||
companion object {
|
||||
val CODEC: MapCodec<TypePlateBlock> = RecordCodecBuilder.mapCodec { instance ->
|
||||
instance.group(
|
||||
propertiesCodec(),
|
||||
ElementalType.BY_STRING_CODEC.fieldOf("type").forGetter(TypePlateBlock::type)
|
||||
).apply(instance, ::TypePlateBlock)
|
||||
}
|
||||
|
||||
val ACTIVATED = BooleanProperty.create("activated")
|
||||
val ROTATION = IntegerProperty.create("rotation", 0, 3)
|
||||
val FACING = DirectionalBlock.FACING
|
||||
|
||||
private val SHAPES = mapOf(
|
||||
Direction.UP to Shapes.box(3.0 / 16.0, 0.0, 2.0 / 16.0, 13.0 / 16.0, 3.0 / 16.0, 14.0 / 16.0),
|
||||
Direction.DOWN to Shapes.box(3.0 / 16.0, 13.0 / 16.0, 2.0 / 16.0, 13.0 / 16.0, 1.0, 14.0 / 16.0),
|
||||
Direction.NORTH to Shapes.box(3.0 / 16.0, 2.0 / 16.0, 13.0 / 16.0, 13.0 / 16.0, 14.0 / 16.0, 1.0),
|
||||
Direction.SOUTH to Shapes.box(3.0 / 16.0, 2.0 / 16.0, 0.0, 13.0 / 16.0, 14.0 / 16.0, 3.0 / 16.0),
|
||||
Direction.EAST to Shapes.box(0.0, 2.0 / 16.0, 3.0 / 16.0, 3.0 / 16.0, 14.0 / 16.0, 13.0 / 16.0),
|
||||
Direction.WEST to Shapes.box(13.0 / 16.0, 2.0 / 16.0, 3.0 / 16.0, 1.0, 14.0 / 16.0, 13.0 / 16.0)
|
||||
)
|
||||
|
||||
private val typeToBlockMap: Map<Block, ElementalType> by lazy {
|
||||
mapOf(
|
||||
CobblemonBlocks.BLANK_PLATE to ElementalTypes.NORMAL,
|
||||
CobblemonBlocks.FLAME_PLATE to ElementalTypes.FIRE,
|
||||
CobblemonBlocks.SPLASH_PLATE to ElementalTypes.WATER,
|
||||
CobblemonBlocks.ZAP_PLATE to ElementalTypes.ELECTRIC,
|
||||
CobblemonBlocks.MEADOW_PLATE to ElementalTypes.GRASS,
|
||||
CobblemonBlocks.ICICLE_PLATE to ElementalTypes.ICE,
|
||||
CobblemonBlocks.FIST_PLATE to ElementalTypes.FIGHTING,
|
||||
CobblemonBlocks.TOXIC_PLATE to ElementalTypes.POISON,
|
||||
CobblemonBlocks.EARTH_PLATE to ElementalTypes.GROUND,
|
||||
CobblemonBlocks.SKY_PLATE to ElementalTypes.FLYING,
|
||||
CobblemonBlocks.MIND_PLATE to ElementalTypes.PSYCHIC,
|
||||
CobblemonBlocks.INSECT_PLATE to ElementalTypes.BUG,
|
||||
CobblemonBlocks.STONE_PLATE to ElementalTypes.ROCK,
|
||||
CobblemonBlocks.SPOOKY_PLATE to ElementalTypes.GHOST,
|
||||
CobblemonBlocks.DRACO_PLATE to ElementalTypes.DRAGON,
|
||||
CobblemonBlocks.DREAD_PLATE to ElementalTypes.DARK,
|
||||
CobblemonBlocks.IRON_PLATE to ElementalTypes.STEEL,
|
||||
CobblemonBlocks.PIXIE_PLATE to ElementalTypes.FAIRY
|
||||
)
|
||||
}
|
||||
|
||||
private val typeToMechanicMap: Map<ElementalType, TypePlateMechanic> by lazy {
|
||||
mapOf(
|
||||
ElementalTypes.WATER to WaterPlateMechanic()
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [TypePlateMechanic] for the given [ElementalType]
|
||||
*
|
||||
* @param type The [ElementalType] to check.
|
||||
* @return The [TypePlateMechanic], if existing.
|
||||
*/
|
||||
fun getPlateMechanic(type: ElementalType): TypePlateMechanic? {
|
||||
return typeToMechanicMap[type]
|
||||
}
|
||||
|
||||
fun getPlateType(block: Block): ElementalType? {
|
||||
return typeToBlockMap[block]
|
||||
}
|
||||
|
||||
fun getTypePlate(type: ElementalType): Block? {
|
||||
return typeToBlockMap.entries.firstOrNull { it.value == type }?.key
|
||||
}
|
||||
}
|
||||
|
||||
init {
|
||||
registerDefaultState(stateDefinition.any()
|
||||
.setValue(FACING, Direction.UP)
|
||||
.setValue(ROTATION, 0)
|
||||
.setValue(ACTIVATED, false)
|
||||
.setValue(WATERLOGGED, false)
|
||||
)
|
||||
}
|
||||
|
||||
override fun getStateForPlacement(context: BlockPlaceContext): BlockState {
|
||||
val rotation = when (context.horizontalDirection.opposite) {
|
||||
Direction.EAST -> 1
|
||||
Direction.SOUTH -> 2
|
||||
Direction.WEST -> 3
|
||||
else -> 0
|
||||
}
|
||||
return defaultBlockState()
|
||||
.setValue(FACING, context.clickedFace)
|
||||
.setValue(ROTATION, rotation)
|
||||
.setValue(BlockStateProperties.WATERLOGGED, context.level.isWaterAt(context.clickedPos))
|
||||
}
|
||||
|
||||
override fun onPlace(state: BlockState, level: Level, pos: BlockPos, oldState: BlockState, movedByPiston: Boolean) {
|
||||
getPlateMechanic(type)?.onPlace(state, level, pos, oldState, movedByPiston, this)
|
||||
super.onPlace(state, level, pos, oldState, movedByPiston)
|
||||
}
|
||||
|
||||
override fun tick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
getPlateMechanic(type)?.tick(state, level, pos, random, this)
|
||||
super.tick(state, level, pos, random)
|
||||
}
|
||||
|
||||
override fun getShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
val facing = state.getValue(FACING)
|
||||
if (facing.axis == Direction.Axis.Y && state.getValue(ROTATION) % 2 == 1) {
|
||||
return if (facing == Direction.UP) {
|
||||
Shapes.box(2.0 / 16.0, 0.0, 3.0 / 16.0, 14.0 / 16.0, 3.0 / 16.0, 13.0 / 16.0)
|
||||
} else {
|
||||
Shapes.box(2.0 / 16.0, 13.0 / 16.0, 3.0 / 16.0, 14.0 / 16.0, 1.0, 13.0 / 16.0)
|
||||
}
|
||||
}
|
||||
return SHAPES.getValue(facing)
|
||||
}
|
||||
|
||||
override fun createBlockStateDefinition(builder: StateDefinition.Builder<Block?, BlockState?>) {
|
||||
builder.add(FACING, ROTATION, ACTIVATED, BlockStateProperties.WATERLOGGED)
|
||||
}
|
||||
|
||||
override fun getFluidState(state: BlockState): FluidState {
|
||||
return if (state.getValue(BlockStateProperties.WATERLOGGED)) Fluids.WATER.getSource(false) else super.getFluidState(state)
|
||||
}
|
||||
|
||||
override fun getLightBlock(state: BlockState, level: BlockGetter, pos: BlockPos): Int {
|
||||
return 0
|
||||
}
|
||||
|
||||
override fun onRemove(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
newState: BlockState,
|
||||
movedByPiston: Boolean
|
||||
) {
|
||||
getPlateMechanic(type)?.onRemove(state, level, pos, newState, movedByPiston, this)
|
||||
super.onRemove(state, level, pos, newState, movedByPiston)
|
||||
}
|
||||
|
||||
override fun codec(): MapCodec<out TypePlateBlock> = CODEC
|
||||
|
||||
override fun updateShape(
|
||||
state: BlockState,
|
||||
direction: Direction,
|
||||
neighborState: BlockState,
|
||||
level: LevelAccessor,
|
||||
pos: BlockPos,
|
||||
neighborPos: BlockPos
|
||||
): BlockState? {
|
||||
if (state.getValue(WATERLOGGED)) {
|
||||
level.scheduleTick(pos, Fluids.WATER, Fluids.WATER.getTickDelay(level))
|
||||
}
|
||||
return if (!state.canSurvive(level, pos)) {
|
||||
Blocks.AIR.defaultBlockState()
|
||||
} else super.updateShape(state, direction, neighborState, level, pos, neighborPos)
|
||||
}
|
||||
|
||||
override fun getRenderShape(state: BlockState) = RenderShape.MODEL
|
||||
|
||||
override fun canSurvive(state: BlockState, level: LevelReader, pos: BlockPos): Boolean {
|
||||
getPlateMechanic(type)?.canSurvive(state, level, pos, this)?.let { return it }
|
||||
return level.getBlockState(pos.relative(state.getValue(FACING).opposite)).isSolid
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.cobblemon.mod.common.block.typeplate
|
||||
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.level.Level
|
||||
import net.minecraft.world.level.LevelReader
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
|
||||
/**
|
||||
* Represents a mechanic tied to a specific type plate. Used to keep [TypePlateBlock] from turning into spaghetti.
|
||||
* Methods are automatically called from the base class.
|
||||
* Add new mechanics to [TypePlateBlock.typeToMechanicMap]
|
||||
* Add more methods as necessary.
|
||||
*
|
||||
* @author whatsy
|
||||
* @since December 2nd, 2026
|
||||
*/
|
||||
interface TypePlateMechanic {
|
||||
fun onPlace(state: BlockState, level: Level, pos: BlockPos, oldState: BlockState, movedByPiston: Boolean, block: TypePlateBlock) {}
|
||||
fun tick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource, block: TypePlateBlock) {}
|
||||
fun onRemove(state: BlockState, level: Level, pos: BlockPos, newState: BlockState, movedByPiston: Boolean, block: TypePlateBlock) {}
|
||||
fun canSurvive(state: BlockState, level: LevelReader, pos: BlockPos, block: TypePlateBlock): Boolean? { return null }
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.cobblemon.mod.common.block.typeplate
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonBlocks
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Direction
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.sounds.SoundEvents
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.level.Level
|
||||
import net.minecraft.world.level.block.DirectionalBlock
|
||||
import net.minecraft.world.level.block.entity.ConduitBlockEntity
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
|
||||
/**
|
||||
* Handles spawning Manaphy.
|
||||
*
|
||||
* @author whatsy
|
||||
* @since December 2nd, 2026
|
||||
*/
|
||||
class WaterPlateMechanic : TypePlateMechanic {
|
||||
|
||||
override fun onPlace(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
oldState: BlockState,
|
||||
movedByPiston: Boolean,
|
||||
block: TypePlateBlock
|
||||
) {
|
||||
if (level.isClientSide) return
|
||||
|
||||
// TODO action effect
|
||||
}
|
||||
}
|
||||
@@ -237,6 +237,12 @@ class CobblemonConfig {
|
||||
@CobblemonConfigField(Category.Spawning, lang = "honey_slather_shiny_chance", SERVER)
|
||||
var honeySlatherShinyChance = 4000
|
||||
|
||||
@CobblemonConfigField(Category.Spawning, lang = "manaphy_shiny_chance", SERVER)
|
||||
var manaphyShinyChance = 200
|
||||
|
||||
@CobblemonConfigField(Category.Spawning, lang = "manaphy_alpha_chance", SERVER)
|
||||
var manaphyAlphaChance = 50
|
||||
|
||||
@CobblemonConfigField(Category.Pokemon, lang = "shiny_notice_particles_distance", CLIENT)
|
||||
var shinyNoticeParticlesDistance = 24F
|
||||
|
||||
|
||||
@@ -477,6 +477,25 @@ object CobblemonItemGroups {
|
||||
entries.accept(CobblemonItems.TYPE_GEM_BLOCK_STEEL)
|
||||
entries.accept(CobblemonItems.TYPE_GEM_BLOCK_FAIRY)
|
||||
|
||||
entries.accept(CobblemonItems.BLANK_PLATE)
|
||||
entries.accept(CobblemonItems.FLAME_PLATE)
|
||||
entries.accept(CobblemonItems.SPLASH_PLATE)
|
||||
entries.accept(CobblemonItems.ZAP_PLATE)
|
||||
entries.accept(CobblemonItems.MEADOW_PLATE)
|
||||
entries.accept(CobblemonItems.ICICLE_PLATE)
|
||||
entries.accept(CobblemonItems.FIST_PLATE)
|
||||
entries.accept(CobblemonItems.TOXIC_PLATE)
|
||||
entries.accept(CobblemonItems.EARTH_PLATE)
|
||||
entries.accept(CobblemonItems.SKY_PLATE)
|
||||
entries.accept(CobblemonItems.MIND_PLATE)
|
||||
entries.accept(CobblemonItems.INSECT_PLATE)
|
||||
entries.accept(CobblemonItems.STONE_PLATE)
|
||||
entries.accept(CobblemonItems.SPOOKY_PLATE)
|
||||
entries.accept(CobblemonItems.DRACO_PLATE)
|
||||
entries.accept(CobblemonItems.DREAD_PLATE)
|
||||
entries.accept(CobblemonItems.IRON_PLATE)
|
||||
entries.accept(CobblemonItems.PIXIE_PLATE)
|
||||
|
||||
entries.accept(CobblemonItems.POLISHED_TUMBLESTONE)
|
||||
entries.accept(CobblemonItems.POLISHED_TUMBLESTONE_STAIRS)
|
||||
entries.accept(CobblemonItems.POLISHED_TUMBLESTONE_SLAB)
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/blank_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/draco_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/dread_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/earth_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/fist_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/flame_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/icicle_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/insect_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/iron_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/meadow_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/mind_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/pixie_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/sky_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/splash_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/spooky_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/stone_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/toxic_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"multipart": [
|
||||
{ "when": { "facing": "down", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "x": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "x": 180, "y": 90 } },
|
||||
{ "when": { "facing": "down", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "x": 180, "y": 180 } },
|
||||
{ "when": { "facing": "down", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "x": 180, "y": 270 } },
|
||||
{ "when": { "facing": "east", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "x": 90, "y": 90 } },
|
||||
{ "when": { "facing": "north", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "x": 90 } },
|
||||
{ "when": { "facing": "south", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "x": 90, "y": 180 } },
|
||||
{ "when": { "facing": "west", "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "x": 90, "y": 270 } },
|
||||
{ "when": { "facing": "up", "rotation": 0, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate" } },
|
||||
{ "when": { "facing": "up", "rotation": 1, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "y": 90 } },
|
||||
{ "when": { "facing": "up", "rotation": 2, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "y": 180 } },
|
||||
{ "when": { "facing": "up", "rotation": 3, "waterlogged": "true|false"}, "apply": { "model": "cobblemon:block/zap_plate", "y": 270 } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1028,6 +1028,42 @@
|
||||
"block.cobblemon.shiny_stone_block": "Shiny Stone Block",
|
||||
"block.cobblemon.dawn_stone_block": "Dawn Stone Block",
|
||||
"block.cobblemon.dusk_stone_block": "Dusk Stone Block",
|
||||
"block.cobblemon.blank_plate": "Blank Plate",
|
||||
"block.cobblemon.blank_plate.tooltip": "Boosts the power of Normal-type moves by 20%",
|
||||
"block.cobblemon.flame_plate": "Flame Plate",
|
||||
"block.cobblemon.flame_plate.tooltip": "Boosts the power of Fire-type moves by 20%",
|
||||
"block.cobblemon.splash_plate": "Splash Plate",
|
||||
"block.cobblemon.splash_plate.tooltip": "Boosts the power of Water-type moves by 20%",
|
||||
"block.cobblemon.zap_plate": "Zap Plate",
|
||||
"block.cobblemon.zap_plate.tooltip": "Boosts the power of Electric-type moves by 20%",
|
||||
"block.cobblemon.meadow_plate": "Meadow Plate",
|
||||
"block.cobblemon.meadow_plate.tooltip": "Boosts the power of Grass-type moves by 20%",
|
||||
"block.cobblemon.icicle_plate": "Icicle Plate",
|
||||
"block.cobblemon.icicle_plate.tooltip": "Boosts the power of Ice-type moves by 20%",
|
||||
"block.cobblemon.fist_plate": "Fist Plate",
|
||||
"block.cobblemon.fist_plate.tooltip": "Boosts the power of Fighting-type moves by 20%",
|
||||
"block.cobblemon.toxic_plate": "Toxic Plate",
|
||||
"block.cobblemon.toxic_plate.tooltip": "Boosts the power of Poison-type moves by 20%",
|
||||
"block.cobblemon.earth_plate": "Earth Plate",
|
||||
"block.cobblemon.earth_plate.tooltip": "Boosts the power of Ground-type moves by 20%",
|
||||
"block.cobblemon.sky_plate": "Sky Plate",
|
||||
"block.cobblemon.sky_plate.tooltip": "Boosts the power of Flying-type moves by 20%",
|
||||
"block.cobblemon.mind_plate": "Mind Plate",
|
||||
"block.cobblemon.mind_plate.tooltip": "Boosts the power of Psychic-type moves by 20%",
|
||||
"block.cobblemon.insect_plate": "Insect Plate",
|
||||
"block.cobblemon.insect_plate.tooltip": "Boosts the power of Bug-type moves by 20%",
|
||||
"block.cobblemon.stone_plate": "Stone Plate",
|
||||
"block.cobblemon.stone_plate.tooltip": "Boosts the power of Rock-type moves by 20%",
|
||||
"block.cobblemon.spooky_plate": "Spooky Plate",
|
||||
"block.cobblemon.spooky_plate.tooltip": "Boosts the power of Ghost-type moves by 20%",
|
||||
"block.cobblemon.draco_plate": "Draco Plate",
|
||||
"block.cobblemon.draco_plate.tooltip": "Boosts the power of Dragon-type moves by 20%",
|
||||
"block.cobblemon.dread_plate": "Dread Plate",
|
||||
"block.cobblemon.dread_plate.tooltip": "Boosts the power of Dark-type moves by 20%",
|
||||
"block.cobblemon.iron_plate": "Iron Plate",
|
||||
"block.cobblemon.iron_plate.tooltip": "Boosts the power of Steel-type moves by 20%",
|
||||
"block.cobblemon.pixie_plate": "Pixie Plate",
|
||||
"block.cobblemon.pixie_plate.tooltip": "Boosts the power of Fairy-type moves by 20%",
|
||||
"cobblemon.fishing.no_bite": "Not even a nibble.",
|
||||
"cobblemon.fishing_bait_effect_header": "Bait Info:",
|
||||
"cobblemon.fishing_bait_effects.nature.tooltip": "%1$s%% - Attract %2$s Nature",
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/blank_plate", "texture": "cobblemon:block/type_plates/blank_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/draco_plate", "texture": "cobblemon:block/type_plates/draco_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/dread_plate", "texture": "cobblemon:block/type_plates/dread_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/earth_plate", "texture": "cobblemon:block/type_plates/earth_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/fist_plate", "texture": "cobblemon:block/type_plates/fist_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/flame_plate", "texture": "cobblemon:block/type_plates/flame_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/icicle_plate", "texture": "cobblemon:block/type_plates/icicle_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/insect_plate", "texture": "cobblemon:block/type_plates/insect_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/iron_plate", "texture": "cobblemon:block/type_plates/iron_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/meadow_plate", "texture": "cobblemon:block/type_plates/meadow_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/mind_plate", "texture": "cobblemon:block/type_plates/mind_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/pixie_plate", "texture": "cobblemon:block/type_plates/pixie_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/sky_plate", "texture": "cobblemon:block/type_plates/sky_plate" }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": {
|
||||
"particle": "cobblemon:block/type_plates/splash_plate",
|
||||
"texture": "cobblemon:block/type_plates/splash_plate"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/spooky_plate", "texture": "cobblemon:block/type_plates/spooky_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/stone_plate", "texture": "cobblemon:block/type_plates/stone_plate" }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/toxic_plate", "texture": "cobblemon:block/type_plates/toxic_plate" }
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"format_version": "26.3",
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"particle": "cobblemon:block/type_plates/blank_plate",
|
||||
"texture": "cobblemon:block/type_plates/blank_plate"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [3, 0, 2],
|
||||
"to": [13, 3, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [4, 0, 3]},
|
||||
"faces": {
|
||||
"north": {"uv": [3, 3, 5.5, 3.75], "texture": "#texture"},
|
||||
"east": {"uv": [0, 3, 3, 3.75], "texture": "#texture"},
|
||||
"south": {"uv": [8.5, 3, 11, 3.75], "texture": "#texture"},
|
||||
"west": {"uv": [5.5, 3, 8.5, 3.75], "texture": "#texture"},
|
||||
"up": {"uv": [5.5, 3, 3, 0], "texture": "#texture"},
|
||||
"down": {"uv": [8, 0, 5.5, 3], "texture": "#texture"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"gui_light": "front",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 4, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 4, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [90, 0, -95],
|
||||
"translation": [1.5, 3.5, 2.25],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [90, 0, -95],
|
||||
"translation": [1.5, 3.5, 2.25],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 2.25, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [100, 0, 33],
|
||||
"translation": [-3.25, -1, 0]
|
||||
},
|
||||
"head": {
|
||||
"rotation": [90, 0, 0],
|
||||
"translation": [0, -0.25, -1.25]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [90, 0, 0],
|
||||
"translation": [0, 0, 6]
|
||||
},
|
||||
"on_shelf": {
|
||||
"rotation": [90, 0, 0],
|
||||
"translation": [0, 0, 4]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"parent": "cobblemon:block/type_plate",
|
||||
"textures": { "particle": "cobblemon:block/type_plates/zap_plate", "texture": "cobblemon:block/type_plates/zap_plate" }
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/blank_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/draco_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/dread_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/earth_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/fist_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/flame_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/icicle_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/insect_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/iron_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/meadow_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/mind_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/pixie_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/sky_plate" }
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "cobblemon:block/splash_plate"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/spooky_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/stone_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/toxic_plate" }
|
||||
@@ -0,0 +1 @@
|
||||
{ "parent": "cobblemon:block/zap_plate" }
|
||||
|
After Width: | Height: | Size: 789 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 574 B |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:blank_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:draco_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:dread_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:earth_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:fist_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:flame_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:icicle_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:insect_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:iron_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:meadow_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:mind_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:pixie_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:sky_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "cobblemon:splash_plate"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:spooky_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:stone_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:toxic_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [{ "type": "minecraft:item", "name": "cobblemon:zap_plate" }],
|
||||
"conditions": [{ "condition": "minecraft:survives_explosion" }]
|
||||
}
|
||||
]
|
||||
}
|
||||