mirror of
https://gitlab.com/cable-mc/cobblemon.git
synced 2026-11-18 22:28:53 -05:00
Compare commits
66
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0fc42df636 | ||
|
|
03539a148b | ||
|
|
7c55d58dc9 | ||
|
|
5c4771fd7c | ||
|
|
341ed7ad38 | ||
|
|
be86d1962d | ||
|
|
19508df8d1 | ||
|
|
99e72339db | ||
|
|
149c1f85e0 | ||
|
|
10c9931d2c | ||
|
|
0e55165570 | ||
|
|
b6b87621a5 | ||
|
|
71b01d562b | ||
|
|
21eb66e69b | ||
|
|
8b04e57a1d | ||
|
|
1ff3b7ee96 | ||
|
|
0725fa83d6 | ||
|
|
1f5bb78684 | ||
|
|
87c21d8906 | ||
|
|
cadaf00d08 | ||
|
|
30404192bd | ||
|
|
5b3566a2b5 | ||
|
|
1feeab6f87 | ||
|
|
8a2d6096e3 | ||
|
|
2645b5e375 | ||
|
|
99e0a26d7b | ||
|
|
71753df513 | ||
|
|
729f080f6e | ||
|
|
13eb57afb1 | ||
|
|
72b6cb06ff | ||
|
|
74a57eb972 | ||
|
|
7246c7f8e6 | ||
|
|
cd05f741ae | ||
|
|
00222d929d | ||
|
|
b8f4637cb3 | ||
|
|
9f572250f5 | ||
|
|
0927d6fa43 | ||
|
|
a293b3d71f | ||
|
|
162b1cc68f | ||
|
|
066a6b56f7 | ||
|
|
7687833add | ||
|
|
cb9ba82fcc | ||
|
|
4221993f7d | ||
|
|
a616c25c8c | ||
|
|
6ce4bf5673 | ||
|
|
1b652ba99f | ||
|
|
11b59df386 | ||
|
|
ac2b068bf3 | ||
|
|
8e8f346e52 | ||
|
|
49c22f951d | ||
|
|
a94cbc4eae | ||
|
|
5083af626c | ||
|
|
137bb37c29 | ||
|
|
eec578b312 | ||
|
|
b6abe9711d | ||
|
|
38c2e0d194 | ||
|
|
69566a97ca | ||
|
|
6866e9af9b | ||
|
|
e45f2c6261 | ||
|
|
d9bea49567 | ||
|
|
235b753a25 | ||
|
|
3d48432390 | ||
|
|
7b03940dab | ||
|
|
8d5d37c750 | ||
|
|
cdb9c80c0e | ||
|
|
a77f035617 |
No files matched your search
+12
-18
@@ -2,39 +2,33 @@
|
||||
## [1.8.5 (MONTH xth, 2026)](#1-8-5)
|
||||
|
||||
### Additions
|
||||
- You can now drag to select multiple Pokémon inside the PC menu.
|
||||
|
||||
### Pokémon Added
|
||||
#### Generation 4
|
||||
|
||||
#### Generation 5
|
||||
|
||||
#### Generation 6
|
||||
|
||||
#### Generation 7
|
||||
|
||||
#### Generation 8
|
||||
|
||||
#### Generation 9
|
||||
|
||||
### Model updates for the following Pokémon
|
||||
|
||||
### Animation updates for the following Pokémon
|
||||
- Added the `healersSetSpawn` gamerule. When enabled, using a healing machine will set your spawnpoint.
|
||||
- A Pokémon holding a Power item now gains 1 point in the corresponding riding stat every two minutes while being ridden. The interval is configurable, and can be disabled with `-1`.
|
||||
- Added sounds to Gigaton Hammer and Pyro Ball
|
||||
- Added stepsounds to Venusaur, Blastoise, Dewgong, Rhydon, Rhyhorn, Parasect and Mr. Mime.
|
||||
- Added the Copper Oven, Copper Fridge, Copper Washer, Copper Fan, and Copper Mower.
|
||||
- Added the Rotom Data Monitor.
|
||||
|
||||
### Changes
|
||||
- Amethyst now grows from Typegem core blocks like typegems do
|
||||
- Updated the recipe category for the Create compatibility EXP Candy recipe
|
||||
- Added No Man's Lands' Honeyed Apple to the Leaves Leftovers tag
|
||||
- Updated Unown's punctuation form names from `!` and `?` to `Exclamation` and `Question`, changing their visible form labels in tooltips and mod integrations.
|
||||
|
||||
### Fixes
|
||||
- Fixed Ponigiri food values for AppleSkin integration
|
||||
- Fixed errors emitted by typos in Parched Peat bog structure files
|
||||
- Fixed Unown punctuation forms (? and !) resolving to duplicate Showdown IDs and colliding in form displays.
|
||||
|
||||
### Developer
|
||||
- Fixed JsonArray to MoValue conversion not working properly.
|
||||
|
||||
### Molang & Datapacks
|
||||
- `q.is_standing_on_blocks` now properly checks for non-full blocks like slabs, Mud or Soul Sand
|
||||
- Added Molang functions to play footstep sounds based on the corresponding surface. These are intended to be used by Pokémon animations.
|
||||
- Pokémon can now have their Minecraft footstep sounds silenced in their poser. This doesn't affect emitting game events.
|
||||
- Fixed the Molang coalescing operator not working the way you'd expect a coalesce operator to.
|
||||
- Added `v.spawnable_position` to the weight spawn rule component's "weight" expression
|
||||
|
||||
### Particles
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
Spec Doc: https://docs.google.com/document/d/1hEKKrT4JEagJBykx-k9K2BoeNxiMGahUWXnf8YQ85xo/edit?tab=t.0
|
||||
Marshal: dhi_holo
|
||||
@@ -8,6 +8,9 @@
|
||||
|
||||
package com.cobblemon.mod.common
|
||||
|
||||
import com.cobblemon.mod.common.block.appliances.fridge.CopperFridgeBlockEntity
|
||||
import com.cobblemon.mod.common.block.appliances.oven.CopperOvenBlockEntity
|
||||
import com.cobblemon.mod.common.block.appliances.washer.CopperWasherBlockEntity
|
||||
import com.cobblemon.mod.common.block.entity.*
|
||||
import com.cobblemon.mod.common.block.habitat.HabitatBlockEntity
|
||||
import com.cobblemon.mod.common.block.multiblock.FossilMultiblockBuilder
|
||||
@@ -126,4 +129,49 @@ object CobblemonBlockEntities : PlatformRegistry<Registry<BlockEntityType<*>>, R
|
||||
CobblemonBlocks.MISTLEAF
|
||||
).build(null)
|
||||
)
|
||||
|
||||
@JvmField
|
||||
val COPPER_FRIDGE: BlockEntityType<CopperFridgeBlockEntity> = this.create(
|
||||
"copper_fridge",
|
||||
BlockEntityType.Builder.of(::CopperFridgeBlockEntity,
|
||||
CobblemonBlocks.COPPER_FRIDGE,
|
||||
CobblemonBlocks.EXPOSED_COPPER_FRIDGE,
|
||||
CobblemonBlocks.WEATHERED_COPPER_FRIDGE,
|
||||
CobblemonBlocks.OXIDIZED_COPPER_FRIDGE,
|
||||
CobblemonBlocks.WAXED_COPPER_FRIDGE,
|
||||
CobblemonBlocks.WAXED_EXPOSED_COPPER_FRIDGE,
|
||||
CobblemonBlocks.WAXED_WEATHERED_COPPER_FRIDGE,
|
||||
CobblemonBlocks.WAXED_OXIDIZED_COPPER_FRIDGE
|
||||
).build(null)
|
||||
)
|
||||
|
||||
@JvmField
|
||||
val COPPER_WASHER: BlockEntityType<CopperWasherBlockEntity> = this.create(
|
||||
"copper_washer",
|
||||
BlockEntityType.Builder.of(::CopperWasherBlockEntity,
|
||||
CobblemonBlocks.COPPER_WASHER,
|
||||
CobblemonBlocks.EXPOSED_COPPER_WASHER,
|
||||
CobblemonBlocks.WEATHERED_COPPER_WASHER,
|
||||
CobblemonBlocks.OXIDIZED_COPPER_WASHER,
|
||||
CobblemonBlocks.WAXED_COPPER_WASHER,
|
||||
CobblemonBlocks.WAXED_EXPOSED_COPPER_WASHER,
|
||||
CobblemonBlocks.WAXED_WEATHERED_COPPER_WASHER,
|
||||
CobblemonBlocks.WAXED_OXIDIZED_COPPER_WASHER
|
||||
).build(null)
|
||||
)
|
||||
|
||||
@JvmField
|
||||
val COPPER_OVEN: BlockEntityType<CopperOvenBlockEntity> = this.create(
|
||||
"copper_oven",
|
||||
BlockEntityType.Builder.of(::CopperOvenBlockEntity,
|
||||
CobblemonBlocks.COPPER_OVEN,
|
||||
CobblemonBlocks.EXPOSED_COPPER_OVEN,
|
||||
CobblemonBlocks.WEATHERED_COPPER_OVEN,
|
||||
CobblemonBlocks.OXIDIZED_COPPER_OVEN,
|
||||
CobblemonBlocks.WAXED_COPPER_OVEN,
|
||||
CobblemonBlocks.WAXED_EXPOSED_COPPER_OVEN,
|
||||
CobblemonBlocks.WAXED_WEATHERED_COPPER_OVEN,
|
||||
CobblemonBlocks.WAXED_OXIDIZED_COPPER_OVEN
|
||||
).build(null)
|
||||
)
|
||||
}
|
||||
@@ -13,6 +13,16 @@ import com.cobblemon.mod.common.api.pokemon.stats.Stats
|
||||
import com.cobblemon.mod.common.block.*
|
||||
import com.cobblemon.mod.common.block.LecternBlock
|
||||
import com.cobblemon.mod.common.block.MintBlock.MintType
|
||||
import com.cobblemon.mod.common.block.appliances.fan.CopperFanBlock
|
||||
import com.cobblemon.mod.common.block.appliances.fan.WeatheringCopperFanBlock
|
||||
import com.cobblemon.mod.common.block.appliances.fridge.CopperFridgeBlock
|
||||
import com.cobblemon.mod.common.block.appliances.fridge.WeatheringCopperFridgeBlock
|
||||
import com.cobblemon.mod.common.block.appliances.mower.CopperMowerBlock
|
||||
import com.cobblemon.mod.common.block.appliances.mower.WeatheringCopperMowerBlock
|
||||
import com.cobblemon.mod.common.block.appliances.oven.CopperOvenBlock
|
||||
import com.cobblemon.mod.common.block.appliances.oven.WeatheringCopperOvenBlock
|
||||
import com.cobblemon.mod.common.block.appliances.washer.CopperWasherBlock
|
||||
import com.cobblemon.mod.common.block.appliances.washer.WeatheringCopperWasherBlock
|
||||
import com.cobblemon.mod.common.block.campfirepot.CampfireBlock
|
||||
import com.cobblemon.mod.common.block.campfirepot.CampfirePotBlock
|
||||
import com.cobblemon.mod.common.block.chest.GildedChestBlock
|
||||
@@ -28,12 +38,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.mixin.invoker.BlocksInvoker
|
||||
import com.cobblemon.mod.common.mixin.invoker.DoorBlockInvoker
|
||||
import com.cobblemon.mod.common.mixin.invoker.FireBlockInvoker
|
||||
import com.cobblemon.mod.common.mixin.invoker.PressurePlateBlockInvoker
|
||||
import com.cobblemon.mod.common.mixin.invoker.StairsBlockInvoker
|
||||
import com.cobblemon.mod.common.mixin.invoker.TrapdoorBlockInvoker
|
||||
import com.cobblemon.mod.common.mixin.invoker.*
|
||||
import com.cobblemon.mod.common.platform.PlatformRegistry
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import net.minecraft.core.BlockPos
|
||||
@@ -792,6 +797,9 @@ object CobblemonBlocks : PlatformRegistry<Registry<Block>, ResourceKey<Registry<
|
||||
@JvmField
|
||||
val RESTORATION_TANK = create("restoration_tank", RestorationTankBlock(BlockBehaviour.Properties.of().mapColor(MapColor.METAL).sound(SoundType.GLASS).pushReaction(PushReaction.BLOCK).requiresCorrectToolForDrops().strength(5.0F, 6.0F).noOcclusion()))
|
||||
|
||||
@JvmField
|
||||
val ROTOM_MONITOR = create("rotom_data_monitor", RotomMonitorBlock(BlockBehaviour.Properties.ofFullCopy(MONITOR)))
|
||||
|
||||
@JvmField
|
||||
val HEALING_MACHINE = create("healing_machine", HealingMachineBlock(BlockBehaviour.Properties.of().mapColor(MapColor.METAL).sound(SoundType.METAL).pushReaction(PushReaction.BLOCK).strength(2F).noOcclusion().lightLevel { if (it.getValue(HealingMachineBlock.CHARGE_LEVEL) >= HealingMachineBlock.MAX_CHARGE_LEVEL) 12 else 5 }))
|
||||
|
||||
@@ -821,6 +829,237 @@ object CobblemonBlocks : PlatformRegistry<Registry<Block>, ResourceKey<Registry<
|
||||
@JvmField
|
||||
val DISPLAY_CASE = create("display_case", DisplayCaseBlock(BlockBehaviour.Properties.of().sound(CobblemonSounds.DISPLAY_CASE_SOUNDS).noOcclusion().pushReaction(PushReaction.BLOCK).mapColor(MapColor.STONE).strength(0.3F).requiresCorrectToolForDrops()))
|
||||
|
||||
//Rotom Blocks
|
||||
//Oven
|
||||
@JvmField
|
||||
val COPPER_OVEN = create("copper_oven", WeatheringCopperOvenBlock(
|
||||
WeatheringCopper.WeatherState.UNAFFECTED,
|
||||
BlockBehaviour.Properties.of().mapColor(MapColor.COLOR_ORANGE).requiresCorrectToolForDrops()
|
||||
.strength(3.0f, 6.0f).sound(
|
||||
CobblemonSounds.APPLIANCE_BLOCK_SOUNDS
|
||||
).pushReaction(PushReaction.BLOCK)
|
||||
.lightLevel { if (it.getValue(CopperOvenBlock.COOKING) == CopperOvenBlock.CookingState.COOKING) 12 else 0 }
|
||||
))
|
||||
@JvmField
|
||||
val EXPOSED_COPPER_OVEN = create("exposed_copper_oven",
|
||||
WeatheringCopperOvenBlock(
|
||||
WeatheringCopper.WeatherState.EXPOSED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_OVEN).mapColor(MapColor.TERRACOTTA_LIGHT_GRAY)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val WEATHERED_COPPER_OVEN = create("weathered_copper_oven",
|
||||
WeatheringCopperOvenBlock(
|
||||
WeatheringCopper.WeatherState.WEATHERED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_OVEN).mapColor(MapColor.WARPED_STEM)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val OXIDIZED_COPPER_OVEN = create("oxidized_copper_oven",
|
||||
WeatheringCopperOvenBlock(
|
||||
WeatheringCopper.WeatherState.OXIDIZED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_OVEN).mapColor(MapColor.WARPED_NYLIUM)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_COPPER_OVEN = create("waxed_copper_oven",
|
||||
CopperOvenBlock(BlockBehaviour.Properties.ofFullCopy(COPPER_OVEN))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_EXPOSED_COPPER_OVEN = create("waxed_exposed_copper_oven",
|
||||
CopperOvenBlock(BlockBehaviour.Properties.ofFullCopy(EXPOSED_COPPER_OVEN))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_WEATHERED_COPPER_OVEN = create("waxed_weathered_copper_oven",
|
||||
CopperOvenBlock(BlockBehaviour.Properties.ofFullCopy(WEATHERED_COPPER_OVEN))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_OXIDIZED_COPPER_OVEN = create("waxed_oxidized_copper_oven",
|
||||
CopperOvenBlock(BlockBehaviour.Properties.ofFullCopy(OXIDIZED_COPPER_OVEN))
|
||||
)
|
||||
//Washer
|
||||
@JvmField
|
||||
val COPPER_WASHER = create("copper_washer",
|
||||
WeatheringCopperWasherBlock(
|
||||
WeatheringCopper.WeatherState.UNAFFECTED,
|
||||
BlockBehaviour.Properties.of().mapColor(MapColor.COLOR_ORANGE).requiresCorrectToolForDrops()
|
||||
.strength(3.0f, 6.0f).sound(CobblemonSounds.APPLIANCE_BLOCK_SOUNDS).pushReaction(PushReaction.BLOCK)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val EXPOSED_COPPER_WASHER = create("exposed_copper_washer",
|
||||
WeatheringCopperWasherBlock(
|
||||
WeatheringCopper.WeatherState.EXPOSED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_WASHER).mapColor(MapColor.TERRACOTTA_LIGHT_GRAY)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val WEATHERED_COPPER_WASHER = create("weathered_copper_washer",
|
||||
WeatheringCopperWasherBlock(
|
||||
WeatheringCopper.WeatherState.WEATHERED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_WASHER).mapColor(MapColor.WARPED_STEM)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val OXIDIZED_COPPER_WASHER = create("oxidized_copper_washer",
|
||||
WeatheringCopperWasherBlock(
|
||||
WeatheringCopper.WeatherState.OXIDIZED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_WASHER).mapColor(MapColor.WARPED_NYLIUM)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_COPPER_WASHER = create("waxed_copper_washer",
|
||||
CopperWasherBlock(BlockBehaviour.Properties.ofFullCopy(COPPER_WASHER))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_EXPOSED_COPPER_WASHER = create("waxed_exposed_copper_washer",
|
||||
CopperWasherBlock(BlockBehaviour.Properties.ofFullCopy(EXPOSED_COPPER_WASHER))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_WEATHERED_COPPER_WASHER = create("waxed_weathered_copper_washer",
|
||||
CopperWasherBlock(BlockBehaviour.Properties.ofFullCopy(WEATHERED_COPPER_WASHER))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_OXIDIZED_COPPER_WASHER = create("waxed_oxidized_copper_washer",
|
||||
CopperWasherBlock(BlockBehaviour.Properties.ofFullCopy(OXIDIZED_COPPER_WASHER))
|
||||
)
|
||||
//Fan
|
||||
@JvmField
|
||||
val COPPER_FAN = create("copper_fan",
|
||||
WeatheringCopperFanBlock(
|
||||
WeatheringCopper.WeatherState.UNAFFECTED,
|
||||
BlockBehaviour.Properties.of().mapColor(MapColor.COLOR_ORANGE).requiresCorrectToolForDrops()
|
||||
.strength(3.0f, 6.0f).sound(CobblemonSounds.APPLIANCE_BLOCK_SOUNDS).pushReaction(PushReaction.DESTROY)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val EXPOSED_COPPER_FAN = create("exposed_copper_fan",
|
||||
WeatheringCopperFanBlock(
|
||||
WeatheringCopper.WeatherState.EXPOSED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_FAN).mapColor(MapColor.TERRACOTTA_LIGHT_GRAY)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val WEATHERED_COPPER_FAN = create("weathered_copper_fan",
|
||||
WeatheringCopperFanBlock(
|
||||
WeatheringCopper.WeatherState.WEATHERED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_FAN).mapColor(MapColor.WARPED_STEM)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val OXIDIZED_COPPER_FAN = create("oxidized_copper_fan",
|
||||
WeatheringCopperFanBlock(
|
||||
WeatheringCopper.WeatherState.OXIDIZED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_FAN).mapColor(MapColor.WARPED_NYLIUM)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_COPPER_FAN = create("waxed_copper_fan", CopperFanBlock(BlockBehaviour.Properties.ofFullCopy(COPPER_FAN)))
|
||||
@JvmField
|
||||
val WAXED_EXPOSED_COPPER_FAN = create("waxed_exposed_copper_fan",
|
||||
CopperFanBlock(BlockBehaviour.Properties.ofFullCopy(EXPOSED_COPPER_FAN))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_WEATHERED_COPPER_FAN = create("waxed_weathered_copper_fan",
|
||||
CopperFanBlock(BlockBehaviour.Properties.ofFullCopy(WEATHERED_COPPER_FAN))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_OXIDIZED_COPPER_FAN = create("waxed_oxidized_copper_fan",
|
||||
CopperFanBlock(BlockBehaviour.Properties.ofFullCopy(OXIDIZED_COPPER_FAN))
|
||||
)
|
||||
//Mower
|
||||
@JvmField
|
||||
val COPPER_MOWER = create("copper_mower",
|
||||
WeatheringCopperMowerBlock(
|
||||
WeatheringCopper.WeatherState.UNAFFECTED,
|
||||
BlockBehaviour.Properties.of().mapColor(MapColor.COLOR_ORANGE).requiresCorrectToolForDrops()
|
||||
.strength(3.0f, 6.0f).sound(CobblemonSounds.APPLIANCE_BLOCK_SOUNDS).pushReaction(PushReaction.NORMAL)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val EXPOSED_COPPER_MOWER = create("exposed_copper_mower",
|
||||
WeatheringCopperMowerBlock(
|
||||
WeatheringCopper.WeatherState.EXPOSED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_MOWER).mapColor(MapColor.TERRACOTTA_LIGHT_GRAY)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val WEATHERED_COPPER_MOWER = create("weathered_copper_mower",
|
||||
WeatheringCopperMowerBlock(
|
||||
WeatheringCopper.WeatherState.WEATHERED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_MOWER).mapColor(MapColor.WARPED_STEM)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val OXIDIZED_COPPER_MOWER = create("oxidized_copper_mower",
|
||||
WeatheringCopperMowerBlock(
|
||||
WeatheringCopper.WeatherState.OXIDIZED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_MOWER).mapColor(MapColor.WARPED_NYLIUM)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_COPPER_MOWER = create("waxed_copper_mower",
|
||||
CopperMowerBlock(BlockBehaviour.Properties.ofFullCopy(COPPER_MOWER))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_EXPOSED_COPPER_MOWER = create("waxed_exposed_copper_mower",
|
||||
CopperMowerBlock(BlockBehaviour.Properties.ofFullCopy(EXPOSED_COPPER_MOWER))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_WEATHERED_COPPER_MOWER = create("waxed_weathered_copper_mower",
|
||||
CopperMowerBlock(BlockBehaviour.Properties.ofFullCopy(WEATHERED_COPPER_MOWER))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_OXIDIZED_COPPER_MOWER = create("waxed_oxidized_copper_mower",
|
||||
CopperMowerBlock(BlockBehaviour.Properties.ofFullCopy(OXIDIZED_COPPER_MOWER))
|
||||
)
|
||||
//Fridge
|
||||
@JvmField
|
||||
val COPPER_FRIDGE = create("copper_fridge",
|
||||
WeatheringCopperFridgeBlock(
|
||||
WeatheringCopper.WeatherState.UNAFFECTED,
|
||||
BlockBehaviour.Properties.of().mapColor(MapColor.COLOR_ORANGE).requiresCorrectToolForDrops()
|
||||
.strength(3.0f, 6.0f).sound(CobblemonSounds.APPLIANCE_BLOCK_SOUNDS).pushReaction(PushReaction.BLOCK)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val EXPOSED_COPPER_FRIDGE = create("exposed_copper_fridge",
|
||||
WeatheringCopperFridgeBlock(
|
||||
WeatheringCopper.WeatherState.EXPOSED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_FRIDGE).mapColor(MapColor.TERRACOTTA_LIGHT_GRAY)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val WEATHERED_COPPER_FRIDGE = create("weathered_copper_fridge",
|
||||
WeatheringCopperFridgeBlock(
|
||||
WeatheringCopper.WeatherState.WEATHERED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_FRIDGE).mapColor(MapColor.WARPED_STEM)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val OXIDIZED_COPPER_FRIDGE = create("oxidized_copper_fridge",
|
||||
WeatheringCopperFridgeBlock(
|
||||
WeatheringCopper.WeatherState.OXIDIZED,
|
||||
BlockBehaviour.Properties.ofFullCopy(COPPER_FRIDGE).mapColor(MapColor.WARPED_NYLIUM)
|
||||
)
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_COPPER_FRIDGE = create("waxed_copper_fridge",
|
||||
CopperFridgeBlock(BlockBehaviour.Properties.ofFullCopy(COPPER_FRIDGE))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_EXPOSED_COPPER_FRIDGE = create("waxed_exposed_copper_fridge",
|
||||
CopperFridgeBlock(BlockBehaviour.Properties.ofFullCopy(EXPOSED_COPPER_FRIDGE))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_WEATHERED_COPPER_FRIDGE = create("waxed_weathered_copper_fridge",
|
||||
CopperFridgeBlock(BlockBehaviour.Properties.ofFullCopy(WEATHERED_COPPER_FRIDGE))
|
||||
)
|
||||
@JvmField
|
||||
val WAXED_OXIDIZED_COPPER_FRIDGE = create("waxed_oxidized_copper_fridge",
|
||||
CopperFridgeBlock(BlockBehaviour.Properties.ofFullCopy(OXIDIZED_COPPER_FRIDGE))
|
||||
)
|
||||
|
||||
// TODO after 1.7
|
||||
// @JvmField
|
||||
// val INCENSE_SWEET = create("incense_sweet", SweetIncenseBlock(BlockBehaviour.Properties.of().sound(CobblemonSounds.DISPLAY_CASE_SOUNDS).noOcclusion().pushReaction(PushReaction.BLOCK).mapColor(MapColor.STONE).strength(0.3F)))
|
||||
@@ -849,7 +1088,6 @@ object CobblemonBlocks : PlatformRegistry<Registry<Block>, ResourceKey<Registry<
|
||||
@JvmField
|
||||
val GALARICA_NUT_BUSH = this.create("galarica_nut_bush", NutBushBlock(BlockBehaviour.Properties.of().mapColor(MapColor.PLANT).randomTicks().noCollission().sound(SoundType.SWEET_BERRY_BUSH).pushReaction(PushReaction.DESTROY)))
|
||||
|
||||
|
||||
@JvmField
|
||||
val RED_MINT_LEAF_LITTER = this.mintLitter("red_mint_leaf_litter", MapColor.COLOR_RED)
|
||||
@JvmField
|
||||
@@ -927,6 +1165,57 @@ object CobblemonBlocks : PlatformRegistry<Registry<Block>, ResourceKey<Registry<
|
||||
SACCHARINE_LOG to STRIPPED_SACCHARINE_LOG,
|
||||
SACCHARINE_LOG_SLATHERED to STRIPPED_SACCHARINE_LOG
|
||||
)
|
||||
/**Same idea as above, but for Copper Oxidation over time (or when inverted, scraping with an axe)*/
|
||||
fun oxidizingBlocks(): Map<Block, Block> = mapOf(
|
||||
//Ovens
|
||||
COPPER_OVEN to EXPOSED_COPPER_OVEN,
|
||||
EXPOSED_COPPER_OVEN to WEATHERED_COPPER_OVEN,
|
||||
WEATHERED_COPPER_OVEN to OXIDIZED_COPPER_OVEN,
|
||||
//Washers
|
||||
COPPER_WASHER to EXPOSED_COPPER_WASHER,
|
||||
EXPOSED_COPPER_WASHER to WEATHERED_COPPER_WASHER,
|
||||
WEATHERED_COPPER_WASHER to OXIDIZED_COPPER_WASHER,
|
||||
//Fans
|
||||
COPPER_FAN to EXPOSED_COPPER_FAN,
|
||||
EXPOSED_COPPER_FAN to WEATHERED_COPPER_FAN,
|
||||
WEATHERED_COPPER_FAN to OXIDIZED_COPPER_FAN,
|
||||
//Fridges
|
||||
COPPER_FRIDGE to EXPOSED_COPPER_FRIDGE,
|
||||
EXPOSED_COPPER_FRIDGE to WEATHERED_COPPER_FRIDGE,
|
||||
WEATHERED_COPPER_FRIDGE to OXIDIZED_COPPER_FRIDGE,
|
||||
//Mowers
|
||||
COPPER_MOWER to EXPOSED_COPPER_MOWER,
|
||||
EXPOSED_COPPER_MOWER to WEATHERED_COPPER_MOWER,
|
||||
WEATHERED_COPPER_MOWER to OXIDIZED_COPPER_MOWER
|
||||
)
|
||||
/**Same idea as above, but for waxing blocks with Honeycomb (or unwaxing them with an axe)*/
|
||||
fun waxingBlocks(): Map<Block, Block> = mapOf(
|
||||
//Ovens
|
||||
COPPER_OVEN to WAXED_COPPER_OVEN,
|
||||
EXPOSED_COPPER_OVEN to WAXED_EXPOSED_COPPER_OVEN,
|
||||
WEATHERED_COPPER_OVEN to WAXED_WEATHERED_COPPER_OVEN,
|
||||
OXIDIZED_COPPER_OVEN to WAXED_OXIDIZED_COPPER_OVEN,
|
||||
//Washers
|
||||
COPPER_WASHER to WAXED_COPPER_WASHER,
|
||||
EXPOSED_COPPER_WASHER to WAXED_EXPOSED_COPPER_WASHER,
|
||||
WEATHERED_COPPER_WASHER to WAXED_WEATHERED_COPPER_WASHER,
|
||||
OXIDIZED_COPPER_WASHER to WAXED_OXIDIZED_COPPER_WASHER,
|
||||
//Fans
|
||||
COPPER_FAN to WAXED_COPPER_FAN,
|
||||
EXPOSED_COPPER_FAN to WAXED_EXPOSED_COPPER_FAN,
|
||||
WEATHERED_COPPER_FAN to WAXED_WEATHERED_COPPER_FAN,
|
||||
OXIDIZED_COPPER_FAN to WAXED_OXIDIZED_COPPER_FAN,
|
||||
//Fridges
|
||||
COPPER_FRIDGE to WAXED_COPPER_FRIDGE,
|
||||
EXPOSED_COPPER_FRIDGE to WAXED_EXPOSED_COPPER_FRIDGE,
|
||||
WEATHERED_COPPER_FRIDGE to WAXED_WEATHERED_COPPER_FRIDGE,
|
||||
OXIDIZED_COPPER_FRIDGE to WAXED_OXIDIZED_COPPER_FRIDGE,
|
||||
//Mowers
|
||||
COPPER_MOWER to WAXED_COPPER_MOWER,
|
||||
EXPOSED_COPPER_MOWER to WAXED_EXPOSED_COPPER_MOWER,
|
||||
WEATHERED_COPPER_MOWER to WAXED_WEATHERED_COPPER_MOWER,
|
||||
OXIDIZED_COPPER_MOWER to WAXED_OXIDIZED_COPPER_MOWER
|
||||
)
|
||||
|
||||
private fun apricornBlock(name: String, apricorn: Apricorn): ApricornBlock = this.create(name, ApricornBlock(BlockBehaviour.Properties.of().mapColor(apricorn.mapColor()).randomTicks().strength(Blocks.OAK_LOG.defaultDestroyTime(), Blocks.OAK_LOG.explosionResistance).sound(SoundType.WOOD).noOcclusion(), apricorn))
|
||||
|
||||
|
||||
@@ -454,6 +454,8 @@ object CobblemonItems : PlatformRegistry<Registry<Item>, ResourceKey<Registry<It
|
||||
@JvmField
|
||||
val DAMAGED_MONITOR = blockItem("damaged_monitor", CobblemonBlocks.DAMAGED_MONITOR)
|
||||
@JvmField
|
||||
val ROTOM_MONITOR = blockItem("rotom_data_monitor", CobblemonBlocks.ROTOM_MONITOR)
|
||||
@JvmField
|
||||
val HEALING_MACHINE = blockItem("healing_machine", CobblemonBlocks.HEALING_MACHINE, Rarity.UNCOMMON)
|
||||
@JvmField
|
||||
val PC = blockItem("pc", CobblemonBlocks.PC)
|
||||
@@ -1517,6 +1519,87 @@ object CobblemonItems : PlatformRegistry<Registry<Item>, ResourceKey<Registry<It
|
||||
@JvmField
|
||||
val BLANK_TM = this.create("blank_tm", CobblemonItem(Item.Properties()))
|
||||
|
||||
@JvmField
|
||||
val COPPER_OVEN = this.create("copper_oven", BlockItem(CobblemonBlocks.COPPER_OVEN, Item.Properties()))
|
||||
@JvmField
|
||||
val EXPOSED_COPPER_OVEN = this.create("exposed_copper_oven", BlockItem(CobblemonBlocks.EXPOSED_COPPER_OVEN, Item.Properties()))
|
||||
@JvmField
|
||||
val WEATHERED_COPPER_OVEN = this.create("weathered_copper_oven", BlockItem(CobblemonBlocks.WEATHERED_COPPER_OVEN, Item.Properties()))
|
||||
@JvmField
|
||||
val OXIDIZED_COPPER_OVEN = this.create("oxidized_copper_oven", BlockItem(CobblemonBlocks.OXIDIZED_COPPER_OVEN, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_COPPER_OVEN = this.create("waxed_copper_oven", BlockItem(CobblemonBlocks.WAXED_COPPER_OVEN, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_EXPOSED_COPPER_OVEN = this.create("waxed_exposed_copper_oven", BlockItem(CobblemonBlocks.WAXED_EXPOSED_COPPER_OVEN, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_WEATHERED_COPPER_OVEN = this.create("waxed_weathered_copper_oven", BlockItem(CobblemonBlocks.WAXED_WEATHERED_COPPER_OVEN, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_OXIDIZED_COPPER_OVEN = this.create("waxed_oxidized_copper_oven", BlockItem(CobblemonBlocks.WAXED_OXIDIZED_COPPER_OVEN, Item.Properties()))
|
||||
@JvmField
|
||||
val COPPER_WASHER = this.create("copper_washer", BlockItem(CobblemonBlocks.COPPER_WASHER, Item.Properties()))
|
||||
@JvmField
|
||||
val EXPOSED_COPPER_WASHER = this.create("exposed_copper_washer", BlockItem(CobblemonBlocks.EXPOSED_COPPER_WASHER, Item.Properties()))
|
||||
@JvmField
|
||||
val WEATHERED_COPPER_WASHER = this.create("weathered_copper_washer", BlockItem(CobblemonBlocks.WEATHERED_COPPER_WASHER, Item.Properties()))
|
||||
@JvmField
|
||||
val OXIDIZED_COPPER_WASHER = this.create("oxidized_copper_washer", BlockItem(CobblemonBlocks.OXIDIZED_COPPER_WASHER, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_COPPER_WASHER = this.create("waxed_copper_washer", BlockItem(CobblemonBlocks.WAXED_COPPER_WASHER, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_EXPOSED_COPPER_WASHER = this.create("waxed_exposed_copper_washer", BlockItem(CobblemonBlocks.WAXED_EXPOSED_COPPER_WASHER, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_WEATHERED_COPPER_WASHER = this.create("waxed_weathered_copper_washer", BlockItem(CobblemonBlocks.WAXED_WEATHERED_COPPER_WASHER, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_OXIDIZED_COPPER_WASHER = this.create("waxed_oxidized_copper_washer", BlockItem(CobblemonBlocks.WAXED_OXIDIZED_COPPER_WASHER, Item.Properties()))
|
||||
@JvmField
|
||||
val COPPER_FAN = this.create("copper_fan", BlockItem(CobblemonBlocks.COPPER_FAN, Item.Properties()))
|
||||
@JvmField
|
||||
val EXPOSED_COPPER_FAN = this.create("exposed_copper_fan", BlockItem(CobblemonBlocks.EXPOSED_COPPER_FAN, Item.Properties()))
|
||||
@JvmField
|
||||
val WEATHERED_COPPER_FAN = this.create("weathered_copper_fan", BlockItem(CobblemonBlocks.WEATHERED_COPPER_FAN, Item.Properties()))
|
||||
@JvmField
|
||||
val OXIDIZED_COPPER_FAN = this.create("oxidized_copper_fan", BlockItem(CobblemonBlocks.OXIDIZED_COPPER_FAN, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_COPPER_FAN = this.create("waxed_copper_fan", BlockItem(CobblemonBlocks.WAXED_COPPER_FAN, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_EXPOSED_COPPER_FAN = this.create("waxed_exposed_copper_fan", BlockItem(CobblemonBlocks.WAXED_EXPOSED_COPPER_FAN, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_WEATHERED_COPPER_FAN = this.create("waxed_weathered_copper_fan", BlockItem(CobblemonBlocks.WAXED_WEATHERED_COPPER_FAN, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_OXIDIZED_COPPER_FAN = this.create("waxed_oxidized_copper_fan", BlockItem(CobblemonBlocks.WAXED_OXIDIZED_COPPER_FAN, Item.Properties()))
|
||||
@JvmField
|
||||
val COPPER_MOWER = this.create("copper_mower", BlockItem(CobblemonBlocks.COPPER_MOWER, Item.Properties()))
|
||||
@JvmField
|
||||
val EXPOSED_COPPER_MOWER = this.create("exposed_copper_mower", BlockItem(CobblemonBlocks.EXPOSED_COPPER_MOWER, Item.Properties()))
|
||||
@JvmField
|
||||
val WEATHERED_COPPER_MOWER = this.create("weathered_copper_mower", BlockItem(CobblemonBlocks.WEATHERED_COPPER_MOWER, Item.Properties()))
|
||||
@JvmField
|
||||
val OXIDIZED_COPPER_MOWER = this.create("oxidized_copper_mower", BlockItem(CobblemonBlocks.OXIDIZED_COPPER_MOWER, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_COPPER_MOWER = this.create("waxed_copper_mower", BlockItem(CobblemonBlocks.WAXED_COPPER_MOWER, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_EXPOSED_COPPER_MOWER = this.create("waxed_exposed_copper_mower", BlockItem(CobblemonBlocks.WAXED_EXPOSED_COPPER_MOWER, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_WEATHERED_COPPER_MOWER = this.create("waxed_weathered_copper_mower", BlockItem(CobblemonBlocks.WAXED_WEATHERED_COPPER_MOWER, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_OXIDIZED_COPPER_MOWER = this.create("waxed_oxidized_copper_mower", BlockItem(CobblemonBlocks.WAXED_OXIDIZED_COPPER_MOWER, Item.Properties()))
|
||||
@JvmField
|
||||
val COPPER_FRIDGE = this.create("copper_fridge", BlockItem(CobblemonBlocks.COPPER_FRIDGE, Item.Properties()))
|
||||
@JvmField
|
||||
val EXPOSED_COPPER_FRIDGE = this.create("exposed_copper_fridge", BlockItem(CobblemonBlocks.EXPOSED_COPPER_FRIDGE, Item.Properties()))
|
||||
@JvmField
|
||||
val WEATHERED_COPPER_FRIDGE = this.create("weathered_copper_fridge", BlockItem(CobblemonBlocks.WEATHERED_COPPER_FRIDGE, Item.Properties()))
|
||||
@JvmField
|
||||
val OXIDIZED_COPPER_FRIDGE = this.create("oxidized_copper_fridge", BlockItem(CobblemonBlocks.OXIDIZED_COPPER_FRIDGE, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_COPPER_FRIDGE = this.create("waxed_copper_fridge", BlockItem(CobblemonBlocks.WAXED_COPPER_FRIDGE, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_EXPOSED_COPPER_FRIDGE = this.create("waxed_exposed_copper_fridge", BlockItem(CobblemonBlocks.WAXED_EXPOSED_COPPER_FRIDGE, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_WEATHERED_COPPER_FRIDGE = this.create("waxed_weathered_copper_fridge", BlockItem(CobblemonBlocks.WAXED_WEATHERED_COPPER_FRIDGE, Item.Properties()))
|
||||
@JvmField
|
||||
val WAXED_OXIDIZED_COPPER_FRIDGE = this.create("waxed_oxidized_copper_fridge", BlockItem(CobblemonBlocks.WAXED_OXIDIZED_COPPER_FRIDGE, Item.Properties()))
|
||||
|
||||
// Type Gems
|
||||
@JvmField
|
||||
val NORMAL_GEM = this.create("normal_gem", GemItem(Item.Properties(), CobblemonBlocks.TYPE_GEM_CLUSTER_NORMAL))
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
package com.cobblemon.mod.common
|
||||
|
||||
|
||||
import com.cobblemon.mod.common.block.appliances.oven.CopperOvenMenu
|
||||
import com.cobblemon.mod.common.block.campfirepot.CookingPotMenu
|
||||
import com.cobblemon.mod.common.block.tmmachine.TMMachineMenu
|
||||
import com.cobblemon.mod.common.platform.PlatformRegistry
|
||||
@@ -22,6 +23,7 @@ object CobblemonMenuType : PlatformRegistry<Registry<MenuType<*>>, ResourceKey<R
|
||||
|
||||
val COOKING_POT = MenuType.register("cooking_pot_menu", ::CookingPotMenu)
|
||||
val TM_MACHINE = MenuType.register("tm_machine_menu", ::TMMachineMenu)
|
||||
val COPPER_OVEN = MenuType.register("copper_oven_menu", ::CopperOvenMenu)
|
||||
|
||||
override val registry: Registry<MenuType<*>>
|
||||
get() = BuiltInRegistries.MENU
|
||||
|
||||
@@ -18,6 +18,7 @@ import com.cobblemon.mod.common.client.net.callback.move.OpenMoveCallbackHandler
|
||||
import com.cobblemon.mod.common.client.net.callback.party.OpenPartyCallbackHandler
|
||||
import com.cobblemon.mod.common.client.net.callback.partymove.OpenPartyMoveCallbackHandler
|
||||
import com.cobblemon.mod.common.client.net.cooking.ToggleCookingPotLidHandler
|
||||
import com.cobblemon.mod.common.client.net.appliances.SetCopperOvenDoorHandler
|
||||
import com.cobblemon.mod.common.client.net.data.CobblemonMechanicsSyncHandler
|
||||
import com.cobblemon.mod.common.client.net.data.DataRegistrySyncPacketHandler
|
||||
import com.cobblemon.mod.common.client.net.data.RideSettingsSyncHandler
|
||||
@@ -82,6 +83,7 @@ import com.cobblemon.mod.common.net.messages.client.callback.OpenPartyCallbackPa
|
||||
import com.cobblemon.mod.common.net.messages.client.callback.OpenPartyMoveCallbackPacket
|
||||
import com.cobblemon.mod.common.net.messages.client.cooking.SeasoningRegistrySyncPacket
|
||||
import com.cobblemon.mod.common.net.messages.client.cooking.ToggleCookingPotLidPacket
|
||||
import com.cobblemon.mod.common.net.messages.client.appliances.SetCopperOvenDoorPacket
|
||||
import com.cobblemon.mod.common.net.messages.client.data.*
|
||||
import com.cobblemon.mod.common.net.messages.client.debug.RequestOpenRidingStatsDebugGUIPacket
|
||||
import com.cobblemon.mod.common.net.messages.client.dialogue.DialogueClosedPacket
|
||||
@@ -566,7 +568,6 @@ object CobblemonNetwork {
|
||||
list.add(PacketRegisterInfo(SwapPartyPokemonPacket.ID, SwapPartyPokemonPacket::decode, SwapPartyPokemonHandler))
|
||||
|
||||
list.add(PacketRegisterInfo(MovePCPokemonPacket.ID, MovePCPokemonPacket::decode, MovePCPokemonHandler))
|
||||
list.add(PacketRegisterInfo(MovePCPokemonBatchPacket.ID, MovePCPokemonBatchPacket::decode, MovePCPokemonBatchHandler))
|
||||
list.add(PacketRegisterInfo(MovePartyPokemonPacket.ID, MovePartyPokemonPacket::decode, MovePartyPokemonHandler))
|
||||
|
||||
list.add(PacketRegisterInfo(SwapPCPartyPokemonPacket.ID, SwapPCPartyPokemonPacket::decode, SwapPCPartyPokemonHandler))
|
||||
@@ -636,6 +637,7 @@ object CobblemonNetwork {
|
||||
|
||||
// Cooking
|
||||
list.add(PacketRegisterInfo(ToggleCookingPotLidPacket.ID, ToggleCookingPotLidPacket::decode, ToggleCookingPotLidHandler))
|
||||
list.add(PacketRegisterInfo(SetCopperOvenDoorPacket.ID, SetCopperOvenDoorPacket::decode, SetCopperOvenDoorHandler))
|
||||
|
||||
// TM Machine
|
||||
list.add(PacketRegisterInfo(SetActiveTMPacket.ID, SetActiveTMPacket::decode, SetActiveTMPacketHandler))
|
||||
|
||||
@@ -12,6 +12,7 @@ package com.cobblemon.mod.common
|
||||
import com.cobblemon.mod.common.item.crafting.CookingPotRecipe
|
||||
import com.cobblemon.mod.common.item.crafting.CookingPotShapelessRecipe
|
||||
import com.cobblemon.mod.common.item.crafting.brewingstand.BrewingStandRecipe
|
||||
import com.cobblemon.mod.common.item.crafting.washer.WasherRecipe
|
||||
import com.cobblemon.mod.common.platform.PlatformRegistry
|
||||
import net.minecraft.core.Registry
|
||||
import net.minecraft.core.registries.BuiltInRegistries
|
||||
@@ -26,7 +27,9 @@ object CobblemonRecipeSerializers : PlatformRegistry<Registry<RecipeSerializer<*
|
||||
val COOKING_POT_SHAPELESS: RecipeSerializer<*> = register("cobblemon:cooking_pot_shapeless", CookingPotShapelessRecipe.Serializer())
|
||||
|
||||
val BREWING_STAND: RecipeSerializer<*> = register("cobblemon:brewing_stand", BrewingStandRecipe.Serializer())
|
||||
|
||||
|
||||
val WASHER: RecipeSerializer<*> = register("cobblemon:washer", WasherRecipe.Serializer())
|
||||
|
||||
override val registry: Registry<RecipeSerializer<*>>
|
||||
get() = BuiltInRegistries.RECIPE_SERIALIZER
|
||||
override val resourceKey: ResourceKey<Registry<RecipeSerializer<*>>>
|
||||
|
||||
@@ -12,6 +12,7 @@ package com.cobblemon.mod.common
|
||||
import com.cobblemon.mod.common.item.crafting.CookingPotRecipe
|
||||
import com.cobblemon.mod.common.item.crafting.CookingPotShapelessRecipe
|
||||
import com.cobblemon.mod.common.item.crafting.brewingstand.BrewingStandRecipe
|
||||
import com.cobblemon.mod.common.item.crafting.washer.WasherRecipe
|
||||
import com.cobblemon.mod.common.platform.PlatformRegistry
|
||||
import net.minecraft.core.Registry
|
||||
import net.minecraft.core.registries.BuiltInRegistries
|
||||
@@ -26,7 +27,9 @@ object CobblemonRecipeTypes : PlatformRegistry<Registry<RecipeType<*>>, Resource
|
||||
val COOKING_POT_SHAPELESS: RecipeType<CookingPotShapelessRecipe> = register("cobblemon:cooking_pot_shapeless")
|
||||
|
||||
val BREWING_STAND: RecipeType<BrewingStandRecipe> = register("cobblemon:brewing_stand")
|
||||
|
||||
|
||||
val WASHER: RecipeType<WasherRecipe> = register("cobblemon:washer")
|
||||
|
||||
override val registry: Registry<RecipeType<*>>
|
||||
get() = BuiltInRegistries.RECIPE_TYPE
|
||||
override val resourceKey: ResourceKey<Registry<RecipeType<*>>>
|
||||
|
||||
@@ -404,6 +404,25 @@ object CobblemonSounds : PlatformRegistry<Registry<SoundEvent>, ResourceKey<Regi
|
||||
@JvmField
|
||||
val IMPACT_WATER = this.create("impact.water")
|
||||
|
||||
@JvmField
|
||||
val APPLIANCE_STEP = this.create("block.appliance.roto_appliance_step")
|
||||
@JvmField
|
||||
val APPLIANCE_PLACE = this.create("block.appliance.roto_appliance_place")
|
||||
@JvmField
|
||||
val APPLIANCE_HIT = this.create("block.appliance.roto_appliance_hit")
|
||||
@JvmField
|
||||
val APPLIANCE_BREAK = this.create("block.appliance.roto_appliance_break")
|
||||
@JvmField
|
||||
val MOWER_CUT = this.create("block.appliance.roto_mower_cut")
|
||||
@JvmField
|
||||
val WASHER_WASH = this.create("block.appliance.roto_washer_wash")
|
||||
@JvmField
|
||||
val FAN_BLOW = this.create("block.appliance.roto_fan_blow")
|
||||
@JvmField
|
||||
val FAN_START = this.create("block.appliance.roto_fan_start")
|
||||
@JvmField
|
||||
val FAN_STOP = this.create("block.appliance.roto_fan_stop")
|
||||
|
||||
// Note to self or whoever's peeking, block sounds have to be at 1.1f pitch
|
||||
// For some reason, the game pitches them down and compensating for it here returns them to normal
|
||||
@JvmField
|
||||
@@ -424,6 +443,15 @@ object CobblemonSounds : PlatformRegistry<Registry<SoundEvent>, ResourceKey<Regi
|
||||
TUMBLESTONE_STEP
|
||||
)
|
||||
|
||||
@JvmField
|
||||
val APPLIANCE_BLOCK_SOUNDS = SoundType(1f, 1.0f,
|
||||
APPLIANCE_BREAK,
|
||||
APPLIANCE_STEP,
|
||||
APPLIANCE_PLACE,
|
||||
APPLIANCE_HIT,
|
||||
APPLIANCE_STEP
|
||||
)
|
||||
|
||||
@JvmField
|
||||
val TYPE_GEM_BLOCK_BREAK = this.create("block.type_gem_block.break")
|
||||
@JvmField
|
||||
|
||||
@@ -9,9 +9,12 @@
|
||||
package com.cobblemon.mod.common.api.riding.stats
|
||||
|
||||
import com.cobblemon.mod.common.api.cooking.Flavour
|
||||
import com.cobblemon.mod.common.api.tags.CobblemonItemTags
|
||||
import com.cobblemon.mod.common.util.lang
|
||||
import net.minecraft.network.chat.Component
|
||||
import net.minecraft.network.chat.MutableComponent
|
||||
import net.minecraft.tags.TagKey
|
||||
import net.minecraft.world.item.Item
|
||||
|
||||
/**
|
||||
* A stat that is used for riding Pokémon. The exact implementation of each of these depends on the [com.cobblemon.mod.common.api.riding.controller.RideController].
|
||||
@@ -20,13 +23,14 @@ import net.minecraft.network.chat.MutableComponent
|
||||
* @since February 17th, 2025
|
||||
*/
|
||||
enum class RidingStat(
|
||||
val flavour: Flavour
|
||||
val flavour: Flavour,
|
||||
val powerItem: TagKey<Item>
|
||||
) {
|
||||
ACCELERATION(Flavour.SPICY),
|
||||
SKILL(Flavour.DRY),
|
||||
SPEED(Flavour.SWEET),
|
||||
STAMINA(Flavour.SOUR),
|
||||
JUMP(Flavour.BITTER);
|
||||
ACCELERATION(Flavour.SPICY, CobblemonItemTags.POWER_BRACER),
|
||||
SKILL(Flavour.DRY, CobblemonItemTags.POWER_BELT),
|
||||
SPEED(Flavour.SWEET, CobblemonItemTags.POWER_ANKLET),
|
||||
STAMINA(Flavour.SOUR, CobblemonItemTags.POWER_WEIGHT),
|
||||
JUMP(Flavour.BITTER, CobblemonItemTags.POWER_BAND);
|
||||
|
||||
companion object {
|
||||
fun getByName(name: String) = RidingStat.entries.firstOrNull { it.name.equals(name, ignoreCase = true) }
|
||||
|
||||
+1
@@ -41,6 +41,7 @@ class WeightTweakRuleComponent : SpawnRuleComponent {
|
||||
return if (spawnDetailSelector.selects(detail) && spawnablePositionSelector.selects(spawnablePosition)) {
|
||||
runtime.environment.setSimpleVariable("spawn", detail.struct)
|
||||
runtime.environment.setSimpleVariable("spawn_detail", detail.struct)
|
||||
runtime.environment.setSimpleVariable("spawnable_position", spawnablePosition.getOrSetupStruct())
|
||||
runtime.environment.setSimpleVariable("weight", DoubleValue(weight.toDouble()))
|
||||
runtime.resolveFloat(this.weight)
|
||||
} else {
|
||||
|
||||
@@ -29,7 +29,6 @@ import com.cobblemon.mod.common.net.messages.client.storage.pc.InitializePCPacke
|
||||
import com.cobblemon.mod.common.net.messages.client.storage.pc.MoveClientPCPokemonPacket
|
||||
import com.cobblemon.mod.common.net.messages.client.storage.pc.SetPCPokemonPacket
|
||||
import com.cobblemon.mod.common.net.messages.client.storage.pc.wallpaper.UnlockPCBoxWallpaperPacket
|
||||
import com.cobblemon.mod.common.net.messages.server.storage.pc.MovePCPokemonBatchPacket
|
||||
import com.cobblemon.mod.common.pokemon.Pokemon
|
||||
import com.cobblemon.mod.common.util.DataKeys
|
||||
import com.cobblemon.mod.common.util.asTranslated
|
||||
@@ -271,34 +270,6 @@ open class PCStore(
|
||||
}
|
||||
}
|
||||
|
||||
fun moveBatch(moves: List<Triple<UUID, PCPosition, PCPosition>>): Boolean {
|
||||
if (moves.isEmpty() || moves.size > MovePCPokemonBatchPacket.MAX_MOVES) return false
|
||||
if (moves.map { it.second }.toSet().size != moves.size ||
|
||||
moves.map { it.third }.toSet().size != moves.size ||
|
||||
moves.map { it.first }.toSet().size != moves.size
|
||||
) return false
|
||||
if (moves.any { (_, source, target) -> !isValidPosition(source) || !isValidPosition(target) }) return false
|
||||
|
||||
val sourcePositions = moves.mapTo(mutableSetOf()) { it.second }
|
||||
val pokemonMoves = moves.map { (pokemonID, source, target) ->
|
||||
val pokemon = get(source)?.takeIf { it.uuid == pokemonID } ?: return false
|
||||
Triple(source, target, pokemon)
|
||||
}
|
||||
if (pokemonMoves.any { (_, target, _) -> get(target) != null && target !in sourcePositions }) return false
|
||||
|
||||
pokemonMoves.forEach { (source, _, _) -> setAtPosition(source, null) }
|
||||
pokemonMoves.forEach { (_, target, pokemon) -> setAtPosition(target, pokemon) }
|
||||
|
||||
pokemonMoves.forEach { (_, _, pokemon) ->
|
||||
sendPacketToObservers(RemoveClientPokemonPacket(this, pokemon.uuid))
|
||||
}
|
||||
pokemonMoves.forEach { (_, target, pokemon) ->
|
||||
sendPacketToObservers(SetPCPokemonPacket(uuid, target) { pokemon })
|
||||
}
|
||||
pcChangeObservable.emit(Unit)
|
||||
return true
|
||||
}
|
||||
|
||||
override fun loadPositionFromNBT(nbt: CompoundTag): StoreCoordinates<PCPosition> {
|
||||
return StoreCoordinates(this, PCPosition(nbt.getShort(DataKeys.STORE_BOX).toInt(), nbt.getByte(DataKeys.STORE_SLOT).toInt()))
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ import net.minecraft.world.level.block.entity.BlockEntityType
|
||||
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.HORIZONTAL_FACING
|
||||
import net.minecraft.world.level.block.state.properties.BooleanProperty
|
||||
import net.minecraft.world.level.block.state.properties.EnumProperty
|
||||
import net.minecraft.world.level.pathfinder.PathComputationType
|
||||
import net.minecraft.world.phys.BlockHitResult
|
||||
@@ -46,7 +47,10 @@ class MonitorBlock(settings: Properties) : MultiblockBlock(settings) {
|
||||
init {
|
||||
registerDefaultState(stateDefinition.any()
|
||||
.setValue(HORIZONTAL_FACING, Direction.NORTH)
|
||||
.setValue(SCREEN, MonitorScreen.OFF))
|
||||
.setValue(SCREEN, MonitorScreen.OFF)
|
||||
.setValue(NATURAL, false)
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
override fun createMultiBlockEntity(
|
||||
@@ -110,6 +114,7 @@ class MonitorBlock(settings: Properties) : MultiblockBlock(settings) {
|
||||
override fun createBlockStateDefinition(builder: StateDefinition.Builder<Block, BlockState>) {
|
||||
builder.add(HORIZONTAL_FACING)
|
||||
builder.add(SCREEN)
|
||||
builder.add(NATURAL)
|
||||
}
|
||||
|
||||
override fun hasAnalogOutputSignal(state: BlockState): Boolean {
|
||||
@@ -163,6 +168,7 @@ class MonitorBlock(settings: Properties) : MultiblockBlock(settings) {
|
||||
|
||||
//0 is off
|
||||
val SCREEN = EnumProperty.create("screen", MonitorScreen::class.java)
|
||||
val NATURAL = BooleanProperty.create("natural")
|
||||
val HITBOX_SOUTH = Shapes.or(
|
||||
Shapes.box(0.0625, 0.0, 0.0625, 0.9375, 0.375, 0.9375),
|
||||
Shapes.box(0.0625, 0.875, 0.0625, 0.9375, 1.0, 0.9375),
|
||||
|
||||
@@ -0,0 +1,169 @@
|
||||
/*
|
||||
* 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.block
|
||||
|
||||
import com.cobblemon.mod.common.Cobblemon
|
||||
import com.cobblemon.mod.common.api.pokemon.PokemonProperties
|
||||
import com.cobblemon.mod.common.api.scheduling.afterOnServer
|
||||
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity
|
||||
import com.cobblemon.mod.common.util.math.FloatRange
|
||||
import com.cobblemon.mod.common.util.party
|
||||
import com.cobblemon.mod.common.util.toVec3d
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Direction
|
||||
import net.minecraft.server.level.ServerPlayer
|
||||
import net.minecraft.sounds.SoundEvent
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.InteractionResult
|
||||
import net.minecraft.world.level.Level
|
||||
import net.minecraft.world.level.block.Blocks
|
||||
import net.minecraft.world.level.block.HorizontalDirectionalBlock
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
import net.minecraft.world.phys.Vec3
|
||||
|
||||
/**
|
||||
* A block that can transform into a [PokemonEntity].
|
||||
* Call [spawnPokemon] to spawn.
|
||||
*
|
||||
* @author whatsy
|
||||
*/
|
||||
interface PokemonDisguiseBlock {
|
||||
|
||||
private val facingToYaw: HashMap<Direction, Float>
|
||||
get() = hashMapOf(
|
||||
Direction.NORTH to -179.0F,
|
||||
Direction.WEST to 90.0F,
|
||||
Direction.SOUTH to 0.0F,
|
||||
Direction.EAST to -90.0F
|
||||
)
|
||||
|
||||
/**
|
||||
* An [IntRange] representing the possible level of the spawned Pokémon.
|
||||
*/
|
||||
val levelRange: IntRange
|
||||
|
||||
/**
|
||||
* A [String] representing the [PokemonProperties] of the spawned Pokémon.
|
||||
* Do not include level, scale, shiny, or alpha;
|
||||
* Those are defined using [levelRange], [scaleRange], [shinyRate] and [alphaRate] respectively.
|
||||
*/
|
||||
val pokemonArgs: String
|
||||
|
||||
/**
|
||||
* The chance of the spawned Pokémon being a shiny.
|
||||
* Leave null if impossible.
|
||||
* Defaults to [Cobblemon.config.shinyRate]
|
||||
*/
|
||||
val shinyRate: Float?
|
||||
get() = Cobblemon.config.shinyRate
|
||||
|
||||
/**
|
||||
* The chance of the spawned Pokémon being an Alpha.
|
||||
* Leave null if impossible.
|
||||
* Defaults to null
|
||||
*/
|
||||
val alphaRate: Float?
|
||||
get() = null
|
||||
|
||||
/**
|
||||
* The [BlockState] to replace the block with on interaction.
|
||||
* Defaults to [Blocks.AIR]
|
||||
* Leave null to leave the block unaltered.
|
||||
*
|
||||
* @param originalState The [BlockState] of the block being interacted with. Use to transfer properties to a new block.
|
||||
*/
|
||||
fun getReplacementBlock(originalState: BlockState): BlockState? = Blocks.AIR.defaultBlockState()
|
||||
|
||||
/**
|
||||
* Whether or not a battle should be initiated when the Pokémon spawns.
|
||||
* Defaults to true.
|
||||
* Does not affect players in creative mode.
|
||||
*/
|
||||
val shouldInitiateBattle: Boolean
|
||||
get() = true
|
||||
|
||||
/**
|
||||
* The [SoundEvent], if any, to play when the Pokémon spawns.
|
||||
* Defaults to null.
|
||||
*/
|
||||
val spawnSound: SoundEvent?
|
||||
get() = null
|
||||
|
||||
/**
|
||||
* A [FloatRange] representing the possible scale of the spawned Pokémon.
|
||||
* Defaults to config values.
|
||||
*/
|
||||
val scaleRange: FloatRange
|
||||
get() = FloatRange(Cobblemon.config.pokemonIntrinsicSizeMin, Cobblemon.config.pokemonIntrinsicSizeMax)
|
||||
|
||||
/**
|
||||
* Defines a [Vec3] offset for where the Pokémon will spawn.
|
||||
* Defaults to 0, 0, 0
|
||||
*/
|
||||
val offset: Vec3
|
||||
get() = Vec3(0.0, 0.0, 0.0)
|
||||
|
||||
/**
|
||||
* Returns the direction the Pokémon should be facing upon spawning.
|
||||
* Defaults to the
|
||||
*/
|
||||
fun getPokemonFacing(state: BlockState): Direction
|
||||
|
||||
/**
|
||||
* Spawn a Pokémon from this block.
|
||||
*
|
||||
* @param level The [Level] to spawn this Pokémon in.
|
||||
* @param pos The [BlockPos] to spawn this Pokémon at.
|
||||
* @param state The [BlockState] of the block at time of spawning.
|
||||
* @param player The [ServerPlayer] to initiate the battle against.
|
||||
*/
|
||||
fun spawnPokemon(level: Level, pos: BlockPos, state: BlockState, player: ServerPlayer): InteractionResult {
|
||||
val random = RandomSource.create()
|
||||
val isShiny = shinyRate?.let { random.nextInt(it.toInt()) == 0 } ?: false
|
||||
val isAlpha = alphaRate?.let { random.nextInt(it.toInt()) == 0 } ?: false
|
||||
val properties = "$pokemonArgs lvl=${levelRange.random()} scale_modifier=${scaleRange.random()} alpha=${isAlpha} shiny=${isShiny}"
|
||||
val pokemon = PokemonProperties.parse(properties)
|
||||
val entity = pokemon.createEntity(level)
|
||||
|
||||
// The yaw based on the block's facing direction
|
||||
val yaw = facingToYaw[getPokemonFacing(state)] ?: 0.0F
|
||||
|
||||
entity.entityData.set(PokemonEntity.SPAWN_DIRECTION, yaw)
|
||||
val offsetDir = state.getValue(HorizontalDirectionalBlock.FACING)
|
||||
val vec = pos.toVec3d()
|
||||
.add(offsetDir.stepX * 0.1 + 0.5, 0.0, offsetDir.stepZ * 0.1 + 0.5)
|
||||
.add(offset)
|
||||
entity.moveTo(vec.x, vec.y, vec.z, yaw, entity.xRot)
|
||||
entity.yBodyRot = yaw
|
||||
entity.yBodyRotO = yaw
|
||||
entity.yHeadRot = yaw
|
||||
entity.yHeadRotO = yaw
|
||||
level.addFreshEntity(entity)
|
||||
|
||||
if (getReplacementBlock(state) == Blocks.AIR) {
|
||||
level.removeBlock(pos, false)
|
||||
} else {
|
||||
getReplacementBlock(state)?.let {
|
||||
level.setBlockAndUpdate(pos, it)
|
||||
}
|
||||
}
|
||||
afterOnServer(seconds = 0.1F) {
|
||||
if (player !in player.level().players()) {
|
||||
return@afterOnServer
|
||||
}
|
||||
if (!player.isCreative && shouldInitiateBattle) {
|
||||
entity.forceBattle(player)
|
||||
} else {
|
||||
spawnSound?.let { level.playSound(null, pos, it, SoundSource.NEUTRAL) }
|
||||
}
|
||||
}
|
||||
return InteractionResult.SUCCESS
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* 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.block
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonBlocks
|
||||
import com.cobblemon.mod.common.CobblemonSounds
|
||||
import com.cobblemon.mod.common.block.DamagedMonitorBlock.Companion.HITBOX_EAST
|
||||
import com.cobblemon.mod.common.block.DamagedMonitorBlock.Companion.HITBOX_NORTH
|
||||
import com.cobblemon.mod.common.block.DamagedMonitorBlock.Companion.HITBOX_SOUTH
|
||||
import com.cobblemon.mod.common.block.DamagedMonitorBlock.Companion.HITBOX_WEST
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Direction
|
||||
import net.minecraft.server.level.ServerPlayer
|
||||
import net.minecraft.world.InteractionResult
|
||||
import net.minecraft.world.entity.player.Player
|
||||
import net.minecraft.world.item.context.BlockPlaceContext
|
||||
import net.minecraft.world.level.BlockGetter
|
||||
import net.minecraft.world.level.Level
|
||||
import net.minecraft.world.level.block.Block
|
||||
import net.minecraft.world.level.block.HorizontalDirectionalBlock
|
||||
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.HORIZONTAL_FACING
|
||||
import net.minecraft.world.phys.BlockHitResult
|
||||
import net.minecraft.world.phys.Vec3
|
||||
import net.minecraft.world.phys.shapes.CollisionContext
|
||||
import net.minecraft.world.phys.shapes.VoxelShape
|
||||
|
||||
class RotomMonitorBlock(settings: Properties) : Block(settings), PokemonDisguiseBlock {
|
||||
|
||||
init {
|
||||
registerDefaultState(stateDefinition.any()
|
||||
.setValue(HorizontalDirectionalBlock.FACING, Direction.NORTH)
|
||||
.setValue(MonitorBlock.SCREEN, MonitorBlock.MonitorScreen.OFF)
|
||||
)
|
||||
}
|
||||
|
||||
override fun getStateForPlacement(context: BlockPlaceContext): BlockState? {
|
||||
return defaultBlockState().setValue(HorizontalDirectionalBlock.FACING, context.horizontalDirection)
|
||||
}
|
||||
|
||||
override fun createBlockStateDefinition(builder: StateDefinition.Builder<Block?, BlockState?>) {
|
||||
builder.add(HorizontalDirectionalBlock.FACING)
|
||||
builder.add(MonitorBlock.SCREEN)
|
||||
}
|
||||
|
||||
override fun attack(state: BlockState, level: Level, pos: BlockPos, player: Player) {
|
||||
if (!level.isClientSide) {
|
||||
spawnPokemon(level, pos, state, player as ServerPlayer)
|
||||
}
|
||||
return super.attack(state, level, pos, player)
|
||||
}
|
||||
|
||||
override fun getShape(
|
||||
state: BlockState,
|
||||
level: BlockGetter,
|
||||
pos: BlockPos,
|
||||
context: CollisionContext
|
||||
): VoxelShape {
|
||||
return when (state.getValue(HorizontalDirectionalBlock.FACING)) {
|
||||
Direction.WEST -> HITBOX_WEST
|
||||
Direction.EAST -> HITBOX_EAST
|
||||
Direction.SOUTH -> HITBOX_SOUTH
|
||||
else -> HITBOX_NORTH
|
||||
}
|
||||
}
|
||||
|
||||
override fun useWithoutItem(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
player: Player,
|
||||
hitResult: BlockHitResult
|
||||
): InteractionResult {
|
||||
return if (player is ServerPlayer) {
|
||||
spawnPokemon(level, pos, state, player)
|
||||
} else {
|
||||
InteractionResult.SUCCESS
|
||||
}
|
||||
}
|
||||
|
||||
override val levelRange = 35..60
|
||||
override val pokemonArgs = "rotom"
|
||||
override val spawnSound = CobblemonSounds.MONITOR_BREAK
|
||||
override val offset = Vec3(0.0, 1.0, 0.0)
|
||||
override fun getReplacementBlock(originalState: BlockState): BlockState =
|
||||
CobblemonBlocks.MONITOR.defaultBlockState()
|
||||
.setValue(HorizontalDirectionalBlock.FACING, originalState.getValue(HorizontalDirectionalBlock.FACING))
|
||||
.setValue(MonitorBlock.NATURAL, true)
|
||||
override fun getPokemonFacing(state: BlockState): Direction = state.getValue(HORIZONTAL_FACING).opposite
|
||||
}
|
||||
@@ -169,7 +169,6 @@ class TypeGemCoreBlock(properties: Properties) : Block(properties) {
|
||||
|
||||
if (fullClusterCount == 0) {
|
||||
if (gemCount < Cobblemon.config.typeGemMinGrowth && clusters.isNotEmpty()) {
|
||||
println("Force set a cluster to FULL at size $gemCount")
|
||||
val randomCluster = clusters.random()
|
||||
level.setBlockAndUpdate(randomCluster.second, randomCluster.first.setValue(GROWTH_TYPE, GrowthType.FULL))
|
||||
}
|
||||
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* 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.block.appliances
|
||||
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.Container
|
||||
import net.minecraft.world.Containers
|
||||
import net.minecraft.world.level.Level
|
||||
import net.minecraft.world.level.block.EntityBlock
|
||||
import net.minecraft.world.level.block.WeatheringCopper
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
import net.minecraft.world.level.block.state.properties.Property
|
||||
|
||||
|
||||
interface WeatheringCopperAppliance : WeatheringCopper {
|
||||
val weatherState: WeatheringCopper.WeatherState
|
||||
|
||||
companion object {
|
||||
private const val OXIDATION_CHANCE = 0.05688889F
|
||||
|
||||
/**
|
||||
* Waxing/unwaxing causes container data to be lost. Run this in onRemove() to fix.
|
||||
*/
|
||||
fun handleOnRemove(
|
||||
oldState: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
newState: BlockState,
|
||||
movedByPiston: Boolean
|
||||
) {
|
||||
val oldBlockEntityType = level.getBlockEntity(pos)?.type
|
||||
val newBlockEntityType = (newState.block as? EntityBlock)?.newBlockEntity(pos, newState)?.type
|
||||
if (!oldState.`is`(newState.block) && oldState.hasBlockEntity() && oldBlockEntityType != newBlockEntityType) {
|
||||
val blockEntity = level.getBlockEntity(pos) as? Container
|
||||
if (blockEntity != null) {
|
||||
Containers.dropContents(level, pos, blockEntity)
|
||||
level.updateNeighbourForOutputSignal(pos, oldState.block)
|
||||
}
|
||||
|
||||
level.removeBlockEntity(pos)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun getAge() = this.weatherState
|
||||
|
||||
override fun changeOverTime(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
if (random.nextFloat() >= OXIDATION_CHANCE) return
|
||||
|
||||
getNextState(state, level, pos, random).ifPresent { nextState ->
|
||||
val currentState = level.getBlockState(pos)
|
||||
val blockEntityTag = level.getBlockEntity(pos)?.saveWithFullMetadata(level.registryAccess())
|
||||
var transferredState = nextState
|
||||
currentState.values.keys.forEach { property ->
|
||||
if (transferredState.hasProperty(property)) {
|
||||
transferredState = copyProperty(currentState, transferredState, property)
|
||||
}
|
||||
}
|
||||
level.setBlock(pos, transferredState, 3)
|
||||
if (blockEntityTag != null) {
|
||||
level.getBlockEntity(pos)?.let { blockEntity ->
|
||||
blockEntity.loadWithComponents(blockEntityTag, level.registryAccess())
|
||||
blockEntity.setChanged()
|
||||
val restoredState = level.getBlockState(pos)
|
||||
level.sendBlockUpdated(pos, restoredState, restoredState, 3)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun <T : Comparable<T>> copyProperty(
|
||||
source: BlockState,
|
||||
target: BlockState,
|
||||
property: Property<T>
|
||||
): BlockState {
|
||||
return target.setValue(property, source.getValue(property))
|
||||
}
|
||||
|
||||
}
|
||||
+202
@@ -0,0 +1,202 @@
|
||||
/*
|
||||
* 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.block.appliances.fan
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonSounds
|
||||
import com.cobblemon.mod.common.client.sound.BlockEntitySoundTracker
|
||||
import com.cobblemon.mod.common.client.sound.instances.CancellableSoundInstance
|
||||
import com.cobblemon.mod.common.util.rotateShape
|
||||
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.sounds.SoundSource
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.InteractionResult
|
||||
import net.minecraft.world.entity.player.Player
|
||||
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.block.*
|
||||
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.HORIZONTAL_FACING
|
||||
import net.minecraft.world.level.block.state.properties.BlockStateProperties.WATERLOGGED
|
||||
import net.minecraft.world.level.block.state.properties.BooleanProperty
|
||||
import net.minecraft.world.level.material.FluidState
|
||||
import net.minecraft.world.level.material.Fluids
|
||||
import net.minecraft.world.phys.AABB
|
||||
import net.minecraft.world.phys.BlockHitResult
|
||||
import net.minecraft.world.phys.shapes.CollisionContext
|
||||
import net.minecraft.world.phys.shapes.Shapes
|
||||
import net.minecraft.world.phys.shapes.VoxelShape
|
||||
//TODO: All the Fan appliance stuff
|
||||
open class CopperFanBlock(settings: Properties) : HorizontalDirectionalBlock(settings), SimpleWaterloggedBlock {
|
||||
|
||||
companion object {
|
||||
val CODEC: MapCodec<CopperFanBlock> = RecordCodecBuilder.mapCodec {
|
||||
it.group(propertiesCodec()).apply(it, ::CopperFanBlock) }
|
||||
val WALL = BooleanProperty.create("wall")
|
||||
val POWER = BlockStateProperties.POWER
|
||||
val PUSH = BooleanProperty.create("push")
|
||||
|
||||
val FLOOR_HITBOX = Shapes.or(
|
||||
Shapes.box(0.0625, 0.125, 0.4375, 0.9375, 1.0, 0.5625),
|
||||
Shapes.box(0.375, 0.0, 0.375, 0.625, 0.125, 0.625))
|
||||
val WALL_HITBOX = Shapes.box(0.0625, 0.0625, 0.875, 0.9375, 0.9375, 1.0)
|
||||
}
|
||||
|
||||
init {
|
||||
registerDefaultState(stateDefinition.any()
|
||||
.setValue(HORIZONTAL_FACING, Direction.NORTH)
|
||||
.setValue(WATERLOGGED, false)
|
||||
.setValue(WALL, false)
|
||||
.setValue(POWER, 0)
|
||||
.setValue(PUSH, true) //If True, fan pushes entities, If False, fan is cosmetic only
|
||||
)
|
||||
}
|
||||
|
||||
override fun useWithoutItem(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
player: Player,
|
||||
hitResult: BlockHitResult
|
||||
): InteractionResult {
|
||||
if (!level.isClientSide) {
|
||||
level.setBlockAndUpdate(pos, state.setValue(PUSH, !state.getValue(PUSH)))
|
||||
if (state.getValue(PUSH)) {
|
||||
level.playSound(null, pos, CobblemonSounds.FAN_START, SoundSource.BLOCKS)
|
||||
} else {
|
||||
level.playSound(null, pos, CobblemonSounds.FAN_STOP, SoundSource.BLOCKS)
|
||||
}
|
||||
}
|
||||
return InteractionResult.SUCCESS
|
||||
}
|
||||
|
||||
override fun codec(): MapCodec<CopperFanBlock> = CODEC
|
||||
|
||||
override fun createBlockStateDefinition(builder: StateDefinition.Builder<Block, BlockState>) {
|
||||
builder.add(HORIZONTAL_FACING, WATERLOGGED, WALL, POWER, PUSH)
|
||||
}
|
||||
|
||||
override fun getFluidState(blockState: BlockState): FluidState? = if (blockState.getValue(WATERLOGGED)) Fluids.WATER.getSource(false) else super.getFluidState(blockState)
|
||||
|
||||
override fun updateShape(state: BlockState, direction: Direction, neighborState: BlockState, world: LevelAccessor, pos: BlockPos, neighborPos: BlockPos): BlockState {
|
||||
if (state.getValue(WATERLOGGED)) {
|
||||
world.scheduleTick(pos, Fluids.WATER, Fluids.WATER.getTickDelay(world))
|
||||
}
|
||||
return if (state.getValue(HORIZONTAL_FACING).opposite == direction && !state.canSurvive(world, pos)) Blocks.AIR.defaultBlockState()
|
||||
else super.updateShape(state, direction, neighborState, world, pos, neighborPos)
|
||||
}
|
||||
|
||||
override fun getCollisionShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
val direction = state.getValue(HORIZONTAL_FACING)
|
||||
return if (state.getValue(WALL)) {
|
||||
rotateShape(Direction.NORTH, direction, WALL_HITBOX)
|
||||
} else {
|
||||
rotateShape(Direction.NORTH, direction, FLOOR_HITBOX)
|
||||
}
|
||||
}
|
||||
|
||||
override fun neighborChanged(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
neighborBlock: Block,
|
||||
neighborPos: BlockPos,
|
||||
movedByPiston: Boolean
|
||||
) {
|
||||
val power = level.getBestNeighborSignal(pos)
|
||||
if (power != state.getValue(POWER)) {
|
||||
level.setBlock(pos, state.setValue(POWER, power), UPDATE_CLIENTS)
|
||||
if (power > 0) {
|
||||
level.scheduleTick(pos, this, 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun tick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
val facing = state.getValue(HORIZONTAL_FACING)
|
||||
val power = state.getValue(POWER)
|
||||
|
||||
if (power == 0) {
|
||||
if (BlockEntitySoundTracker.isActive(pos, CobblemonSounds.FAN_BLOW.location)) {
|
||||
BlockEntitySoundTracker.stop(pos, CobblemonSounds.FAN_BLOW.location)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
val sound = CancellableSoundInstance(
|
||||
sound = CobblemonSounds.FAN_BLOW,
|
||||
pos = pos,
|
||||
repeat = true
|
||||
)
|
||||
|
||||
if (!BlockEntitySoundTracker.isActive(pos, CobblemonSounds.FAN_BLOW.location)) {
|
||||
BlockEntitySoundTracker.play(pos, sound)
|
||||
}
|
||||
|
||||
if (state.getValue(PUSH)) {
|
||||
val area = AABB(pos.relative(facing)).expandTowards(
|
||||
facing.stepX.toDouble() * (power - 1),
|
||||
0.0,
|
||||
facing.stepZ.toDouble() * (power - 1)
|
||||
)
|
||||
val entities = level.getEntities(null, area)
|
||||
val pushForce = 0.05
|
||||
entities.forEach { entity ->
|
||||
val motion = entity.deltaMovement
|
||||
entity.setDeltaMovement(
|
||||
motion.x + facing.stepX * pushForce,
|
||||
motion.y,
|
||||
motion.z + facing.stepZ * pushForce
|
||||
)
|
||||
entity.hurtMarked = true
|
||||
}
|
||||
}
|
||||
|
||||
level.scheduleTick(pos, this, 1)
|
||||
}
|
||||
|
||||
override fun getShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
return getCollisionShape(state, level, pos, context)
|
||||
}
|
||||
|
||||
override fun getStateForPlacement(context: BlockPlaceContext): BlockState? {
|
||||
val fluidState = context.level.getFluidState(context.clickedPos)
|
||||
val face = context.clickedFace
|
||||
val wall = face.axis != Direction.Axis.Y
|
||||
val power = context.level.getBestNeighborSignal(context.clickedPos)
|
||||
val state = super.getStateForPlacement(context)
|
||||
?.setValue(HORIZONTAL_FACING, if (wall) face else context.horizontalDirection.opposite)
|
||||
?.setValue(WATERLOGGED, fluidState.type === Fluids.WATER)
|
||||
?.setValue(WALL, wall)
|
||||
?.setValue(POWER, power)
|
||||
?: return null
|
||||
|
||||
context.level.scheduleTick(context.clickedPos, this, 1) // Tick to check if there's power
|
||||
return state.takeIf { it.canSurvive(context.level, context.clickedPos) }
|
||||
}
|
||||
|
||||
override fun onRemove(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
newState: BlockState,
|
||||
movedByPiston: Boolean
|
||||
) {
|
||||
if (BlockEntitySoundTracker.isActive(pos, CobblemonSounds.FAN_BLOW.location)) {
|
||||
BlockEntitySoundTracker.stop(pos, CobblemonSounds.FAN_BLOW.location)
|
||||
}
|
||||
}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.block.appliances.fan
|
||||
|
||||
import com.cobblemon.mod.common.block.appliances.WeatheringCopperAppliance
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.level.block.WeatheringCopper
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
|
||||
class WeatheringCopperFanBlock(override val weatherState: WeatheringCopper.WeatherState, properties: Properties) :
|
||||
CopperFanBlock(properties), WeatheringCopperAppliance {
|
||||
|
||||
override fun randomTick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
this.changeOverTime(state, level, pos, random)
|
||||
}
|
||||
|
||||
override fun isRandomlyTicking(state: BlockState): Boolean {
|
||||
return WeatheringCopper.getNext(state.getBlock()).isPresent()
|
||||
}
|
||||
|
||||
override fun getAge(): WeatheringCopper.WeatherState {
|
||||
return this.weatherState
|
||||
}
|
||||
}
|
||||
+301
@@ -0,0 +1,301 @@
|
||||
/*
|
||||
* 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.block.appliances.fridge
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonBlockEntities
|
||||
import com.cobblemon.mod.common.block.appliances.WeatheringCopperAppliance
|
||||
import com.cobblemon.mod.common.util.isServerSide
|
||||
import com.cobblemon.mod.common.util.rotateShape
|
||||
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.sounds.SoundEvents
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.InteractionHand
|
||||
import net.minecraft.world.ItemInteractionResult
|
||||
import net.minecraft.world.entity.LivingEntity
|
||||
import net.minecraft.world.entity.item.ItemEntity
|
||||
import net.minecraft.world.entity.player.Player
|
||||
import net.minecraft.world.item.ItemStack
|
||||
import net.minecraft.world.item.Items
|
||||
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.*
|
||||
import net.minecraft.world.level.block.entity.BlockEntity
|
||||
import net.minecraft.world.level.block.entity.BlockEntityTicker
|
||||
import net.minecraft.world.level.block.entity.BlockEntityType
|
||||
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.HORIZONTAL_FACING
|
||||
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.DoubleBlockHalf
|
||||
import net.minecraft.world.level.block.state.properties.EnumProperty
|
||||
import net.minecraft.world.level.material.FluidState
|
||||
import net.minecraft.world.level.material.Fluids
|
||||
import net.minecraft.world.phys.BlockHitResult
|
||||
import net.minecraft.world.phys.Vec3
|
||||
import net.minecraft.world.phys.shapes.CollisionContext
|
||||
import net.minecraft.world.phys.shapes.Shapes
|
||||
import net.minecraft.world.phys.shapes.VoxelShape
|
||||
//TODO: Oxidation/Waxing/Scraping not breaking the blocks
|
||||
//TODO: All the Fridge appliance stuff
|
||||
open class CopperFridgeBlock(settings: Properties) : BaseEntityBlock(settings), SimpleWaterloggedBlock {
|
||||
|
||||
fun getBlockEntity(level: ServerLevel, pos: BlockPos) = level.getBlockEntity(getBottomPos(level, pos)) as CopperFridgeBlockEntity
|
||||
|
||||
companion object {
|
||||
val CODEC: MapCodec<CopperFridgeBlock> = RecordCodecBuilder.mapCodec {
|
||||
it.group(propertiesCodec()).apply(it, ::CopperFridgeBlock) }
|
||||
val HALF: EnumProperty<DoubleBlockHalf> = BlockStateProperties.DOUBLE_BLOCK_HALF
|
||||
val POWERED = BooleanProperty.create("powered")
|
||||
val FACING = HorizontalDirectionalBlock.FACING
|
||||
|
||||
val LOWER_HITBOX = Shapes.or(
|
||||
Shapes.box(0.0625, 0.0, 0.125, 0.9375, 0.0625, 0.9375),
|
||||
Shapes.box(0.0, 0.0625, 0.0625, 1.0, 1.0, 1.0))
|
||||
val UPPER_HITBOX = Shapes.or(
|
||||
Shapes.box(0.0, 0.0, 0.0625, 1.0, 1.0, 1.0),
|
||||
Shapes.box(0.25, 0.125, 0.0, 0.375, 0.3125, 0.0625),
|
||||
Shapes.box(0.625, 0.125, 0.0, 0.75, 0.3125, 0.0625))
|
||||
val UPPER_COLLISSIONBOX = Shapes.box(0.0, 0.0, 0.0625, 1.0, 1.0, 1.0)
|
||||
//The handles get ignored by entity collission, because it feels nicer, but still count as part of the hitbox
|
||||
}
|
||||
|
||||
init {
|
||||
registerDefaultState(stateDefinition.any()
|
||||
.setValue(HORIZONTAL_FACING, Direction.NORTH)
|
||||
.setValue(HALF, DoubleBlockHalf.LOWER)
|
||||
.setValue(WATERLOGGED, false)
|
||||
.setValue(POWERED, false)
|
||||
)
|
||||
}
|
||||
|
||||
override fun codec(): MapCodec<CopperFridgeBlock> = CODEC
|
||||
|
||||
override fun createBlockStateDefinition(builder: StateDefinition.Builder<Block, BlockState>) {
|
||||
builder.add(HORIZONTAL_FACING, HALF, WATERLOGGED, POWERED)
|
||||
}
|
||||
|
||||
override fun getFluidState(blockState: BlockState): FluidState? = if (blockState.getValue(WATERLOGGED)) Fluids.WATER.getSource(false) else super.getFluidState(blockState)
|
||||
|
||||
override fun updateShape(state: BlockState, direction: Direction, neighborState: BlockState, world: LevelAccessor, pos: BlockPos, neighborPos: BlockPos): BlockState {
|
||||
if (state.getValue(WATERLOGGED)) {
|
||||
world.scheduleTick(pos, Fluids.WATER, Fluids.WATER.getTickDelay(world))
|
||||
}
|
||||
|
||||
val isFridge = neighborState.block is CopperFridgeBlock
|
||||
val half = state.getValue(HALF)
|
||||
if (!isFridge && half == DoubleBlockHalf.UPPER && neighborPos == pos.below()) {
|
||||
return Blocks.AIR.defaultBlockState()
|
||||
} else if (!isFridge && half == DoubleBlockHalf.LOWER && neighborPos == pos.above()) {
|
||||
return Blocks.AIR.defaultBlockState()
|
||||
}
|
||||
return state
|
||||
}
|
||||
|
||||
override fun getCollisionShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
val direction = state.getValue(HORIZONTAL_FACING)
|
||||
return if (state.getValue(HALF) == DoubleBlockHalf.LOWER) {
|
||||
rotateShape(Direction.NORTH, direction, LOWER_HITBOX)
|
||||
} else {
|
||||
rotateShape(Direction.NORTH, direction, UPPER_COLLISSIONBOX)
|
||||
}
|
||||
}
|
||||
|
||||
override fun getShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
val direction = state.getValue(HORIZONTAL_FACING)
|
||||
return if (state.getValue(HALF) == DoubleBlockHalf.LOWER) {
|
||||
rotateShape(Direction.NORTH, direction, LOWER_HITBOX)
|
||||
} else {
|
||||
rotateShape(Direction.NORTH, direction, UPPER_HITBOX)
|
||||
}
|
||||
}
|
||||
|
||||
override fun setPlacedBy(world: Level, pos: BlockPos, state: BlockState, placer: LivingEntity?, itemStack: ItemStack) {
|
||||
world.setBlock(pos.above(),
|
||||
state
|
||||
.setValue(HALF, DoubleBlockHalf.UPPER)
|
||||
.setValue(WATERLOGGED, world.getFluidState((pos.above())).type == Fluids.WATER)
|
||||
, 3)
|
||||
world.blockUpdated(pos, Blocks.AIR)
|
||||
state.updateNeighbourShapes(world, pos, 3)
|
||||
}
|
||||
|
||||
override fun getStateForPlacement(blockPlaceContext: BlockPlaceContext): BlockState? {
|
||||
val abovePosition = blockPlaceContext.clickedPos.above()
|
||||
val world = blockPlaceContext.level
|
||||
if (world.getBlockState(abovePosition).canBeReplaced(blockPlaceContext) && !world.isOutsideBuildHeight(abovePosition)) {
|
||||
return defaultBlockState()
|
||||
.setValue(FACING, blockPlaceContext.horizontalDirection.opposite)
|
||||
.setValue(HALF, DoubleBlockHalf.LOWER)
|
||||
.setValue(WATERLOGGED, blockPlaceContext.level.getFluidState(blockPlaceContext.clickedPos).type == Fluids.WATER)
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
override fun getRenderShape(state: BlockState) = RenderShape.MODEL
|
||||
|
||||
override fun canSurvive(state: BlockState, world: LevelReader, pos: BlockPos): Boolean {
|
||||
val blockPos = pos.below()
|
||||
val blockState = world.getBlockState(blockPos)
|
||||
return if (state.getValue(HALF) == DoubleBlockHalf.LOWER) blockState.isFaceSturdy(world, blockPos, Direction.UP) else blockState.`is`(this)
|
||||
}
|
||||
|
||||
override fun playerWillDestroy(world: Level, pos: BlockPos, state: BlockState, player: Player): BlockState {
|
||||
if (!world.isClientSide && player.isCreative) {
|
||||
var blockPos: BlockPos = BlockPos.ZERO
|
||||
var blockState: BlockState = state
|
||||
val half = state.getValue(HALF)
|
||||
if (half == DoubleBlockHalf.UPPER && world.getBlockState(pos.below().also { blockPos = it }).also { blockState = it }.`is`(state.block) && blockState.getValue(
|
||||
HALF
|
||||
) == DoubleBlockHalf.LOWER) {
|
||||
val blockState2 = if (blockState.fluidState.`is`(Fluids.WATER)) Blocks.WATER.defaultBlockState() else Blocks.AIR.defaultBlockState()
|
||||
world.setBlock(blockPos, blockState2, UPDATE_ALL or UPDATE_SUPPRESS_DROPS)
|
||||
world.levelEvent(player, LevelEvent.PARTICLES_DESTROY_BLOCK, blockPos, getId(blockState))
|
||||
}
|
||||
}
|
||||
return super.playerWillDestroy(world, pos, state, player)
|
||||
}
|
||||
|
||||
override fun hasAnalogOutputSignal(state: BlockState) = true
|
||||
|
||||
override fun useItemOn(
|
||||
stack: ItemStack,
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
player: Player,
|
||||
hand: InteractionHand,
|
||||
hitResult: BlockHitResult
|
||||
): ItemInteractionResult {
|
||||
if (level.isServerSide()) {
|
||||
val handStack = player.getItemInHand(hand)
|
||||
val stack = getBlockEntity(level as ServerLevel, pos).theItem
|
||||
|
||||
when (stack.item) {
|
||||
Items.AIR -> {
|
||||
if (handStack.`is`(Items.WATER_BUCKET)) {
|
||||
if (!player.isCreative) player.setItemInHand(hand, Items.BUCKET.defaultInstance)
|
||||
getBlockEntity(level, pos).timer = 100
|
||||
getBlockEntity(level, pos).theItem = Items.WATER_BUCKET.defaultInstance
|
||||
level.playSound(null, pos, SoundEvents.BUCKET_EMPTY, SoundSource.BLOCKS, 1.0f, 1.0f)
|
||||
return ItemInteractionResult.SUCCESS
|
||||
} else {
|
||||
return ItemInteractionResult.FAIL
|
||||
}
|
||||
}
|
||||
|
||||
Items.WATER_BUCKET -> {
|
||||
if (handStack.`is`(Items.BUCKET)) {
|
||||
player.setItemInHand(hand, Items.WATER_BUCKET.defaultInstance)
|
||||
getBlockEntity(level, pos).theItem = Items.AIR.defaultInstance
|
||||
getBlockEntity(level, pos).timer = 0
|
||||
level.playSound(null, pos, SoundEvents.BUCKET_FILL, SoundSource.BLOCKS, 1.0f, 1.0f)
|
||||
return ItemInteractionResult.SUCCESS
|
||||
} else {
|
||||
return ItemInteractionResult.FAIL
|
||||
}
|
||||
}
|
||||
|
||||
else -> { // In vanilla only applies to ice, but idk what if map creators wanna put some bullshit in there
|
||||
val facing = state.getValue(HORIZONTAL_FACING)
|
||||
val spawnPos = getBottomPos(level, pos)
|
||||
val itemEntity =
|
||||
ItemEntity(level, spawnPos.x + 0.5, spawnPos.y + 0.5, spawnPos.z + 0.5, stack)
|
||||
itemEntity.deltaMovement = Vec3(facing.stepX.toDouble(), 0.0, facing.stepZ.toDouble()).scale(0.2)
|
||||
level.addFreshEntity(itemEntity)
|
||||
getBlockEntity(level, pos).theItem = Items.AIR.defaultInstance
|
||||
return ItemInteractionResult.SUCCESS
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return if (stack.`is`(Items.WATER_BUCKET)) ItemInteractionResult.SUCCESS
|
||||
else ItemInteractionResult.PASS_TO_DEFAULT_BLOCK_INTERACTION
|
||||
}
|
||||
}
|
||||
|
||||
override fun getAnalogOutputSignal(state: BlockState, level: Level, pos: BlockPos): Int {
|
||||
if (level.isClientSide) return 0
|
||||
return when (getBlockEntity(level as ServerLevel, pos).theItem.item) {
|
||||
Items.WATER_BUCKET -> 1
|
||||
Items.ICE -> 2
|
||||
else -> 0
|
||||
}
|
||||
}
|
||||
|
||||
override fun tick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
(level.getBlockEntity(pos) as CopperFridgeBlockEntity).processTick()
|
||||
super.tick(state, level, pos, random)
|
||||
}
|
||||
|
||||
override fun newBlockEntity(pos: BlockPos, state: BlockState) = if (state.getValue(HALF) == DoubleBlockHalf.LOWER) CopperFridgeBlockEntity(pos, state) else null
|
||||
|
||||
override fun neighborChanged(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
neighborBlock: Block,
|
||||
neighborPos: BlockPos,
|
||||
movedByPiston: Boolean
|
||||
) {
|
||||
if (!level.isClientSide) {
|
||||
val otherPos = if (state.getValue(HALF) == DoubleBlockHalf.LOWER) pos.above() else pos.below()
|
||||
val powered = level.hasNeighborSignal(pos) || level.hasNeighborSignal(otherPos)
|
||||
|
||||
if (state.getValue(POWERED) != powered) {
|
||||
level.setBlock(pos, state.setValue(POWERED, powered), 3)
|
||||
}
|
||||
|
||||
val otherState = level.getBlockState(otherPos)
|
||||
if (otherState.`is`(this) && otherState.getValue(POWERED) != powered) {
|
||||
level.setBlock(otherPos, otherState.setValue(POWERED, powered), 3)
|
||||
}
|
||||
}
|
||||
super.neighborChanged(state, level, pos, neighborBlock, neighborPos, movedByPiston)
|
||||
}
|
||||
|
||||
override fun <T : BlockEntity> getTicker(
|
||||
level: Level,
|
||||
state: BlockState,
|
||||
blockEntityType: BlockEntityType<T>
|
||||
): BlockEntityTicker<T>? {
|
||||
return if (level.isClientSide)
|
||||
null
|
||||
else
|
||||
createTickerHelper(blockEntityType, CobblemonBlockEntities.COPPER_FRIDGE, CopperFridgeBlockEntity.TICKER::tick)
|
||||
}
|
||||
|
||||
fun getBottomPos(level: Level, pos: BlockPos) = if (level.getBlockState(pos).getValue(HALF) == DoubleBlockHalf.UPPER) pos.below() else pos
|
||||
|
||||
override fun onRemove(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
newState: BlockState,
|
||||
movedByPiston: Boolean
|
||||
) {
|
||||
val replacementBlock = newState.block as? CopperFridgeBlock
|
||||
if (state.block != replacementBlock && replacementBlock != null) {
|
||||
val otherPos = if (state.getValue(HALF) == DoubleBlockHalf.LOWER) pos.above() else pos.below()
|
||||
val otherState = level.getBlockState(otherPos)
|
||||
if (otherState.block == state.block && otherState.getValue(HALF) != state.getValue(HALF)) {
|
||||
level.setBlock(otherPos, replacementBlock.withPropertiesOf(otherState), UPDATE_ALL)
|
||||
}
|
||||
}
|
||||
WeatheringCopperAppliance.handleOnRemove(state, level, pos, newState, movedByPiston)
|
||||
}
|
||||
}
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* 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.block.appliances.fridge
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonBlockEntities
|
||||
import com.cobblemon.mod.common.util.sendParticlesServer
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Direction
|
||||
import net.minecraft.core.HolderLookup
|
||||
import net.minecraft.core.particles.ParticleTypes
|
||||
import net.minecraft.nbt.CompoundTag
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.world.Container
|
||||
import net.minecraft.world.item.ItemStack
|
||||
import net.minecraft.world.item.Items
|
||||
import net.minecraft.world.level.block.Blocks
|
||||
import net.minecraft.world.level.block.entity.BlockEntity
|
||||
import net.minecraft.world.level.block.entity.BlockEntityTicker
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
import net.minecraft.world.phys.Vec3
|
||||
import net.minecraft.world.ticks.ContainerSingleItem
|
||||
import kotlin.random.Random
|
||||
|
||||
class CopperFridgeBlockEntity(val pos: BlockPos, val state: BlockState) : BlockEntity(
|
||||
CobblemonBlockEntities.COPPER_FRIDGE, pos, state
|
||||
), ContainerSingleItem.BlockContainerSingleItem {
|
||||
|
||||
private var item: ItemStack = Items.AIR.defaultInstance
|
||||
var timer: Int = -1
|
||||
|
||||
fun processTick() {
|
||||
val serverLevel = level as? ServerLevel ?: return
|
||||
|
||||
if (item.`is`(Items.ICE)) {
|
||||
val facing = state.getValue(CopperFridgeBlock.FACING)
|
||||
val particlePosition = Vec3(
|
||||
pos.x + 0.5,
|
||||
pos.y + 1.5,
|
||||
pos.z + 0.5
|
||||
)
|
||||
val rotation = when (facing) {
|
||||
Direction.NORTH -> 180F
|
||||
Direction.EAST -> 90F
|
||||
Direction.SOUTH -> 0F
|
||||
Direction.WEST -> 270F
|
||||
else -> 0F
|
||||
}
|
||||
// val packet = SpawnSnowstormParticlePacket(cobblemonResource("rotomfridge_doorready"), particlePosition, rotation)
|
||||
|
||||
// serverLevel.players()
|
||||
// .filter { it.distanceToSqr(particlePosition.x, particlePosition.y, particlePosition.z) <= 32.0 * 32.0 }
|
||||
// .forEach { it.sendPacket(packet) }
|
||||
} else if (item.`is`(Items.WATER_BUCKET) && serverLevel.gameTime % 15L == 0L) {
|
||||
val blockPos = if (serverLevel.getBlockState(pos.below()).`is`(Blocks.AIR)) pos
|
||||
else if (serverLevel.getBlockState(pos.below(2)).`is`(Blocks.AIR)) pos.below()
|
||||
else null
|
||||
|
||||
blockPos?.let {
|
||||
val pos = Vec3(
|
||||
blockPos.x + Random.nextDouble(0.1, 0.9),
|
||||
blockPos.y - 0.1,
|
||||
blockPos.z + Random.nextDouble(0.1, 0.9)
|
||||
)
|
||||
serverLevel.sendParticlesServer(ParticleTypes.DRIPPING_WATER, pos, 5, Vec3.ZERO, 1.0)
|
||||
}
|
||||
}
|
||||
|
||||
if (!serverLevel.getBlockState(pos).getValue(CopperFridgeBlock.POWERED)) return
|
||||
if (timer > 0) timer--
|
||||
if (timer == 0 && item.item == Items.WATER_BUCKET) {
|
||||
theItem = Items.ICE.defaultInstance
|
||||
timer = -1
|
||||
}
|
||||
}
|
||||
|
||||
override fun getContainerBlockEntity() = this
|
||||
override fun getTheItem() = item
|
||||
|
||||
override fun setTheItem(item: ItemStack) {
|
||||
this.item = item
|
||||
level?.updateNeighborsAt(pos, state.block)
|
||||
setChanged()
|
||||
}
|
||||
|
||||
override fun canTakeItem(target: Container, slot: Int, stack: ItemStack): Boolean {
|
||||
return stack.item == Items.ICE
|
||||
}
|
||||
|
||||
override fun saveAdditional(tag: CompoundTag, registries: HolderLookup.Provider) {
|
||||
super.saveAdditional(tag, registries)
|
||||
if (!theItem.isEmpty) {
|
||||
tag.put("Item", theItem.save(registries))
|
||||
}
|
||||
tag.putInt("Timer", timer)
|
||||
}
|
||||
|
||||
override fun loadAdditional(tag: CompoundTag, registries: HolderLookup.Provider) {
|
||||
super.loadAdditional(tag, registries)
|
||||
theItem = if (tag.contains("Item")) {
|
||||
ItemStack.parse(registries, tag.get("Item")).orElse(ItemStack.EMPTY)
|
||||
} else {
|
||||
ItemStack.EMPTY
|
||||
}
|
||||
timer = if (tag.contains("Timer")) tag.getInt("Timer") else -1
|
||||
}
|
||||
|
||||
companion object {
|
||||
internal val TICKER = BlockEntityTicker<CopperFridgeBlockEntity> { level, pos, state, entity ->
|
||||
if (!level.isClientSide) {
|
||||
entity.processTick()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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.block.appliances.fridge
|
||||
|
||||
import com.cobblemon.mod.common.block.appliances.WeatheringCopperAppliance
|
||||
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.block.WeatheringCopper
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
import net.minecraft.world.level.block.state.properties.BlockStateProperties
|
||||
import net.minecraft.world.level.block.state.properties.DoubleBlockHalf
|
||||
|
||||
class WeatheringCopperFridgeBlock(override val weatherState: WeatheringCopper.WeatherState, properties: Properties) :
|
||||
CopperFridgeBlock(properties), WeatheringCopperAppliance {
|
||||
|
||||
override fun randomTick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
if (state.getValue(HALF) == DoubleBlockHalf.LOWER) {
|
||||
this.changeOverTime(state, level, pos, random)
|
||||
}
|
||||
}
|
||||
|
||||
override fun changeOverTime(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
val upperPos = pos.above()
|
||||
val upperState = level.getBlockState(upperPos)
|
||||
if (upperState.block != this || upperState.getValue(HALF) != DoubleBlockHalf.UPPER) {
|
||||
return
|
||||
}
|
||||
|
||||
if (random.nextFloat() < 0.05688889F) {
|
||||
getNextState(state, level, pos, random).ifPresent { nextState ->
|
||||
val blockEntityTag = level.getBlockEntity(pos)?.saveWithFullMetadata(level.registryAccess())
|
||||
val nextLowerState = nextState.setValue(HALF, DoubleBlockHalf.LOWER)
|
||||
val nextUpperState = nextState
|
||||
.setValue(HALF, DoubleBlockHalf.UPPER)
|
||||
.setValue(FACING, upperState.getValue(FACING))
|
||||
.setValue(BlockStateProperties.WATERLOGGED, upperState.getValue(BlockStateProperties.WATERLOGGED))
|
||||
.setValue(POWERED, upperState.getValue(POWERED))
|
||||
|
||||
level.setBlock(pos, nextLowerState, UPDATE_CLIENTS)
|
||||
level.setBlock(upperPos, nextUpperState, UPDATE_ALL)
|
||||
blockEntityTag?.let { tag ->
|
||||
level.getBlockEntity(pos)?.let { blockEntity ->
|
||||
blockEntity.loadWithComponents(tag, level.registryAccess())
|
||||
blockEntity.setChanged()
|
||||
val restoredState = level.getBlockState(pos)
|
||||
level.sendBlockUpdated(pos, restoredState, restoredState, UPDATE_ALL)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun isRandomlyTicking(state: BlockState): Boolean {
|
||||
return WeatheringCopper.getNext(state.block).isPresent
|
||||
}
|
||||
|
||||
override fun getAge(): WeatheringCopper.WeatherState {
|
||||
return this.weatherState
|
||||
}
|
||||
}
|
||||
+162
@@ -0,0 +1,162 @@
|
||||
/*
|
||||
* 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.block.appliances.mower
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonSounds
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import com.cobblemon.mod.common.util.rotateShape
|
||||
import com.mojang.serialization.MapCodec
|
||||
import com.mojang.serialization.codecs.RecordCodecBuilder
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Direction
|
||||
import net.minecraft.core.registries.BuiltInRegistries
|
||||
import net.minecraft.core.registries.Registries
|
||||
import net.minecraft.resources.ResourceKey
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.entity.item.ItemEntity
|
||||
import net.minecraft.world.item.BlockItem
|
||||
import net.minecraft.world.item.ItemStack
|
||||
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.block.*
|
||||
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.HORIZONTAL_FACING
|
||||
import net.minecraft.world.level.block.state.properties.BlockStateProperties.WATERLOGGED
|
||||
import net.minecraft.world.level.block.state.properties.BooleanProperty
|
||||
import net.minecraft.world.level.material.FluidState
|
||||
import net.minecraft.world.level.material.Fluids
|
||||
import net.minecraft.world.level.storage.loot.LootParams
|
||||
import net.minecraft.world.level.storage.loot.LootTable
|
||||
import net.minecraft.world.level.storage.loot.parameters.LootContextParamSets
|
||||
import net.minecraft.world.level.storage.loot.parameters.LootContextParams
|
||||
import net.minecraft.world.phys.Vec3
|
||||
import net.minecraft.world.phys.shapes.CollisionContext
|
||||
import net.minecraft.world.phys.shapes.Shapes
|
||||
import net.minecraft.world.phys.shapes.VoxelShape
|
||||
//TODO: All the Mower appliance stuff
|
||||
open class CopperMowerBlock(settings: Properties) : HorizontalDirectionalBlock(settings), SimpleWaterloggedBlock {
|
||||
|
||||
companion object {
|
||||
val CODEC: MapCodec<CopperMowerBlock> = RecordCodecBuilder.mapCodec {
|
||||
it.group(propertiesCodec()).apply(it, ::CopperMowerBlock) }
|
||||
val TRIGGERED = BooleanProperty.create("triggered")
|
||||
|
||||
val COLLISIONBOX = Shapes.or(
|
||||
Shapes.box(0.1875, 0.0, 0.0, 0.8125, 0.375, 0.625),
|
||||
Shapes.box(0.0625, 0.0, 0.625, 0.9375, 0.625, 1.0),
|
||||
Shapes.box(0.125, 0.0, 0.1875, 0.875, 0.3125, 0.5),
|
||||
//The next three lines are just so the handle does have collision, it feels awkward without it but it looks bad as hitbox
|
||||
Shapes.box(0.375, 0.375, 0.375, 0.625, 0.625, 0.5625),
|
||||
Shapes.box(0.4375, 0.5625, 0.5, 0.5625, 0.875, 0.625),
|
||||
Shapes.box(0.25, 0.875, 0.5625, 0.75, 1.0, 0.6875)
|
||||
)
|
||||
val HITBOX = Shapes.or(
|
||||
Shapes.box(0.1875, 0.0, 0.0, 0.8125, 0.375, 0.625),
|
||||
Shapes.box(0.0625, 0.0, 0.625, 0.9375, 0.625, 1.0),
|
||||
Shapes.box(0.125, 0.0, 0.1875, 0.875, 0.3125, 0.5)
|
||||
)
|
||||
}
|
||||
|
||||
init {
|
||||
registerDefaultState(stateDefinition.any()
|
||||
.setValue(HORIZONTAL_FACING, Direction.NORTH)
|
||||
.setValue(WATERLOGGED, false)
|
||||
.setValue(TRIGGERED, false)
|
||||
)
|
||||
}
|
||||
|
||||
override fun neighborChanged(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
sourceBlock: Block,
|
||||
sourcePos: BlockPos,
|
||||
notify: Boolean
|
||||
) {
|
||||
val powered = level.hasNeighborSignal(pos) || level.hasNeighborSignal(pos.above())
|
||||
val triggered = state.getValue(TRIGGERED)
|
||||
|
||||
if (powered && !triggered) {
|
||||
level.setBlock(pos, state.setValue(TRIGGERED, true), UPDATE_CLIENTS)
|
||||
level.scheduleTick(pos, this, 1)
|
||||
} else if (!powered && triggered) {
|
||||
level.setBlock(pos, state.setValue(TRIGGERED, false), UPDATE_CLIENTS)
|
||||
}
|
||||
}
|
||||
|
||||
override fun hasAnalogOutputSignal(state: BlockState) = true
|
||||
|
||||
override fun tick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
val blockKey = BuiltInRegistries.BLOCK.getKey(level.getBlockState(pos.below()).block)
|
||||
val tableKey = ResourceKey.create(Registries.LOOT_TABLE, cobblemonResource("mower/${blockKey.path}"))
|
||||
val lootTable = level.server.reloadableRegistries().getLootTable(tableKey)
|
||||
if (lootTable == LootTable.EMPTY) return
|
||||
val params = LootParams.Builder(level)
|
||||
.withParameter(LootContextParams.ORIGIN, Vec3.atCenterOf(pos.below()))
|
||||
.withParameter(LootContextParams.BLOCK_STATE, level.getBlockState(pos.below()))
|
||||
.withParameter(LootContextParams.TOOL, ItemStack.EMPTY)
|
||||
.create(LootContextParamSets.BLOCK)
|
||||
|
||||
val result = lootTable.getRandomItems(params, random)
|
||||
val block = result.getOrNull(0)?.item as? BlockItem
|
||||
val items = result.subList(1, result.size)
|
||||
|
||||
if (block == null || block == Blocks.AIR) {
|
||||
level.destroyBlock(pos.below(), false)
|
||||
} else {
|
||||
level.setBlockAndUpdate(pos.below(), block.block.defaultBlockState())
|
||||
}
|
||||
|
||||
val facing = state.getValue(HORIZONTAL_FACING).opposite
|
||||
items.forEach {
|
||||
val itemEntity = ItemEntity(level, pos.x + 0.5, pos.y + 0.5, pos.z + 0.5, it)
|
||||
itemEntity.deltaMovement = Vec3(facing.stepX.toDouble(), 0.0, facing.stepZ.toDouble()).scale(0.2)
|
||||
level.addFreshEntity(itemEntity)
|
||||
}
|
||||
level.playSound(null, pos, CobblemonSounds.MOWER_CUT, SoundSource.BLOCKS)
|
||||
}
|
||||
|
||||
override fun getRenderShape(state: BlockState) = RenderShape.MODEL
|
||||
|
||||
override fun codec(): MapCodec<CopperMowerBlock> = CODEC
|
||||
|
||||
override fun createBlockStateDefinition(builder: StateDefinition.Builder<Block, BlockState>) {
|
||||
builder.add(HORIZONTAL_FACING, WATERLOGGED, TRIGGERED)
|
||||
}
|
||||
|
||||
override fun getFluidState(blockState: BlockState): FluidState? = if (blockState.getValue(WATERLOGGED)) Fluids.WATER.getSource(false) else super.getFluidState(blockState)
|
||||
|
||||
override fun updateShape(state: BlockState, direction: Direction, neighborState: BlockState, world: LevelAccessor, pos: BlockPos, neighborPos: BlockPos): BlockState {
|
||||
if (state.getValue(WATERLOGGED)) {
|
||||
world.scheduleTick(pos, Fluids.WATER, Fluids.WATER.getTickDelay(world))
|
||||
}
|
||||
return if (state.getValue(HORIZONTAL_FACING).opposite == direction && !state.canSurvive(world, pos)) Blocks.AIR.defaultBlockState()
|
||||
else super.updateShape(state, direction, neighborState, world, pos, neighborPos)
|
||||
}
|
||||
|
||||
override fun getCollisionShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
val direction = state.getValue(HORIZONTAL_FACING)
|
||||
return rotateShape(Direction.NORTH, direction, COLLISIONBOX)
|
||||
}
|
||||
|
||||
override fun getShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
val direction = state.getValue(HORIZONTAL_FACING)
|
||||
return rotateShape(Direction.NORTH, direction, HITBOX)
|
||||
}
|
||||
|
||||
override fun getStateForPlacement(context: BlockPlaceContext): BlockState? {
|
||||
val fluidState = context.level.getFluidState(context.clickedPos)
|
||||
return super.getStateForPlacement(context)?.setValue(HORIZONTAL_FACING, context.horizontalDirection)?.setValue(WATERLOGGED, fluidState.type === Fluids.WATER)
|
||||
}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.block.appliances.mower
|
||||
|
||||
import com.cobblemon.mod.common.block.appliances.WeatheringCopperAppliance
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.level.block.WeatheringCopper
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
|
||||
class WeatheringCopperMowerBlock(override val weatherState: WeatheringCopper.WeatherState, properties: Properties) :
|
||||
CopperMowerBlock(properties), WeatheringCopperAppliance {
|
||||
|
||||
override fun randomTick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
this.changeOverTime(state, level, pos, random)
|
||||
}
|
||||
|
||||
override fun isRandomlyTicking(state: BlockState): Boolean {
|
||||
return WeatheringCopper.getNext(state.getBlock()).isPresent()
|
||||
}
|
||||
|
||||
override fun getAge(): WeatheringCopper.WeatherState {
|
||||
return this.weatherState
|
||||
}
|
||||
}
|
||||
+176
@@ -0,0 +1,176 @@
|
||||
/*
|
||||
* 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.block.appliances.oven
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonBlockEntities
|
||||
import com.cobblemon.mod.common.block.appliances.WeatheringCopperAppliance
|
||||
import com.cobblemon.mod.common.util.rotateShape
|
||||
import com.mojang.serialization.MapCodec
|
||||
import com.mojang.serialization.codecs.RecordCodecBuilder
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Direction
|
||||
import net.minecraft.util.StringRepresentable
|
||||
import net.minecraft.world.InteractionResult
|
||||
import net.minecraft.world.entity.player.Player
|
||||
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.block.*
|
||||
import net.minecraft.world.level.block.entity.BlockEntity
|
||||
import net.minecraft.world.level.block.entity.BlockEntityTicker
|
||||
import net.minecraft.world.level.block.entity.BlockEntityType
|
||||
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.HORIZONTAL_FACING
|
||||
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.EnumProperty
|
||||
import net.minecraft.world.level.material.FluidState
|
||||
import net.minecraft.world.level.material.Fluids
|
||||
import net.minecraft.world.phys.BlockHitResult
|
||||
import net.minecraft.world.phys.shapes.CollisionContext
|
||||
import net.minecraft.world.phys.shapes.Shapes
|
||||
import net.minecraft.world.phys.shapes.VoxelShape
|
||||
import org.jetbrains.annotations.Nullable
|
||||
|
||||
//TODO: All the Oven appliance stuff - Good Luck Coders
|
||||
open class CopperOvenBlock(settings: Properties) : BaseEntityBlock(settings), SimpleWaterloggedBlock {
|
||||
|
||||
companion object {
|
||||
val CODEC: MapCodec<CopperOvenBlock> = RecordCodecBuilder.mapCodec {
|
||||
it.group(propertiesCodec()).apply(it, ::CopperOvenBlock) }
|
||||
val EJECTING = BooleanProperty.create("ejecting")
|
||||
val COOKING = EnumProperty.create("cooking", CookingState::class.java)
|
||||
|
||||
val HITBOX = Shapes.box(0.0625, 0.0, 0.3125, 0.9375, 0.625, 0.9375)
|
||||
}
|
||||
|
||||
init {
|
||||
registerDefaultState(stateDefinition.any()
|
||||
.setValue(HORIZONTAL_FACING, Direction.NORTH)
|
||||
.setValue(WATERLOGGED, false)
|
||||
.setValue(COOKING, CookingState.CLOSED)
|
||||
.setValue(EJECTING, false)
|
||||
)
|
||||
}
|
||||
enum class CookingState : StringRepresentable {
|
||||
CLOSED, //Door is closed
|
||||
OPEN, //Door is open
|
||||
COOKING; //Door is locked closed and the light level is cranked up, as long as the block is powered by redstone. Acts as closed lid in the original Campfire Pot
|
||||
override fun getSerializedName(): String = this.name.lowercase()
|
||||
}
|
||||
|
||||
override fun codec(): MapCodec<CopperOvenBlock> = CODEC
|
||||
|
||||
override fun createBlockStateDefinition(builder: StateDefinition.Builder<Block, BlockState>) {
|
||||
builder.add(HORIZONTAL_FACING, WATERLOGGED, COOKING, EJECTING)
|
||||
}
|
||||
|
||||
override fun getFluidState(blockState: BlockState): FluidState? = if (blockState.getValue(WATERLOGGED)) Fluids.WATER.getSource(false) else super.getFluidState(blockState)
|
||||
|
||||
override fun updateShape(state: BlockState, direction: Direction, neighborState: BlockState, world: LevelAccessor, pos: BlockPos, neighborPos: BlockPos): BlockState {
|
||||
if (state.getValue(WATERLOGGED)) {
|
||||
world.scheduleTick(pos, Fluids.WATER, Fluids.WATER.getTickDelay(world))
|
||||
}
|
||||
if (state.getValue(HORIZONTAL_FACING).opposite == direction && !state.canSurvive(world, pos)) return Blocks.AIR.defaultBlockState()
|
||||
return super.updateShape(state, direction, neighborState, world, pos, neighborPos)
|
||||
}
|
||||
|
||||
override fun getCollisionShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
val direction = state.getValue(HORIZONTAL_FACING)
|
||||
return rotateShape(Direction.NORTH, direction, HITBOX)
|
||||
}
|
||||
|
||||
override fun getShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
return getCollisionShape(state, level, pos, context).singleEncompassing()
|
||||
}
|
||||
|
||||
override fun getStateForPlacement(context: BlockPlaceContext): BlockState? {
|
||||
val fluidState = context.level.getFluidState(context.clickedPos)
|
||||
return super.getStateForPlacement(context)?.setValue(HORIZONTAL_FACING, context.horizontalDirection.opposite)?.setValue(WATERLOGGED, fluidState.type === Fluids.WATER)
|
||||
}
|
||||
|
||||
override fun newBlockEntity(
|
||||
pos: BlockPos,
|
||||
state: BlockState
|
||||
): BlockEntity? {
|
||||
return CopperOvenBlockEntity(pos, state)
|
||||
}
|
||||
|
||||
override fun useWithoutItem(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
player: Player,
|
||||
hitResult: BlockHitResult
|
||||
): InteractionResult {
|
||||
val blockEntity = level.getBlockEntity(pos)
|
||||
if (blockEntity !is CopperOvenBlockEntity) return InteractionResult.PASS
|
||||
val cooking = level.getBlockState(pos).getValue(COOKING)
|
||||
if (!level.isClientSide && cooking != CookingState.COOKING) {
|
||||
if (player.isCrouching) {
|
||||
if (cooking == CookingState.OPEN) {
|
||||
level.setBlockAndUpdate(pos, state.setValue(COOKING, CookingState.CLOSED))
|
||||
} else {
|
||||
level.setBlockAndUpdate(pos, state.setValue(COOKING, CookingState.OPEN))
|
||||
}
|
||||
} else {
|
||||
openContainer(level, pos, player)
|
||||
}
|
||||
}
|
||||
return InteractionResult.SUCCESS
|
||||
}
|
||||
|
||||
fun openContainer(level: Level, pos: BlockPos, player: Player) {
|
||||
val blockEntity = level.getBlockEntity(pos)
|
||||
if (blockEntity is CopperOvenBlockEntity) player.openMenu(blockEntity)
|
||||
}
|
||||
|
||||
override fun getRenderShape(state: BlockState) = RenderShape.MODEL
|
||||
|
||||
override fun <T : BlockEntity?> getTicker(
|
||||
level: Level,
|
||||
state: BlockState,
|
||||
blockEntityType: BlockEntityType<T>
|
||||
): BlockEntityTicker<T?>? {
|
||||
return createOvenTicker(level, blockEntityType as BlockEntityType<*>, CobblemonBlockEntities.COPPER_OVEN) as BlockEntityTicker<T?>?
|
||||
}
|
||||
|
||||
@Nullable
|
||||
protected fun <T : BlockEntity> createOvenTicker(
|
||||
level: Level,
|
||||
serverType: BlockEntityType<T>,
|
||||
clientType: BlockEntityType<out CopperOvenBlockEntity>
|
||||
): BlockEntityTicker<T>? {
|
||||
return if (level.isClientSide) createTickerHelper(serverType, clientType, CopperOvenBlockEntity::clientTick)
|
||||
else createTickerHelper(serverType, clientType, CopperOvenBlockEntity::serverTick)
|
||||
}
|
||||
|
||||
override fun onRemove(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
newState: BlockState,
|
||||
movedByPiston: Boolean
|
||||
) {
|
||||
WeatheringCopperAppliance.handleOnRemove(state, level, pos, newState, movedByPiston)
|
||||
}
|
||||
|
||||
override fun hasAnalogOutputSignal(state: BlockState) = true
|
||||
|
||||
override fun getAnalogOutputSignal(state: BlockState, level: Level, pos: BlockPos): Int {
|
||||
val entity = level.getBlockEntity(pos) as CopperOvenBlockEntity
|
||||
var disabledSlotCount = 0
|
||||
for (slot in 1..12) {
|
||||
if (entity.isSlotDisabled(slot) || !entity.items[slot].isEmpty) disabledSlotCount++
|
||||
}
|
||||
return disabledSlotCount
|
||||
}
|
||||
}
|
||||
+677
@@ -0,0 +1,677 @@
|
||||
/*
|
||||
* 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.block.appliances.oven
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonBlockEntities
|
||||
import com.cobblemon.mod.common.CobblemonRecipeTypes
|
||||
import com.cobblemon.mod.common.CobblemonSounds
|
||||
import com.cobblemon.mod.common.api.cooking.Seasonings
|
||||
import com.cobblemon.mod.common.block.appliances.oven.CopperOvenBlock.Companion.COOKING
|
||||
import com.cobblemon.mod.common.block.appliances.oven.CopperOvenBlock.CookingState
|
||||
import com.cobblemon.mod.common.item.crafting.CookingPotRecipeBase
|
||||
import com.cobblemon.mod.common.util.lang
|
||||
import com.cobblemon.mod.common.util.playSoundServer
|
||||
import it.unimi.dsi.fastutil.ints.IntArrayList
|
||||
import it.unimi.dsi.fastutil.ints.IntList
|
||||
import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Direction
|
||||
import net.minecraft.core.HolderLookup
|
||||
import net.minecraft.core.NonNullList
|
||||
import net.minecraft.nbt.CompoundTag
|
||||
import net.minecraft.nbt.ListTag
|
||||
import net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.sounds.SoundEvents
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.world.Container
|
||||
import net.minecraft.world.ContainerHelper
|
||||
import net.minecraft.world.WorldlyContainer
|
||||
import net.minecraft.world.entity.item.ItemEntity
|
||||
import net.minecraft.world.entity.player.Inventory
|
||||
import net.minecraft.world.entity.player.Player
|
||||
import net.minecraft.world.entity.player.StackedContents
|
||||
import net.minecraft.world.inventory.*
|
||||
import net.minecraft.world.item.ItemStack
|
||||
import net.minecraft.world.item.crafting.CraftingInput
|
||||
import net.minecraft.world.item.crafting.RecipeHolder
|
||||
import net.minecraft.world.item.crafting.RecipeType
|
||||
import net.minecraft.world.level.Level
|
||||
import net.minecraft.world.level.block.Block
|
||||
import net.minecraft.world.level.block.HorizontalDirectionalBlock
|
||||
import net.minecraft.world.level.block.entity.BaseContainerBlockEntity
|
||||
import net.minecraft.world.level.block.entity.ContainerOpenersCounter
|
||||
import net.minecraft.world.level.block.entity.HopperBlockEntity
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
import net.minecraft.world.phys.Vec3
|
||||
import java.util.*
|
||||
|
||||
class CopperOvenBlockEntity(pos: BlockPos, state: BlockState) : BaseContainerBlockEntity(
|
||||
CobblemonBlockEntities.COPPER_OVEN,
|
||||
pos, state
|
||||
), WorldlyContainer, CraftingContainer, StackedContentsCompatible, RecipeCraftingHolder {
|
||||
|
||||
companion object {
|
||||
|
||||
const val RESULT_SLOT = 0
|
||||
val CRAFTING_GRID_SLOTS = 1..9
|
||||
val SEASONING_SLOTS = 10..12
|
||||
const val ITEMS_SIZE = 13
|
||||
|
||||
val PLAYER_INVENTORY_SLOTS = 13..39
|
||||
val PLAYER_HOTBAR_SLOTS = 40..48
|
||||
|
||||
const val CRAFTING_GRID_WIDTH = 3
|
||||
const val PLAYER_INVENTORY_WIDTH = 9
|
||||
|
||||
const val COOKING_TOTAL_TIME = 200
|
||||
const val COOKING_PROGRESS_PER_TICK = 2
|
||||
const val EJECT_DELAY_TICKS = 4
|
||||
const val NO_EJECT_PENDING = -1
|
||||
|
||||
const val COOKING_PROGRESS_INDEX = 0
|
||||
const val COOKING_PROGRESS_TOTAL_TIME_INDEX = 1
|
||||
const val IS_DOOR_OPEN_INDEX = 2
|
||||
const val COOKING_POT_COLOR_INDEX = 3
|
||||
const val DISABLED_SLOTS_INDEX = 4
|
||||
|
||||
fun clientTick(level: Level, pos: BlockPos, state: BlockState, ovenBlockEntity: CopperOvenBlockEntity) {
|
||||
if (!level.isClientSide) return
|
||||
|
||||
val isCooking = state.getValue(CopperOvenBlock.COOKING) == CopperOvenBlock.CookingState.COOKING
|
||||
// val isRunningSoundActive = BlockEntitySoundTracker.isActive(pos, campfireBlockEntity.runningSound.location)
|
||||
val containsItems = ovenBlockEntity.getSeasonings().isNotEmpty() || ovenBlockEntity.getIngredients().isNotEmpty()
|
||||
|
||||
// if (containsItems) {
|
||||
// if (isCooking) {
|
||||
//// if (!isRunningSoundActive) BlockEntitySoundTracker.play(pos, CancellableSoundInstance(campfireBlockEntity.runningSound, pos, true, 1.0f, 1.0f))
|
||||
// } else {
|
||||
//// BlockEntitySoundTracker.stop(pos, campfireBlockEntity.runningSound.location)
|
||||
// }
|
||||
// } else {
|
||||
//// BlockEntitySoundTracker.stop(pos, campfireBlockEntity.runningSound.location)
|
||||
// }
|
||||
}
|
||||
|
||||
fun serverTick(level: Level, pos: BlockPos, state: BlockState, ovenBlockEntity: CopperOvenBlockEntity) {
|
||||
if (level.isClientSide) return
|
||||
|
||||
ovenBlockEntity.stateManager.recheckOpeners(level, pos, state)
|
||||
var hasChanged = false
|
||||
val craftingInput = CraftingInput.of(3, 3, ovenBlockEntity.items.subList(1, 10))
|
||||
|
||||
val powered = level.hasNeighborSignal(pos)
|
||||
val powerRose = powered && !ovenBlockEntity.lastPowered
|
||||
val powerFell = !powered && ovenBlockEntity.lastPowered
|
||||
if (powerRose || powerFell) {
|
||||
ovenBlockEntity.lastPowered = powered
|
||||
ovenBlockEntity.setChanged()
|
||||
}
|
||||
|
||||
var currentState = level.getBlockState(pos)
|
||||
if (powered) {
|
||||
ovenBlockEntity.ejectDelay = NO_EJECT_PENDING
|
||||
ovenBlockEntity.closeDelay = 0
|
||||
if (currentState.getValue(COOKING) != CookingState.COOKING ||
|
||||
currentState.getValue(CopperOvenBlock.EJECTING)
|
||||
) {
|
||||
currentState = currentState
|
||||
.setValue(COOKING, CookingState.COOKING)
|
||||
.setValue(CopperOvenBlock.EJECTING, false)
|
||||
level.setBlockAndUpdate(pos, currentState)
|
||||
}
|
||||
} else if (powerFell) {
|
||||
ovenBlockEntity.ejectDelay = EJECT_DELAY_TICKS
|
||||
ovenBlockEntity.closeDelay = 0
|
||||
currentState = currentState
|
||||
.setValue(COOKING, CookingState.CLOSED)
|
||||
.setValue(CopperOvenBlock.EJECTING, true)
|
||||
level.setBlockAndUpdate(pos, currentState)
|
||||
} else {
|
||||
if (currentState.getValue(COOKING) == CookingState.COOKING) {
|
||||
currentState = currentState.setValue(COOKING, CookingState.CLOSED)
|
||||
level.setBlockAndUpdate(pos, currentState)
|
||||
}
|
||||
}
|
||||
|
||||
val previousEjectDelay = ovenBlockEntity.ejectDelay
|
||||
if (!powered && !powerFell && ovenBlockEntity.ejectDelay in 1..EJECT_DELAY_TICKS) {
|
||||
ovenBlockEntity.ejectDelay--
|
||||
}
|
||||
if (ovenBlockEntity.ejectDelay != previousEjectDelay) {
|
||||
ovenBlockEntity.setChanged()
|
||||
}
|
||||
|
||||
fun <T : CookingPotRecipeBase> fetchRecipe(
|
||||
recipeType: RecipeType<T>
|
||||
): Optional<RecipeHolder<CookingPotRecipeBase>> {
|
||||
val optional = level.recipeManager.getRecipeFor(recipeType, craftingInput, level)
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
return optional.map { it as RecipeHolder<CookingPotRecipeBase> }
|
||||
}
|
||||
|
||||
val isCookingBefore = ovenBlockEntity.cookingProgress > 0
|
||||
|
||||
// Check for all Cooking Pot Recipe Types recipes
|
||||
val optionalRecipe = fetchRecipe(CobblemonRecipeTypes.COOKING_POT_COOKING)
|
||||
.orElseGet { fetchRecipe(CobblemonRecipeTypes.COOKING_POT_SHAPELESS).orElse(null) }
|
||||
|
||||
if (optionalRecipe == null) {
|
||||
ovenBlockEntity.cookingProgress = 0
|
||||
}
|
||||
else {
|
||||
val recipe = optionalRecipe.value()
|
||||
val cookedItem = recipe.assemble(craftingInput, level.registryAccess())
|
||||
val resultSlotItem = ovenBlockEntity.getItem(0)
|
||||
|
||||
recipe.applySeasoning(cookedItem, ovenBlockEntity.getSeasonings().filter { it.`is`(recipe.seasoningTag) })
|
||||
|
||||
if (!powered) {
|
||||
ovenBlockEntity.cookingProgress = 0
|
||||
} else {
|
||||
val resultCanAccept = resultSlotItem.isEmpty ||
|
||||
(ItemStack.isSameItemSameComponents(resultSlotItem, cookedItem) &&
|
||||
resultSlotItem.count + cookedItem.count <= resultSlotItem.maxStackSize)
|
||||
|
||||
if (!resultCanAccept) {
|
||||
ovenBlockEntity.cookingProgress = 0
|
||||
} else {
|
||||
ovenBlockEntity.cookingProgress += COOKING_PROGRESS_PER_TICK
|
||||
if (ovenBlockEntity.cookingProgress == ovenBlockEntity.cookingTotalTime) {
|
||||
ovenBlockEntity.cookingProgress = 0
|
||||
|
||||
if (!cookedItem.isEmpty) {
|
||||
(ovenBlockEntity as RecipeCraftingHolder).recipeUsed = optionalRecipe
|
||||
|
||||
if (resultSlotItem.isEmpty) {
|
||||
ovenBlockEntity.setItem(0, cookedItem)
|
||||
} else {
|
||||
resultSlotItem.grow(cookedItem.count)
|
||||
}
|
||||
|
||||
val remainders = recipe.getRemainingItems(craftingInput)
|
||||
ovenBlockEntity.queueRemainders(remainders)
|
||||
ovenBlockEntity.consumeCraftingIngredients(
|
||||
recipe,
|
||||
level,
|
||||
pos,
|
||||
state,
|
||||
ovenBlockEntity
|
||||
)
|
||||
|
||||
level.playSoundServer(
|
||||
position = pos.bottomCenter,
|
||||
sound = CobblemonSounds.CAMPFIRE_POT_COOK,
|
||||
)
|
||||
|
||||
hasChanged = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
val isCookingNow = ovenBlockEntity.cookingProgress > 0
|
||||
|
||||
// if (isCookingBefore != isCookingNow) {
|
||||
// hasChanged = true
|
||||
// val newCookingState = if (isCookingNow) CopperOvenBlock.CookingState.COOKING else CopperOvenBlock.CookingState.CLOSED
|
||||
// level.setBlock(pos, state.setValue(CopperOvenBlock.COOKING, newCookingState), 3)
|
||||
// }
|
||||
|
||||
if (!powered && ovenBlockEntity.ejectDelay == 0 && ovenBlockEntity.getItem(RESULT_SLOT).isEmpty) {
|
||||
ovenBlockEntity.ejectDelay = NO_EJECT_PENDING
|
||||
ovenBlockEntity.setChanged()
|
||||
currentState = level.getBlockState(pos)
|
||||
if (currentState.getValue(CopperOvenBlock.EJECTING)) {
|
||||
level.setBlockAndUpdate(pos, currentState.setValue(CopperOvenBlock.EJECTING, false))
|
||||
}
|
||||
}
|
||||
|
||||
if (!powered && ovenBlockEntity.ejectDelay == 0 && !ovenBlockEntity.getItem(RESULT_SLOT).isEmpty) {
|
||||
ovenBlockEntity.eject(level as ServerLevel, level.getBlockState(pos), pos)
|
||||
} else if (!powered && ovenBlockEntity.ejectDelay == NO_EJECT_PENDING) {
|
||||
if (ovenBlockEntity.closeDelay > 0) ovenBlockEntity.closeDelay--
|
||||
if (level.getBlockState(pos).getValue(CopperOvenBlock.EJECTING) && ovenBlockEntity.closeDelay == 0) {
|
||||
currentState = level.getBlockState(pos)
|
||||
level.setBlockAndUpdate(pos, currentState.setValue(CopperOvenBlock.EJECTING, false))
|
||||
}
|
||||
}
|
||||
|
||||
if (hasChanged) setChanged(level, pos, state)
|
||||
}
|
||||
}
|
||||
|
||||
private val recipesUsed: Object2IntOpenHashMap<ResourceLocation> = Object2IntOpenHashMap()
|
||||
private var recipe: RecipeHolder<*>? = null
|
||||
private var items: NonNullList<ItemStack> = NonNullList.withSize(ITEMS_SIZE, ItemStack.EMPTY)
|
||||
private val pendingRemainders: MutableList<ItemStack> = mutableListOf()
|
||||
private var cookingProgress: Int = 0
|
||||
private var cookingTotalTime: Int = COOKING_TOTAL_TIME
|
||||
private var ejectDelay: Int = NO_EJECT_PENDING
|
||||
private var lastPowered: Boolean = state.getValue(COOKING) == CookingState.COOKING
|
||||
var time: Int = 0
|
||||
private val disabledSlots = BooleanArray(ITEMS_SIZE)
|
||||
var closeDelay: Int = 0
|
||||
|
||||
private val stateManager: ContainerOpenersCounter = object : ContainerOpenersCounter() {
|
||||
override fun onOpen(
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
state: BlockState
|
||||
) {
|
||||
level.setBlockAndUpdate(pos, state.setValue(COOKING, CookingState.OPEN))
|
||||
level.playSound(null, pos, SoundEvents.CHEST_OPEN, SoundSource.BLOCKS)
|
||||
}
|
||||
|
||||
override fun onClose(
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
state: BlockState
|
||||
) {
|
||||
level.setBlockAndUpdate(pos, state.setValue(COOKING, CookingState.CLOSED))
|
||||
level.playSound(null, pos, SoundEvents.CHEST_CLOSE, SoundSource.BLOCKS)
|
||||
}
|
||||
|
||||
override fun openerCountChanged(
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
state: BlockState,
|
||||
old: Int,
|
||||
new: Int
|
||||
) {
|
||||
this@CopperOvenBlockEntity.onViewerCountUpdate(level, pos, state, old, new)
|
||||
}
|
||||
|
||||
override fun isOwnContainer(player: Player): Boolean {
|
||||
if (player.containerMenu is CopperOvenMenu) {
|
||||
val inventory = (player.containerMenu as CopperOvenMenu).container
|
||||
return inventory === this@CopperOvenBlockEntity
|
||||
}
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
override fun startOpen(player: Player) {
|
||||
if (!this.remove && !player.isSpectator) {
|
||||
stateManager.incrementOpeners(player, level, blockPos, blockState)
|
||||
}
|
||||
}
|
||||
|
||||
override fun stopOpen(player: Player) {
|
||||
if (!this.remove && !player.isSpectator) {
|
||||
stateManager.decrementOpeners(player, level, blockPos, blockState)
|
||||
}
|
||||
}
|
||||
|
||||
fun onViewerCountUpdate(world: Level, pos: BlockPos, state: BlockState, oldViewerCount: Int, newViewerCount: Int) {
|
||||
val block = state.block
|
||||
world.blockEvent(pos, block, 1, newViewerCount)
|
||||
}
|
||||
|
||||
val dataAccess: ContainerData = object : ContainerData {
|
||||
override fun get(index: Int): Int = when (index) {
|
||||
COOKING_PROGRESS_INDEX -> cookingProgress
|
||||
COOKING_PROGRESS_TOTAL_TIME_INDEX -> cookingTotalTime
|
||||
IS_DOOR_OPEN_INDEX -> if (blockState.getValue(COOKING) == CookingState.OPEN) 1 else 0
|
||||
COOKING_POT_COLOR_INDEX -> 0
|
||||
DISABLED_SLOTS_INDEX -> {
|
||||
(CRAFTING_GRID_SLOTS.first..SEASONING_SLOTS.last).fold(0) { mask, slot ->
|
||||
if (disabledSlots[slot]) mask or (1 shl slot) else mask
|
||||
}
|
||||
}
|
||||
else -> 0
|
||||
}
|
||||
|
||||
override fun set(index: Int, value: Int) {
|
||||
when (index) {
|
||||
COOKING_PROGRESS_INDEX -> cookingProgress = value
|
||||
COOKING_PROGRESS_TOTAL_TIME_INDEX -> cookingTotalTime = value
|
||||
DISABLED_SLOTS_INDEX -> {
|
||||
for (slot in CRAFTING_GRID_SLOTS.first..SEASONING_SLOTS.last) {
|
||||
disabledSlots[slot] = value and (1 shl slot) != 0
|
||||
}
|
||||
setChanged()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun getCount() = 5
|
||||
}
|
||||
|
||||
fun eject(level: ServerLevel, state: BlockState, pos: BlockPos) {
|
||||
val result = items[RESULT_SLOT]
|
||||
if (result.isEmpty) return
|
||||
|
||||
val dispenseCount = result.count
|
||||
val facing = level.getBlockState(pos).getValue(HorizontalDirectionalBlock.FACING)
|
||||
val container = level.getBlockEntity(pos.relative(facing)) as? Container
|
||||
val remaining = result.copyWithCount(dispenseCount)
|
||||
|
||||
if (container != null) {
|
||||
for (slot in 0 until container.containerSize) {
|
||||
if (!container.canPlaceItem(slot, remaining)) continue
|
||||
|
||||
val slotStack = container.getItem(slot)
|
||||
if (slotStack.isEmpty) {
|
||||
val count = minOf(remaining.count, remaining.maxStackSize, container.maxStackSize)
|
||||
if (count > 0) {
|
||||
container.setItem(slot, remaining.copyWithCount(count))
|
||||
remaining.shrink(count)
|
||||
}
|
||||
} else if (ItemStack.isSameItemSameComponents(slotStack, remaining)) {
|
||||
val count = minOf(
|
||||
remaining.count,
|
||||
slotStack.maxStackSize - slotStack.count,
|
||||
container.maxStackSize - slotStack.count
|
||||
)
|
||||
if (count > 0) {
|
||||
slotStack.grow(count)
|
||||
remaining.shrink(count)
|
||||
}
|
||||
}
|
||||
|
||||
if (remaining.isEmpty) break
|
||||
}
|
||||
}
|
||||
|
||||
if (!remaining.isEmpty) {
|
||||
val spawnPos = Vec3.atCenterOf(pos).add(Vec3.atLowerCornerOf(facing.normal).scale(0.6))
|
||||
|
||||
val entity = ItemEntity(level, spawnPos.x, spawnPos.y, spawnPos.z, remaining.copy())
|
||||
entity.deltaMovement = Vec3.atLowerCornerOf(facing.normal).scale(0.2)
|
||||
if (!level.addFreshEntity(entity)) {
|
||||
val insertedCount = dispenseCount - remaining.count
|
||||
if (insertedCount > 0) {
|
||||
result.shrink(insertedCount)
|
||||
if (result.isEmpty) items[RESULT_SLOT] = ItemStack.EMPTY
|
||||
container?.setChanged()
|
||||
onItemUpdate(level)
|
||||
}
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
result.shrink(dispenseCount)
|
||||
if (result.isEmpty) items[RESULT_SLOT] = ItemStack.EMPTY
|
||||
container?.setChanged()
|
||||
dispenseRemainders(level, pos, container, facing)
|
||||
level.setBlockAndUpdate(pos, level.getBlockState(pos).setValue(CopperOvenBlock.EJECTING, true))
|
||||
level.playSound(null, pos, SoundEvents.DISPENSER_DISPENSE, SoundSource.BLOCKS)
|
||||
closeDelay = 10
|
||||
onItemUpdate(level)
|
||||
}
|
||||
|
||||
fun isSlotDisabled(slot: Int): Boolean {
|
||||
if (slot !in 1..12) return false
|
||||
return disabledSlots[slot]
|
||||
}
|
||||
|
||||
override fun getDefaultName() = lang("container.copper_oven")
|
||||
|
||||
override fun createMenu(
|
||||
containerId: Int,
|
||||
inventory: Inventory
|
||||
): AbstractContainerMenu {
|
||||
return CopperOvenMenu(containerId, inventory, this, dataAccess)
|
||||
}
|
||||
|
||||
override fun getWidth() = 3
|
||||
override fun getHeight() = 3
|
||||
|
||||
override fun getItems(): NonNullList<ItemStack> {
|
||||
return this.items
|
||||
}
|
||||
|
||||
override fun setItems(items: NonNullList<ItemStack>) {
|
||||
val copiedItems = items.map(ItemStack::copy)
|
||||
this.items.clear()
|
||||
this.items.addAll(copiedItems)
|
||||
level?.let { onItemUpdate(it) }
|
||||
}
|
||||
|
||||
override fun saveAdditional(tag: CompoundTag, registries: HolderLookup.Provider) {
|
||||
super.saveAdditional(tag, registries)
|
||||
ContainerHelper.saveAllItems(tag, items, registries)
|
||||
val remainderList = ListTag()
|
||||
pendingRemainders.filterNot(ItemStack::isEmpty).forEach { remainderList.add(it.save(registries)) }
|
||||
tag.put("PendingRemainders", remainderList)
|
||||
tag.putInt("CookingProgress", cookingProgress)
|
||||
tag.putInt("EjectDelay", ejectDelay)
|
||||
tag.putBoolean("LastPowered", lastPowered)
|
||||
val intList: IntList = IntArrayList()
|
||||
|
||||
for (slot in CRAFTING_GRID_SLOTS.first..SEASONING_SLOTS.last) {
|
||||
if (disabledSlots[slot]) intList.add(slot)
|
||||
}
|
||||
|
||||
tag.putIntArray("DisabledSlots", intList)
|
||||
}
|
||||
|
||||
override fun loadAdditional(tag: CompoundTag, registries: HolderLookup.Provider) {
|
||||
super.loadAdditional(tag, registries)
|
||||
items.clear()
|
||||
ContainerHelper.loadAllItems(tag, items, registries)
|
||||
pendingRemainders.clear()
|
||||
val remainderList = tag.getList("PendingRemainders", CompoundTag.TAG_COMPOUND.toInt())
|
||||
remainderList.forEach { encoded ->
|
||||
ItemStack.parse(registries, encoded as CompoundTag).orElse(ItemStack.EMPTY)
|
||||
.takeUnless(ItemStack::isEmpty)
|
||||
?.let(pendingRemainders::add)
|
||||
}
|
||||
cookingProgress = tag.getInt("CookingProgress")
|
||||
ejectDelay = if (tag.contains("EjectDelay")) {
|
||||
tag.getInt("EjectDelay").coerceIn(NO_EJECT_PENDING, EJECT_DELAY_TICKS)
|
||||
} else {
|
||||
NO_EJECT_PENDING
|
||||
}
|
||||
lastPowered = if (tag.contains("LastPowered")) {
|
||||
tag.getBoolean("LastPowered")
|
||||
} else {
|
||||
blockState.getValue(COOKING) == CookingState.COOKING
|
||||
}
|
||||
val slots = tag.getIntArray("DisabledSlots")
|
||||
|
||||
disabledSlots.fill(false)
|
||||
for (slot in slots) {
|
||||
if (slot in 1..12) {
|
||||
disabledSlots[slot] = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun setDoorOpen(open: Boolean) {
|
||||
val level = level ?: return
|
||||
if (level.isClientSide) return
|
||||
|
||||
val state = level.getBlockState(worldPosition)
|
||||
if (state.block !is CopperOvenBlock) return
|
||||
|
||||
val newCookingState = if (open) CookingState.OPEN else CookingState.CLOSED
|
||||
if (state.getValue(COOKING) != newCookingState) {
|
||||
level.setBlock(worldPosition, state.setValue(COOKING, newCookingState), Block.UPDATE_ALL)
|
||||
setChanged()
|
||||
}
|
||||
}
|
||||
|
||||
override fun getContainerSize() = items.size
|
||||
|
||||
override fun getSlotsForFace(side: Direction): IntArray {
|
||||
val inputSlots = (CRAFTING_GRID_SLOTS + SEASONING_SLOTS)
|
||||
.filterNot(::isSlotDisabled)
|
||||
return if (side == Direction.DOWN) {
|
||||
inputSlots.toIntArray()
|
||||
} else {
|
||||
(inputSlots + RESULT_SLOT).toIntArray()
|
||||
}
|
||||
}
|
||||
|
||||
override fun canPlaceItemThroughFace(index: Int, itemStack: ItemStack, direction: Direction?): Boolean {
|
||||
return (index in CRAFTING_GRID_SLOTS || index in SEASONING_SLOTS) &&
|
||||
!isSlotDisabled(index)
|
||||
}
|
||||
|
||||
override fun canTakeItemThroughFace(index: Int, stack: ItemStack, direction: Direction): Boolean {
|
||||
return if (direction == Direction.DOWN) {
|
||||
index in CRAFTING_GRID_SLOTS || index in SEASONING_SLOTS
|
||||
} else {
|
||||
index == RESULT_SLOT
|
||||
}
|
||||
}
|
||||
|
||||
override fun fillStackedContents(contents: StackedContents) {
|
||||
for (itemStack in this.items) {
|
||||
contents.accountSimpleStack(itemStack);
|
||||
}
|
||||
}
|
||||
|
||||
override fun setRecipeUsed(recipe: RecipeHolder<*>?) {
|
||||
this.recipe = recipe
|
||||
if (recipe != null) {
|
||||
val resourceLocation = recipe.id()
|
||||
this.recipesUsed.addTo(resourceLocation, 1)
|
||||
}
|
||||
}
|
||||
|
||||
override fun getRecipeUsed() = null
|
||||
|
||||
override fun setChanged() {
|
||||
super.setChanged()
|
||||
level?.let { level ->
|
||||
val state = level.getBlockState(worldPosition)
|
||||
level.updateNeighborsAt(worldPosition, state.block)
|
||||
level.updateNeighbourForOutputSignal(worldPosition, state.block)
|
||||
}
|
||||
}
|
||||
|
||||
private fun onItemUpdate(level: Level) {
|
||||
val oldState = level.getBlockState(blockPos)
|
||||
level.sendBlockUpdated(blockPos, oldState, level.getBlockState(blockPos), Block.UPDATE_ALL)
|
||||
setChanged()
|
||||
}
|
||||
|
||||
fun consumeCraftingIngredients(recipe: CookingPotRecipeBase, level: Level, pos: BlockPos, state: BlockState, ovenBlockEntity: CopperOvenBlockEntity) {
|
||||
fun consumeItem(slot: Int) {
|
||||
val itemInSlot = getItem(slot)
|
||||
if (!itemInSlot.isEmpty) {
|
||||
itemInSlot.shrink(1)
|
||||
if (itemInSlot.count <= 0) setItem(slot, ItemStack.EMPTY)
|
||||
}
|
||||
}
|
||||
|
||||
for (i in CRAFTING_GRID_SLOTS.first..CRAFTING_GRID_SLOTS.last) {
|
||||
if (!Seasonings.isSeasoning(getItem(i))) consumeItem(i)
|
||||
}
|
||||
for (i in 1..12) {
|
||||
if (getItem(i).`is`(recipe.seasoningTag) && recipe.seasoningProcessors.any { it.consumesItem(getItem(i)) }) consumeItem(i)
|
||||
}
|
||||
}
|
||||
|
||||
private fun queueRemainders(remainders: List<ItemStack>) {
|
||||
for (remainder in remainders) {
|
||||
if (remainder.isEmpty) continue
|
||||
var remaining = remainder.copy()
|
||||
for (pending in pendingRemainders) {
|
||||
if (!ItemStack.isSameItemSameComponents(pending, remaining)) continue
|
||||
val count = minOf(remaining.count, pending.maxStackSize - pending.count)
|
||||
if (count > 0) {
|
||||
pending.grow(count)
|
||||
remaining.shrink(count)
|
||||
}
|
||||
if (remaining.isEmpty) break
|
||||
}
|
||||
while (!remaining.isEmpty) {
|
||||
val count = minOf(remaining.count, remaining.maxStackSize)
|
||||
pendingRemainders.add(remaining.copyWithCount(count))
|
||||
remaining.shrink(count)
|
||||
}
|
||||
}
|
||||
setChanged()
|
||||
}
|
||||
|
||||
private fun dispenseRemainders(
|
||||
level: ServerLevel,
|
||||
pos: BlockPos,
|
||||
container: Container?,
|
||||
facing: Direction
|
||||
) {
|
||||
val remainderPos = Vec3.atCenterOf(pos).add(Vec3.atLowerCornerOf(facing.normal).scale(0.6))
|
||||
val iterator = pendingRemainders.iterator()
|
||||
while (iterator.hasNext()) {
|
||||
val pending = iterator.next()
|
||||
var remaining = pending.copy()
|
||||
if (container != null) {
|
||||
remaining = HopperBlockEntity.addItem(this, container, remaining, facing.opposite)
|
||||
}
|
||||
if (remaining.isEmpty) {
|
||||
iterator.remove()
|
||||
continue
|
||||
}
|
||||
|
||||
val itemEntity = ItemEntity(level, remainderPos.x, remainderPos.y, remainderPos.z, remaining.copy())
|
||||
itemEntity.deltaMovement = Vec3.atLowerCornerOf(facing.normal).scale(0.2)
|
||||
if (level.addFreshEntity(itemEntity)) {
|
||||
iterator.remove()
|
||||
} else {
|
||||
pending.shrink(pending.count - remaining.count)
|
||||
}
|
||||
}
|
||||
|
||||
container?.setChanged()
|
||||
setChanged()
|
||||
}
|
||||
|
||||
fun getSeasonings(): List<ItemStack> =
|
||||
items.subList(1, ITEMS_SIZE)
|
||||
.filter { !it.isEmpty && Seasonings.isSeasoning(it) }
|
||||
|
||||
fun getIngredients(): List<ItemStack> =
|
||||
items.subList(CRAFTING_GRID_SLOTS.first, CRAFTING_GRID_SLOTS.last + 1)
|
||||
.filter { it != null && !it.isEmpty }
|
||||
|
||||
override fun canPlaceItem(slot: Int, stack: ItemStack): Boolean {
|
||||
if (slot !in CRAFTING_GRID_SLOTS && slot !in SEASONING_SLOTS || isSlotDisabled(slot)) return false
|
||||
|
||||
val itemStack = items[slot]
|
||||
if (!itemStack.isEmpty &&
|
||||
(!ItemStack.isSameItemSameComponents(itemStack, stack) || itemStack.count >= itemStack.maxStackSize)
|
||||
) {
|
||||
return false
|
||||
}
|
||||
|
||||
return !smallerStackExists(itemStack.count, stack, slot)
|
||||
}
|
||||
|
||||
private fun smallerStackExists(currentSize: Int, stack: ItemStack, slot: Int): Boolean {
|
||||
for (candidateSlot in slot + 1..SEASONING_SLOTS.last) {
|
||||
if (isSlotDisabled(candidateSlot)) continue
|
||||
|
||||
val candidate = items[candidateSlot]
|
||||
if (candidate.isEmpty && currentSize > 0) return true
|
||||
if (!candidate.isEmpty &&
|
||||
ItemStack.isSameItemSameComponents(candidate, stack) &&
|
||||
candidate.count < currentSize &&
|
||||
candidate.count < candidate.maxStackSize
|
||||
) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
override fun getUpdateTag(registries: HolderLookup.Provider): CompoundTag {
|
||||
return saveWithoutMetadata(registries)
|
||||
}
|
||||
|
||||
override fun getUpdatePacket(): ClientboundBlockEntityDataPacket {
|
||||
return ClientboundBlockEntityDataPacket.create(this)
|
||||
}
|
||||
}
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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.block.appliances.oven
|
||||
|
||||
import net.minecraft.core.NonNullList
|
||||
import net.minecraft.world.ContainerHelper
|
||||
import net.minecraft.world.entity.player.Player
|
||||
import net.minecraft.world.entity.player.StackedContents
|
||||
import net.minecraft.world.inventory.TransientCraftingContainer
|
||||
import net.minecraft.world.item.ItemStack
|
||||
|
||||
class CopperOvenContainer : TransientCraftingContainer {
|
||||
val menu : CopperOvenMenu?
|
||||
val items : NonNullList<ItemStack>
|
||||
|
||||
constructor(menu : CopperOvenMenu, width: Int, height: Int) : super(menu, width, height) {
|
||||
this.menu = menu
|
||||
this.items = NonNullList.withSize(CopperOvenBlockEntity.ITEMS_SIZE, ItemStack.EMPTY)
|
||||
}
|
||||
|
||||
override fun getContainerSize() = this.items.size
|
||||
override fun isEmpty(): Boolean {
|
||||
for (itemStack in this.items) {
|
||||
if (!itemStack.isEmpty) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
override fun getItem(slot: Int) = if (slot >= this.containerSize) {
|
||||
ItemStack.EMPTY
|
||||
} else {
|
||||
this.items[slot]
|
||||
}
|
||||
|
||||
override fun setItem(slot: Int, stack: ItemStack) {
|
||||
this.items[slot] = stack
|
||||
this.menu?.slotsChanged(this)
|
||||
}
|
||||
|
||||
override fun removeItemNoUpdate(slot: Int) = ContainerHelper.takeItem(this.items, slot)
|
||||
override fun removeItem(slot: Int, amount: Int): ItemStack {
|
||||
val itemStack = ContainerHelper.removeItem(this.items, slot, amount)
|
||||
if (!itemStack.isEmpty) {
|
||||
this.menu?.slotsChanged(this)
|
||||
}
|
||||
return itemStack
|
||||
}
|
||||
|
||||
override fun setChanged() {}
|
||||
override fun stillValid(player: Player) = true
|
||||
|
||||
override fun clearContent() {
|
||||
for (index in 0 until this.items.size) {
|
||||
this.items[index] = ItemStack.EMPTY
|
||||
}
|
||||
}
|
||||
|
||||
override fun getHeight() = CopperOvenBlockEntity.CRAFTING_GRID_WIDTH
|
||||
override fun getWidth() = CopperOvenBlockEntity.CRAFTING_GRID_WIDTH
|
||||
override fun getItems() = this.items.toList()
|
||||
override fun fillStackedContents(contents: StackedContents) {
|
||||
for (itemStack in this.items) {
|
||||
contents.accountSimpleStack(itemStack)
|
||||
}
|
||||
}
|
||||
}
|
||||
+309
@@ -0,0 +1,309 @@
|
||||
/*
|
||||
* 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.block.appliances.oven
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonMenuType
|
||||
import com.cobblemon.mod.common.CobblemonRecipeBookTypes.COOKING_POT
|
||||
import com.cobblemon.mod.common.CobblemonRecipeTypes
|
||||
import com.cobblemon.mod.common.api.cooking.Seasonings
|
||||
import com.cobblemon.mod.common.item.crafting.CookingPotRecipe
|
||||
import com.cobblemon.mod.common.item.crafting.CookingPotRecipeBase
|
||||
import net.minecraft.recipebook.ServerPlaceRecipe
|
||||
import net.minecraft.server.level.ServerPlayer
|
||||
import net.minecraft.sounds.SoundEvents
|
||||
import net.minecraft.util.Mth
|
||||
import net.minecraft.world.entity.player.Inventory
|
||||
import net.minecraft.world.entity.player.Player
|
||||
import net.minecraft.world.entity.player.StackedContents
|
||||
import net.minecraft.world.inventory.*
|
||||
import net.minecraft.world.item.ItemStack
|
||||
import net.minecraft.world.item.crafting.CraftingInput
|
||||
import net.minecraft.world.item.crafting.RecipeHolder
|
||||
import net.minecraft.world.item.crafting.RecipeManager
|
||||
import net.minecraft.world.item.crafting.RecipeType
|
||||
import net.minecraft.world.level.Level
|
||||
import java.util.*
|
||||
|
||||
class CopperOvenMenu : RecipeBookMenu<CraftingInput, CookingPotRecipeBase>, ContainerListener {
|
||||
|
||||
private val player: Player
|
||||
private val level: Level
|
||||
private val playerInventory: Inventory
|
||||
val container: CraftingContainer
|
||||
val containerData: ContainerData
|
||||
private val recipeType: RecipeType<CookingPotRecipe> = CobblemonRecipeTypes.COOKING_POT_COOKING
|
||||
private val quickCheck = RecipeManager.createCheck(CobblemonRecipeTypes.COOKING_POT_COOKING)
|
||||
var currentActiveRecipe: RecipeHolder<CookingPotRecipeBase>? = null
|
||||
var previewItem = ItemStack.EMPTY
|
||||
|
||||
constructor(containerId: Int, playerInventory: Inventory) : super(CobblemonMenuType.COPPER_OVEN, containerId) {
|
||||
this.playerInventory = playerInventory
|
||||
this.container = CopperOvenContainer(this,
|
||||
CopperOvenBlockEntity.CRAFTING_GRID_WIDTH,
|
||||
CopperOvenBlockEntity.CRAFTING_GRID_WIDTH
|
||||
)
|
||||
this.containerData = SimpleContainerData(5)
|
||||
this.addDataSlots(containerData)
|
||||
this.player = playerInventory.player
|
||||
this.level = playerInventory.player.level()
|
||||
initializeSlots(playerInventory)
|
||||
this.addSlotListener(this)
|
||||
}
|
||||
|
||||
constructor(containerId: Int, playerInventory: Inventory, container: CraftingContainer, containerData: ContainerData) : super(
|
||||
CobblemonMenuType.COPPER_OVEN, containerId) {
|
||||
this.playerInventory = playerInventory
|
||||
this.container = container
|
||||
this.containerData = containerData
|
||||
this.addDataSlots(containerData)
|
||||
this.player = playerInventory.player
|
||||
this.level = playerInventory.player.level()
|
||||
container.startOpen(playerInventory.player)
|
||||
initializeSlots(playerInventory)
|
||||
this.addSlotListener(this)
|
||||
}
|
||||
|
||||
fun setSlotState(slot: Int, enabled: Boolean) {
|
||||
if (slot !in 1..12) return
|
||||
|
||||
val maskIndex = CopperOvenBlockEntity.DISABLED_SLOTS_INDEX
|
||||
val slotMask = 1 shl slot
|
||||
val disabledSlots = containerData.get(maskIndex)
|
||||
containerData.set(maskIndex,
|
||||
if (enabled) disabledSlots and slotMask.inv() else disabledSlots or slotMask
|
||||
)
|
||||
this.broadcastChanges()
|
||||
}
|
||||
|
||||
fun isSlotDisabled(slot: Int): Boolean {
|
||||
if (slot !in 1..12) return false
|
||||
val mask = containerData.get(CopperOvenBlockEntity.DISABLED_SLOTS_INDEX)
|
||||
return mask and (1 shl slot) != 0
|
||||
}
|
||||
|
||||
override fun clicked(slotId: Int, button: Int, clickType: ClickType, player: Player) {
|
||||
val slot = slots.getOrNull(slotId)
|
||||
if (slot !is OvenInputSlot
|
||||
|| clickType != ClickType.PICKUP
|
||||
|| player.isSpectator
|
||||
|| slot.hasItem()) {
|
||||
super.clicked(slotId, button, clickType, player)
|
||||
return
|
||||
}
|
||||
|
||||
val containerSlot = CopperOvenBlockEntity.CRAFTING_GRID_SLOTS.first + slotId
|
||||
if (carried.isEmpty) {
|
||||
if (isSlotDisabled(containerSlot)) {
|
||||
setSlotState(containerSlot, true)
|
||||
player.playSound(SoundEvents.UI_BUTTON_CLICK.value())
|
||||
} else {
|
||||
setSlotState(containerSlot, false)
|
||||
player.playSound(SoundEvents.UI_BUTTON_CLICK.value(), 1.0f, 0.75f)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
super.clicked(slotId, button, clickType, player)
|
||||
}
|
||||
|
||||
private fun initializeSlots(playerInventory: Inventory) {
|
||||
for ((index, slotIndex) in CopperOvenBlockEntity.CRAFTING_GRID_SLOTS.withIndex()) {
|
||||
val i = index / CopperOvenBlockEntity.CRAFTING_GRID_WIDTH
|
||||
val j = index % CopperOvenBlockEntity.CRAFTING_GRID_WIDTH
|
||||
addSlot(OvenIngredientSlot(this.container, slotIndex, 33 + j * 18, 18 + i * 18, this))
|
||||
}
|
||||
|
||||
for ((index, slotIndex) in CopperOvenBlockEntity.SEASONING_SLOTS.withIndex()) {
|
||||
addSlot(OvenSeasoningSlot(this, this.container, slotIndex, 110 + index * 18, 18))
|
||||
}
|
||||
|
||||
for ((index, _) in CopperOvenBlockEntity.PLAYER_INVENTORY_SLOTS.withIndex()) {
|
||||
val i = index / CopperOvenBlockEntity.PLAYER_INVENTORY_WIDTH
|
||||
val j = index % CopperOvenBlockEntity.PLAYER_INVENTORY_WIDTH
|
||||
addSlot(Slot(playerInventory, index + 9, 8 + j * 18, 84 + i * 18))
|
||||
}
|
||||
|
||||
for ((index, _) in CopperOvenBlockEntity.PLAYER_HOTBAR_SLOTS.withIndex()) {
|
||||
addSlot(Slot(playerInventory, index, 8 + index * 18, 142))
|
||||
}
|
||||
}
|
||||
|
||||
override fun fillCraftSlotsStackedContents(itemHelper: StackedContents) {
|
||||
this.container.fillStackedContents(itemHelper)
|
||||
}
|
||||
|
||||
override fun clearCraftingContent() {
|
||||
container.clearContent()
|
||||
}
|
||||
|
||||
override fun recipeMatches(recipe: RecipeHolder<CookingPotRecipeBase>): Boolean {
|
||||
val craftInput = CraftingInput.of(3,3, container.items.subList(1,10))
|
||||
val recipeValue = recipe.value()
|
||||
return if (recipeValue is CookingPotRecipeBase) {
|
||||
recipeValue.matches(craftInput, level)
|
||||
} else {
|
||||
false
|
||||
}
|
||||
}
|
||||
private fun recalculateRecipe() {
|
||||
val craftInput = CraftingInput.of(3,3, container.items.subList(1,10))
|
||||
fun <T : CookingPotRecipeBase> fetchRecipe(
|
||||
recipeType: RecipeType<T>
|
||||
): Optional<RecipeHolder<CookingPotRecipeBase>> {
|
||||
val optional = level.recipeManager.getRecipeFor(recipeType, craftInput, level)
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
return optional.map { it as RecipeHolder<CookingPotRecipeBase> }
|
||||
}
|
||||
|
||||
val recipe = fetchRecipe(CobblemonRecipeTypes.COOKING_POT_COOKING)
|
||||
.orElseGet { fetchRecipe(CobblemonRecipeTypes.COOKING_POT_SHAPELESS).orElse(null) }
|
||||
|
||||
currentActiveRecipe = recipe
|
||||
if (recipe != null) {
|
||||
previewItem = recipe.value.assemble(craftInput, level.registryAccess())
|
||||
// Apply seasoning to the preview item
|
||||
recipe.value.applySeasoning(
|
||||
previewItem,
|
||||
container.items.subList(CopperOvenBlockEntity.SEASONING_SLOTS.first,
|
||||
CopperOvenBlockEntity.SEASONING_SLOTS.last + 1)
|
||||
.filterNotNull()
|
||||
.filter { !it.isEmpty && it.`is`(recipe.value.seasoningTag) })
|
||||
|
||||
} else previewItem = ItemStack.EMPTY
|
||||
}
|
||||
|
||||
override fun getResultSlotIndex(): Int {
|
||||
return -1
|
||||
}
|
||||
|
||||
override fun getGridWidth(): Int {
|
||||
return CopperOvenBlockEntity.CRAFTING_GRID_WIDTH
|
||||
}
|
||||
|
||||
override fun getGridHeight(): Int {
|
||||
return CopperOvenBlockEntity.CRAFTING_GRID_WIDTH
|
||||
}
|
||||
|
||||
override fun getSize(): Int {
|
||||
return CopperOvenBlockEntity.CRAFTING_GRID_SLOTS.count() +
|
||||
CopperOvenBlockEntity.SEASONING_SLOTS.count()
|
||||
}
|
||||
|
||||
override fun getRecipeBookType(): RecipeBookType {
|
||||
return COOKING_POT
|
||||
}
|
||||
|
||||
override fun shouldMoveToInventory(slotIndex: Int): Boolean {
|
||||
val containerSlot = slotIndex + CopperOvenBlockEntity.CRAFTING_GRID_SLOTS.first
|
||||
return containerSlot !in CopperOvenBlockEntity.SEASONING_SLOTS
|
||||
}
|
||||
|
||||
override fun quickMoveStack(
|
||||
player: Player,
|
||||
index: Int
|
||||
): ItemStack {
|
||||
var itemStack = ItemStack.EMPTY
|
||||
val slot = slots.getOrNull(index) ?: return ItemStack.EMPTY
|
||||
|
||||
if (slot.hasItem()) {
|
||||
val slotItemStack = slot.item
|
||||
itemStack = slotItemStack.copy()
|
||||
|
||||
val gridStart = 0
|
||||
val gridEnd = gridStart + CopperOvenBlockEntity.CRAFTING_GRID_SLOTS.count()
|
||||
val seasoningEnd = gridEnd + CopperOvenBlockEntity.SEASONING_SLOTS.count()
|
||||
val playerInventoryStart = seasoningEnd
|
||||
if (index >= playerInventoryStart) {
|
||||
if (Seasonings.isSeasoning(slotItemStack)) {
|
||||
if (!this.moveItemStackTo(slotItemStack, gridStart, gridEnd, false) &&
|
||||
!this.moveItemStackTo(slotItemStack, gridEnd, seasoningEnd, false)
|
||||
) {
|
||||
return ItemStack.EMPTY
|
||||
}
|
||||
} else if (!this.moveItemStackTo(slotItemStack, gridStart, gridEnd, false)) {
|
||||
return ItemStack.EMPTY
|
||||
}
|
||||
} else if (index in gridStart until seasoningEnd &&
|
||||
!this.moveItemStackTo(slotItemStack, playerInventoryStart, slots.size, false)
|
||||
) {
|
||||
return ItemStack.EMPTY
|
||||
}
|
||||
|
||||
if (slotItemStack.isEmpty) {
|
||||
slot.setByPlayer(ItemStack.EMPTY)
|
||||
} else {
|
||||
slot.setChanged()
|
||||
}
|
||||
|
||||
if (slotItemStack.count == itemStack.count) {
|
||||
return ItemStack.EMPTY
|
||||
}
|
||||
|
||||
slot.onTake(player, slotItemStack)
|
||||
}
|
||||
|
||||
return itemStack
|
||||
}
|
||||
|
||||
override fun stillValid(player: Player): Boolean {
|
||||
return this.container.stillValid(player)
|
||||
}
|
||||
|
||||
override fun slotChanged(
|
||||
containerToSend: AbstractContainerMenu,
|
||||
dataSlotIndex: Int,
|
||||
stack: ItemStack
|
||||
) {
|
||||
if (CopperOvenBlockEntity.CRAFTING_GRID_SLOTS.contains(dataSlotIndex) || CopperOvenBlockEntity.SEASONING_SLOTS.contains(dataSlotIndex)) recalculateRecipe()
|
||||
broadcastChanges()
|
||||
}
|
||||
|
||||
override fun dataChanged(
|
||||
containerMenu: AbstractContainerMenu,
|
||||
dataSlotIndex: Int,
|
||||
value: Int
|
||||
) {
|
||||
}
|
||||
|
||||
override fun handlePlacement(placeAll: Boolean, recipe: RecipeHolder<*>, player: ServerPlayer) {
|
||||
val recipeValue = recipe.value()
|
||||
if (recipeValue is CookingPotRecipeBase) {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
val castedRecipe = recipe as RecipeHolder<CookingPotRecipeBase>
|
||||
|
||||
// Save seasoning contents
|
||||
val seasoningSlots = CopperOvenBlockEntity.SEASONING_SLOTS
|
||||
val preservedSeasonings = seasoningSlots.map { container.getItem(it).copy() }
|
||||
|
||||
this.beginPlacingRecipe()
|
||||
try {
|
||||
val serverPlaceRecipe = ServerPlaceRecipe(this)
|
||||
serverPlaceRecipe.recipeClicked(player, castedRecipe, placeAll)
|
||||
} finally {
|
||||
this.finishPlacingRecipe(castedRecipe)
|
||||
}
|
||||
|
||||
seasoningSlots.forEachIndexed { index, slot ->
|
||||
container.setItem(slot, preservedSeasonings[index])
|
||||
}
|
||||
} else {
|
||||
throw IllegalArgumentException("Unsupported recipe type: ${recipeValue::class.java.name}")
|
||||
}
|
||||
}
|
||||
|
||||
fun getBurnProgress(): Float {
|
||||
val i = this.containerData.get(0)
|
||||
val j = this.containerData.get(1)
|
||||
return if (j != 0 && i != 0) {
|
||||
Mth.clamp((i.toFloat() / j.toFloat()), 0.0F, 1.0F)
|
||||
} else {
|
||||
0.0F
|
||||
}
|
||||
}
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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.block.appliances.oven
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonItemComponents
|
||||
import com.cobblemon.mod.common.CobblemonSounds
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.world.Container
|
||||
import net.minecraft.world.entity.player.Player
|
||||
import net.minecraft.world.inventory.CraftingContainer
|
||||
import net.minecraft.world.inventory.Slot
|
||||
import net.minecraft.world.item.ItemStack
|
||||
|
||||
abstract class OvenInputSlot(
|
||||
container: Container, slot: Int, x: Int, y: Int, val menu: CopperOvenMenu
|
||||
) : Slot(container, slot, x, y) {
|
||||
val containerSlotIndex = slot
|
||||
|
||||
override fun setChanged() {
|
||||
super.setChanged()
|
||||
this.menu.slotsChanged(this.container)
|
||||
}
|
||||
}
|
||||
|
||||
class OvenSeasoningSlot(menu: CopperOvenMenu, container: Container, slot: Int, x: Int, y: Int) : OvenInputSlot(container, slot, x, y, menu) {
|
||||
override fun mayPlace(stack: ItemStack): Boolean {
|
||||
val recipe = menu.currentActiveRecipe?.value() ?: return false
|
||||
return stack.`is`(recipe.seasoningTag) && super.mayPlace(stack)
|
||||
}
|
||||
}
|
||||
|
||||
class OvenIngredientSlot(container: Container, slot: Int, x: Int, y: Int, menu: CopperOvenMenu) : OvenInputSlot(container, slot, x, y, menu) {
|
||||
override fun mayPlace(stack: ItemStack): Boolean {
|
||||
return !this.menu.isSlotDisabled(this.containerSlotIndex) && super.mayPlace(stack)
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* 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.block.appliances.oven
|
||||
|
||||
import com.cobblemon.mod.common.block.appliances.WeatheringCopperAppliance
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.world.level.block.state.properties.Property
|
||||
import net.minecraft.world.level.block.WeatheringCopper
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
|
||||
class WeatheringCopperOvenBlock(override val weatherState: WeatheringCopper.WeatherState, properties: Properties) :
|
||||
CopperOvenBlock(properties), WeatheringCopperAppliance {
|
||||
|
||||
override fun randomTick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
this.changeOverTime(state, level, pos, random)
|
||||
}
|
||||
|
||||
override fun isRandomlyTicking(state: BlockState): Boolean {
|
||||
return WeatheringCopper.getNext(state.block).isPresent
|
||||
}
|
||||
|
||||
override fun getAge(): WeatheringCopper.WeatherState {
|
||||
return this.weatherState
|
||||
}
|
||||
}
|
||||
+152
@@ -0,0 +1,152 @@
|
||||
/*
|
||||
* 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.block.appliances.washer
|
||||
|
||||
import com.cobblemon.mod.common.block.appliances.WeatheringCopperAppliance
|
||||
import com.cobblemon.mod.common.util.isServerSide
|
||||
import com.cobblemon.mod.common.util.rotateShape
|
||||
import com.mojang.serialization.MapCodec
|
||||
import com.mojang.serialization.codecs.RecordCodecBuilder
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.Direction
|
||||
import net.minecraft.sounds.SoundEvents
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.world.InteractionHand
|
||||
import net.minecraft.world.ItemInteractionResult
|
||||
import net.minecraft.world.entity.item.ItemEntity
|
||||
import net.minecraft.world.entity.player.Player
|
||||
import net.minecraft.world.item.ItemStack
|
||||
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.block.*
|
||||
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.HORIZONTAL_FACING
|
||||
import net.minecraft.world.level.block.state.properties.BlockStateProperties.WATERLOGGED
|
||||
import net.minecraft.world.level.block.state.properties.BooleanProperty
|
||||
import net.minecraft.world.level.material.FluidState
|
||||
import net.minecraft.world.level.material.Fluids
|
||||
import net.minecraft.world.phys.BlockHitResult
|
||||
import net.minecraft.world.phys.Vec3
|
||||
import net.minecraft.world.phys.shapes.CollisionContext
|
||||
import net.minecraft.world.phys.shapes.Shapes
|
||||
import net.minecraft.world.phys.shapes.VoxelShape
|
||||
|
||||
open class CopperWasherBlock(settings: Properties) : BaseEntityBlock(settings), SimpleWaterloggedBlock {
|
||||
|
||||
companion object {
|
||||
val CODEC: MapCodec<CopperWasherBlock> = RecordCodecBuilder.mapCodec {
|
||||
it.group(propertiesCodec()).apply(it, ::CopperWasherBlock) }
|
||||
val POWERED = BooleanProperty.create("powered")
|
||||
|
||||
val HITBOX = Shapes.box(0.0625, 0.0, 0.125, 0.9375, 1.0, 1.0)
|
||||
}
|
||||
|
||||
init {
|
||||
registerDefaultState(stateDefinition.any()
|
||||
.setValue(HORIZONTAL_FACING, Direction.NORTH)
|
||||
.setValue(WATERLOGGED, false)
|
||||
.setValue(POWERED, false)
|
||||
)
|
||||
}
|
||||
|
||||
override fun codec(): MapCodec<CopperWasherBlock> = CODEC
|
||||
|
||||
override fun createBlockStateDefinition(builder: StateDefinition.Builder<Block, BlockState>) {
|
||||
builder.add(HORIZONTAL_FACING, WATERLOGGED, POWERED)
|
||||
}
|
||||
|
||||
override fun getFluidState(blockState: BlockState): FluidState? = if (blockState.getValue(WATERLOGGED)) Fluids.WATER.getSource(false) else super.getFluidState(blockState)
|
||||
|
||||
override fun updateShape(state: BlockState, direction: Direction, neighborState: BlockState, world: LevelAccessor, pos: BlockPos, neighborPos: BlockPos): BlockState {
|
||||
if (state.getValue(WATERLOGGED)) {
|
||||
world.scheduleTick(pos, Fluids.WATER, Fluids.WATER.getTickDelay(world))
|
||||
}
|
||||
|
||||
world.setBlock(pos, state.setValue(POWERED, world.hasNeighborSignal(pos)), 3)
|
||||
attemptCraft(world, pos)
|
||||
|
||||
return if (state.getValue(HORIZONTAL_FACING).opposite == direction && !state.canSurvive(world, pos)) Blocks.AIR.defaultBlockState()
|
||||
else super.updateShape(state, direction, neighborState, world, pos, neighborPos)
|
||||
}
|
||||
|
||||
fun attemptCraft(level: LevelAccessor, pos: BlockPos) {
|
||||
val entity = level.getBlockEntity(pos) as CopperWasherBlockEntity
|
||||
if (level.getBlockState(pos).getValue(POWERED) && !entity.theItem.isEmpty) {
|
||||
entity.craft()
|
||||
}
|
||||
}
|
||||
|
||||
override fun getCollisionShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
val direction = state.getValue(HORIZONTAL_FACING)
|
||||
return rotateShape(Direction.NORTH, direction, HITBOX)
|
||||
}
|
||||
|
||||
override fun getShape(state: BlockState, level: BlockGetter, pos: BlockPos, context: CollisionContext): VoxelShape {
|
||||
return getCollisionShape(state, level, pos, context).singleEncompassing()
|
||||
}
|
||||
|
||||
override fun getStateForPlacement(context: BlockPlaceContext): BlockState? {
|
||||
val fluidState = context.level.getFluidState(context.clickedPos)
|
||||
return super.getStateForPlacement(context)?.setValue(HORIZONTAL_FACING, context.horizontalDirection.opposite)?.setValue(WATERLOGGED, fluidState.type === Fluids.WATER)
|
||||
}
|
||||
|
||||
override fun newBlockEntity(pos: BlockPos, state: BlockState) = CopperWasherBlockEntity(pos, state)
|
||||
|
||||
override fun getRenderShape(state: BlockState) = RenderShape.MODEL
|
||||
|
||||
override fun hasAnalogOutputSignal(state: BlockState) = true
|
||||
|
||||
override fun getAnalogOutputSignal(state: BlockState, level: Level, pos: BlockPos): Int {
|
||||
return if (!(level.getBlockEntity(pos) as CopperWasherBlockEntity).theItem.isEmpty) 1 else 0
|
||||
}
|
||||
|
||||
override fun useItemOn(
|
||||
stack: ItemStack,
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
player: Player,
|
||||
hand: InteractionHand,
|
||||
hitResult: BlockHitResult
|
||||
): ItemInteractionResult {
|
||||
val entity = level.getBlockEntity(pos) as CopperWasherBlockEntity
|
||||
if (entity.theItem.isEmpty) {
|
||||
if (level.isServerSide()) {
|
||||
entity.theItem = stack.copyWithCount(1)
|
||||
if (!player.isCreative) stack.shrink(1)
|
||||
attemptCraft(level, pos)
|
||||
}
|
||||
return ItemInteractionResult.SUCCESS
|
||||
} else {
|
||||
if (level.isServerSide()) {
|
||||
val facing = state.getValue(HORIZONTAL_FACING)
|
||||
val itemEntity =
|
||||
ItemEntity(level, pos.x + 0.5, pos.y + 0.5, pos.z + 0.5, entity.theItem)
|
||||
itemEntity.deltaMovement = Vec3(facing.stepX.toDouble(), 0.0, facing.stepZ.toDouble()).scale(0.2)
|
||||
level.addFreshEntity(itemEntity)
|
||||
entity.theItem = ItemStack.EMPTY
|
||||
level.playSound(null, pos, SoundEvents.ITEM_FRAME_REMOVE_ITEM, SoundSource.BLOCKS)
|
||||
}
|
||||
return ItemInteractionResult.SUCCESS
|
||||
}
|
||||
}
|
||||
|
||||
override fun onRemove(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
pos: BlockPos,
|
||||
newState: BlockState,
|
||||
movedByPiston: Boolean
|
||||
) {
|
||||
WeatheringCopperAppliance.handleOnRemove(state, level, pos, newState, movedByPiston)
|
||||
}
|
||||
}
|
||||
+82
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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.block.appliances.washer
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonBlockEntities
|
||||
import com.cobblemon.mod.common.CobblemonRecipeTypes
|
||||
import com.cobblemon.mod.common.CobblemonSounds
|
||||
import com.cobblemon.mod.common.item.crafting.washer.WasherInput
|
||||
import net.minecraft.core.BlockPos
|
||||
import net.minecraft.core.HolderLookup
|
||||
import net.minecraft.nbt.CompoundTag
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.world.Container
|
||||
import net.minecraft.world.item.ItemStack
|
||||
import net.minecraft.world.level.block.entity.BlockEntity
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
import net.minecraft.world.ticks.ContainerSingleItem
|
||||
|
||||
class CopperWasherBlockEntity(val pos: BlockPos, val state: BlockState): BlockEntity(
|
||||
CobblemonBlockEntities.COPPER_WASHER,
|
||||
pos, state
|
||||
), ContainerSingleItem.BlockContainerSingleItem {
|
||||
|
||||
private var item: ItemStack = ItemStack.EMPTY
|
||||
|
||||
override fun getContainerBlockEntity() = this
|
||||
override fun getTheItem() = item
|
||||
override fun setTheItem(item: ItemStack) {
|
||||
this.item = item
|
||||
level?.updateNeighborsAt(pos, state.block)
|
||||
setChanged()
|
||||
level?.let { level ->
|
||||
val block = level.getBlockState(pos).block as? CopperWasherBlock
|
||||
block?.attemptCraft(level, pos)
|
||||
}
|
||||
}
|
||||
|
||||
fun craft() {
|
||||
val level = level ?: return
|
||||
if (level.isClientSide || theItem.isEmpty) return
|
||||
|
||||
val input = WasherInput(theItem.copyWithCount(1))
|
||||
val recipe = level.recipeManager
|
||||
.getRecipeFor(CobblemonRecipeTypes.WASHER, input, level)
|
||||
.orElse(null) ?: return
|
||||
|
||||
item = recipe.value().assemble(input, level.registryAccess())
|
||||
level.updateNeighborsAt(pos, state.block)
|
||||
setChanged()
|
||||
level.playSound(null, pos, CobblemonSounds.WASHER_WASH, SoundSource.BLOCKS)
|
||||
level.sendBlockUpdated(worldPosition, blockState, blockState, 3)
|
||||
}
|
||||
|
||||
override fun saveAdditional(tag: CompoundTag, registries: HolderLookup.Provider) {
|
||||
super.saveAdditional(tag, registries)
|
||||
if (!theItem.isEmpty) {
|
||||
tag.put("Item", theItem.save(registries))
|
||||
}
|
||||
}
|
||||
|
||||
override fun loadAdditional(tag: CompoundTag, registries: HolderLookup.Provider) {
|
||||
super.loadAdditional(tag, registries)
|
||||
theItem = if (tag.contains("Item")) {
|
||||
ItemStack.parse(registries, tag.get("Item")).orElse(ItemStack.EMPTY)
|
||||
} else {
|
||||
ItemStack.EMPTY
|
||||
}
|
||||
}
|
||||
|
||||
override fun canPlaceItem(slot: Int, stack: ItemStack) = theItem.isEmpty
|
||||
|
||||
override fun canTakeItem(target: Container, slot: Int, stack: ItemStack): Boolean {
|
||||
setChanged()
|
||||
return !stack.isEmpty
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* 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.block.appliances.washer
|
||||
|
||||
import com.cobblemon.mod.common.block.appliances.WeatheringCopperAppliance
|
||||
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.block.WeatheringCopper
|
||||
import net.minecraft.world.level.block.state.BlockState
|
||||
|
||||
class WeatheringCopperWasherBlock(override val weatherState: WeatheringCopper.WeatherState, properties: Properties) :
|
||||
CopperWasherBlock(properties), WeatheringCopperAppliance {
|
||||
|
||||
override fun randomTick(state: BlockState, level: ServerLevel, pos: BlockPos, random: RandomSource) {
|
||||
this.changeOverTime(state, level, pos, random)
|
||||
}
|
||||
|
||||
override fun isRandomlyTicking(state: BlockState): Boolean {
|
||||
return WeatheringCopper.getNext(state.block).isPresent
|
||||
}
|
||||
|
||||
override fun getAge(): WeatheringCopper.WeatherState {
|
||||
return this.weatherState
|
||||
}
|
||||
}
|
||||
@@ -11,9 +11,11 @@ package com.cobblemon.mod.common.block.chest
|
||||
import com.cobblemon.mod.common.CobblemonSounds
|
||||
import com.cobblemon.mod.common.api.pokemon.PokemonProperties
|
||||
import com.cobblemon.mod.common.api.scheduling.afterOnServer
|
||||
import com.cobblemon.mod.common.block.PokemonDisguiseBlock
|
||||
import com.cobblemon.mod.common.block.entity.GildedChestBlockEntity
|
||||
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import com.cobblemon.mod.common.util.math.FloatRange
|
||||
import com.cobblemon.mod.common.util.party
|
||||
import com.cobblemon.mod.common.util.toVec3d
|
||||
import com.mojang.serialization.MapCodec
|
||||
@@ -25,6 +27,7 @@ import net.minecraft.network.chat.MutableComponent
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
import net.minecraft.server.level.ServerLevel
|
||||
import net.minecraft.server.level.ServerPlayer
|
||||
import net.minecraft.sounds.SoundEvent
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.util.RandomSource
|
||||
import net.minecraft.util.StringRepresentable
|
||||
@@ -54,7 +57,7 @@ import net.minecraft.world.phys.shapes.VoxelShape
|
||||
|
||||
@Suppress("OVERRIDE_DEPRECATION")
|
||||
class GildedChestBlock(settings: Properties, val type: Type = Type.RED) : BaseEntityBlock(settings),
|
||||
SimpleWaterloggedBlock {
|
||||
SimpleWaterloggedBlock, PokemonDisguiseBlock {
|
||||
|
||||
init {
|
||||
registerDefaultState(stateDefinition.any()
|
||||
@@ -70,9 +73,6 @@ class GildedChestBlock(settings: Properties, val type: Type = Type.RED) : BaseEn
|
||||
).apply(it, ::GildedChestBlock)
|
||||
}
|
||||
|
||||
val POKEMON_ARGS = "gimmighoul"
|
||||
val LEVEL_RANGE = 5..30
|
||||
|
||||
val SOUTH_OUTLINE = Shapes.or(
|
||||
Shapes.box(0.0, 0.0, 0.25, 1.0, 1.0, 0.9375)
|
||||
)
|
||||
@@ -127,13 +127,6 @@ class GildedChestBlock(settings: Properties, val type: Type = Type.RED) : BaseEn
|
||||
builder.add(WATERLOGGED)
|
||||
}
|
||||
|
||||
private val facingToYaw: HashMap<Direction, Float> = hashMapOf(
|
||||
Direction.NORTH to -179.0F,
|
||||
Direction.WEST to 90.0F,
|
||||
Direction.SOUTH to 0.0F,
|
||||
Direction.EAST to -90.0F
|
||||
)
|
||||
|
||||
override fun getName(): MutableComponent {
|
||||
return if (isFake()) Component.translatable("block.cobblemon.gilded_chest") else super.getName()
|
||||
}
|
||||
@@ -149,35 +142,6 @@ class GildedChestBlock(settings: Properties, val type: Type = Type.RED) : BaseEn
|
||||
return super.playerWillDestroy(world, pos, state, player)
|
||||
}
|
||||
|
||||
private fun spawnPokemon(world: Level, pos: BlockPos, state: BlockState, player: ServerPlayer): InteractionResult {
|
||||
val properties = "$POKEMON_ARGS lvl=${LEVEL_RANGE.random()}"
|
||||
val pokemon = PokemonProperties.parse(properties)
|
||||
val entity = pokemon.createEntity(world)
|
||||
|
||||
// The yaw based on the block's facing direction
|
||||
val yaw = facingToYaw[state.getValue(HorizontalDirectionalBlock.FACING)] ?: 0.0F
|
||||
|
||||
entity.entityData.set(PokemonEntity.SPAWN_DIRECTION, yaw)
|
||||
val offsetDir = state.getValue(HorizontalDirectionalBlock.FACING)
|
||||
val vec = pos.toVec3d().add(offsetDir.stepX * 0.1 + 0.5, 0.0, offsetDir.stepZ * 0.1 + 0.5)
|
||||
entity.moveTo(vec.x, vec.y, vec.z, yaw, entity.xRot)
|
||||
world.addFreshEntity(entity)
|
||||
|
||||
world.removeBlock(pos, false)
|
||||
afterOnServer(seconds = 0.1F) {
|
||||
if (player !in player.level().players()) {
|
||||
return@afterOnServer
|
||||
}
|
||||
val party = player.party()
|
||||
if (!player.isCreative) {
|
||||
entity.forceBattle(player)
|
||||
} else {
|
||||
world.playSound(null, pos, CobblemonSounds.GIMMIGHOUL_REVEAL, SoundSource.NEUTRAL)
|
||||
}
|
||||
}
|
||||
return InteractionResult.SUCCESS
|
||||
}
|
||||
|
||||
override fun useWithoutItem(
|
||||
state: BlockState,
|
||||
world: Level,
|
||||
@@ -290,4 +254,10 @@ class GildedChestBlock(settings: Properties, val type: Type = Type.RED) : BaseEn
|
||||
blockEntity.tick()
|
||||
}
|
||||
|
||||
override val levelRange = 5..30
|
||||
override val pokemonArgs = "gimmighoul"
|
||||
override val spawnSound = CobblemonSounds.GIMMIGHOUL_REVEAL
|
||||
override val scaleRange = FloatRange(1f, 1f)
|
||||
override fun getPokemonFacing(state: BlockState): Direction = state.getValue(HORIZONTAL_FACING)
|
||||
override val shinyRate = null
|
||||
}
|
||||
+28
@@ -11,8 +11,11 @@ package com.cobblemon.mod.common.block.dispenser
|
||||
import com.cobblemon.mod.common.block.SaccharineLeafBlock
|
||||
import com.cobblemon.mod.common.block.SaccharineLogBlock
|
||||
import com.cobblemon.mod.common.block.SaccharineLogSlatheredBlock
|
||||
import com.cobblemon.mod.common.block.appliances.fridge.CopperFridgeBlock
|
||||
import com.cobblemon.mod.common.mixin.accessor.DispenserBlockAccessor
|
||||
import net.minecraft.core.dispenser.DispenseItemBehavior
|
||||
import net.minecraft.sounds.SoundEvents
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.world.item.Item
|
||||
import net.minecraft.world.item.Items
|
||||
import net.minecraft.world.item.alchemy.PotionContents
|
||||
@@ -86,5 +89,30 @@ object DispenserBehaviorRegistry {
|
||||
).item
|
||||
)
|
||||
)
|
||||
register(
|
||||
{ dispenseWaterBucketIntoFridge() },
|
||||
items = listOf(Items.WATER_BUCKET)
|
||||
)
|
||||
}
|
||||
|
||||
private fun dispenseWaterBucketIntoFridge(): DispenseItemBehavior =
|
||||
DispenseItemBehavior { source, stack ->
|
||||
val level = source.level
|
||||
val pos = source.pos.relative(source.state.getValue(DispenserBlock.FACING))
|
||||
val fridge = level.getBlockState(pos).block as? CopperFridgeBlock
|
||||
|
||||
if (fridge == null) {
|
||||
stack
|
||||
} else {
|
||||
val fridgeEntity = fridge.getBlockEntity(level, pos)
|
||||
if (!fridgeEntity.theItem.isEmpty) {
|
||||
stack
|
||||
} else {
|
||||
fridgeEntity.theItem = Items.WATER_BUCKET.defaultInstance
|
||||
fridgeEntity.timer = 100
|
||||
level.playSound(null, pos, SoundEvents.BUCKET_EMPTY, SoundSource.BLOCKS, 1.0f, 1.0f)
|
||||
Items.BUCKET.defaultInstance
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
-4
@@ -41,6 +41,7 @@ import net.minecraft.world.Containers
|
||||
import net.minecraft.world.InteractionResult
|
||||
import net.minecraft.world.ItemInteractionResult
|
||||
import net.minecraft.world.InteractionHand
|
||||
import net.minecraft.world.entity.LightningBolt
|
||||
import net.minecraft.world.entity.LivingEntity
|
||||
import net.minecraft.world.entity.Pose
|
||||
import net.minecraft.world.entity.item.ItemEntity
|
||||
@@ -617,11 +618,14 @@ open class FossilMultiblockEntity(
|
||||
}
|
||||
|
||||
companion object {
|
||||
val TICKER = BlockEntityTicker<FossilMultiblockEntity> {level, _, _, blockEntity ->
|
||||
if (blockEntity.multiblockStructure != null) return@BlockEntityTicker
|
||||
if(blockEntity.porygonProcess == PorygonProcessType.INACTIVE) return@BlockEntityTicker
|
||||
val TICKER = BlockEntityTicker<FossilMultiblockEntity> { level, _, _, blockEntity ->
|
||||
val serverLevel = level as? ServerLevel ?: return@BlockEntityTicker
|
||||
|
||||
blockEntity.tickPorygon(level)
|
||||
if (blockEntity.checkLightning(serverLevel)) return@BlockEntityTicker
|
||||
if (blockEntity.multiblockStructure != null) return@BlockEntityTicker
|
||||
if (blockEntity.porygonProcess == PorygonProcessType.INACTIVE) return@BlockEntityTicker
|
||||
|
||||
blockEntity.tickPorygon(serverLevel)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -697,4 +701,30 @@ open class FossilMultiblockEntity(
|
||||
//Fallback: If no safe location is found, just spawn it directly in front of the monitor
|
||||
return origin.relative(facing)
|
||||
}
|
||||
|
||||
private var lastLightningBolt: UUID? = null
|
||||
|
||||
fun checkLightning(level: ServerLevel): Boolean {
|
||||
if (this.multiblockStructure != null) return false
|
||||
val bolt = level.getEntitiesOfClass(
|
||||
LightningBolt::class.java,
|
||||
AABB.ofSize(blockPos.center, 1.0, 4.0, 1.0)
|
||||
).firstOrNull {
|
||||
(it.blockPosition() == blockPos || it.blockPosition().below() == blockPos) &&
|
||||
it.uuid != lastLightningBolt
|
||||
} ?: return false
|
||||
|
||||
lastLightningBolt = bolt.uuid
|
||||
|
||||
level.setBlockAndUpdate(
|
||||
blockPos,
|
||||
CobblemonBlocks.ROTOM_MONITOR.defaultBlockState()
|
||||
.setValue(
|
||||
HorizontalDirectionalBlock.FACING,
|
||||
level.getBlockState(blockPos).getValue(HorizontalDirectionalBlock.FACING)
|
||||
)
|
||||
)
|
||||
return true
|
||||
}
|
||||
|
||||
}
|
||||
@@ -21,14 +21,15 @@ import com.cobblemon.mod.common.api.storage.player.client.ClientGeneralPlayerDat
|
||||
import com.cobblemon.mod.common.api.storage.player.client.ClientPokedexManager
|
||||
import com.cobblemon.mod.common.api.storage.player.client.ClientTMMoveManager
|
||||
import com.cobblemon.mod.common.api.tags.CobblemonItemTags
|
||||
import com.cobblemon.mod.common.client.render.block.CopperOvenBlockEntityRenderer
|
||||
import com.cobblemon.mod.common.block.entity.TintBlockEntity
|
||||
import com.cobblemon.mod.common.block.sign.CobblemonSignBlock
|
||||
import com.cobblemon.mod.common.client.battle.ClientBattle
|
||||
import com.cobblemon.mod.common.client.gui.PartyOverlay
|
||||
import com.cobblemon.mod.common.client.gui.PartyOverlayDataControl
|
||||
import com.cobblemon.mod.common.client.gui.RideControlsOverlay
|
||||
import com.cobblemon.mod.common.client.gui.battle.BattleOverlay
|
||||
import com.cobblemon.mod.common.client.gui.cookingpot.CookingPotScreen
|
||||
import com.cobblemon.mod.common.client.gui.cookingpot.CopperOvenScreen
|
||||
import com.cobblemon.mod.common.client.gui.party.PartyTutorialToasts
|
||||
import com.cobblemon.mod.common.client.gui.tmmachine.TMMachineScreen
|
||||
import com.cobblemon.mod.common.client.particle.BedrockParticleOptionsRepository
|
||||
@@ -111,7 +112,6 @@ object CobblemonClient {
|
||||
val battleOverlay: BattleOverlay by lazy { BattleOverlay() }
|
||||
val pokedexUsageContext: PokedexUsageContext by lazy { PokedexUsageContext() }
|
||||
val rideControlsOverlay: RideControlsOverlay by lazy { RideControlsOverlay() }
|
||||
var pcHealthToggle: Boolean = false
|
||||
|
||||
fun onLogin() {
|
||||
clientPlayerData = ClientGeneralPlayerData()
|
||||
@@ -392,7 +392,7 @@ object CobblemonClient {
|
||||
CobblemonBlocks.X_SP_ATK,
|
||||
CobblemonBlocks.X_SP_DEF,
|
||||
CobblemonBlocks.X_SPEED,
|
||||
CobblemonBlocks.TM_MACHINE,
|
||||
CobblemonBlocks.TM_MACHINE,
|
||||
|
||||
CobblemonBlocks.GALARICA_CUFF,
|
||||
CobblemonBlocks.GALARICA_WREATH,
|
||||
@@ -420,7 +420,7 @@ object CobblemonClient {
|
||||
CobblemonBlocks.MOOMOO_MILK,
|
||||
CobblemonBlocks.MEDICINAL_BREW,
|
||||
CobblemonBlocks.TERRAIN_EXTENDER,
|
||||
|
||||
|
||||
CobblemonBlocks.RED_MINT_LEAF_LITTER,
|
||||
CobblemonBlocks.POTTED_RED_MINT,
|
||||
CobblemonBlocks.BLUE_MINT_LEAF_LITTER,
|
||||
@@ -517,7 +517,17 @@ object CobblemonClient {
|
||||
CobblemonBlocks.POTTED_WATMEL_BERRY,
|
||||
CobblemonBlocks.POTTED_WEPEAR_BERRY,
|
||||
CobblemonBlocks.POTTED_WIKI_BERRY,
|
||||
CobblemonBlocks.POTTED_YACHE_BERRY
|
||||
CobblemonBlocks.POTTED_YACHE_BERRY,
|
||||
CobblemonBlocks.SCOPE_LENS,
|
||||
|
||||
CobblemonBlocks.COPPER_FAN,
|
||||
CobblemonBlocks.EXPOSED_COPPER_FAN,
|
||||
CobblemonBlocks.WEATHERED_COPPER_FAN,
|
||||
CobblemonBlocks.OXIDIZED_COPPER_FAN,
|
||||
CobblemonBlocks.WAXED_COPPER_FAN,
|
||||
CobblemonBlocks.WAXED_EXPOSED_COPPER_FAN,
|
||||
CobblemonBlocks.WAXED_WEATHERED_COPPER_FAN,
|
||||
CobblemonBlocks.WAXED_OXIDIZED_COPPER_FAN
|
||||
)
|
||||
|
||||
this.createBoatModelLayers()
|
||||
@@ -548,6 +558,7 @@ object CobblemonClient {
|
||||
private fun registerMenuScreens() {
|
||||
MenuScreens.register(CobblemonMenuType.COOKING_POT, ::CookingPotScreen)
|
||||
MenuScreens.register(CobblemonMenuType.TM_MACHINE, ::TMMachineScreen)
|
||||
MenuScreens.register(CobblemonMenuType.COPPER_OVEN, ::CopperOvenScreen)
|
||||
}
|
||||
|
||||
private fun registerBlockEntityRenderers() {
|
||||
@@ -573,6 +584,7 @@ object CobblemonClient {
|
||||
this.implementation.registerBlockEntityRenderer(CobblemonBlockEntities.CAMPFIRE, ::CampfireBlockEntityRenderer)
|
||||
this.implementation.registerBlockEntityRenderer(CobblemonBlockEntities.POKE_SNACK, ::PokeSnackBlockEntityRenderer)
|
||||
this.implementation.registerBlockEntityRenderer(CobblemonBlockEntities.DISC_SHELF, ::DiscShelfBlockEntityRenderer)
|
||||
this.implementation.registerBlockEntityRenderer(CobblemonBlockEntities.COPPER_OVEN, ::CopperOvenBlockEntityRenderer)
|
||||
}
|
||||
|
||||
private fun registerEntityRenderers() {
|
||||
|
||||
+172
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
* 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.gui.cookingpot
|
||||
|
||||
import com.cobblemon.mod.common.Cobblemon
|
||||
import com.cobblemon.mod.common.api.gui.blitk
|
||||
import com.cobblemon.mod.common.block.appliances.oven.CopperOvenMenu
|
||||
import com.cobblemon.mod.common.block.appliances.oven.OvenSeasoningSlot
|
||||
import com.cobblemon.mod.common.block.appliances.oven.OvenInputSlot
|
||||
import com.cobblemon.mod.common.integration.jei.CobblemonJeiPlugin
|
||||
import com.cobblemon.mod.common.integration.jei.cooking.CampfirePotRecipeCategory
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import com.cobblemon.mod.common.util.lang
|
||||
import net.fabricmc.api.EnvType
|
||||
import net.fabricmc.api.Environment
|
||||
import net.minecraft.client.gui.GuiGraphics
|
||||
import net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
|
||||
import net.minecraft.network.chat.Component
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
import net.minecraft.world.entity.player.Inventory
|
||||
import net.minecraft.world.inventory.Slot
|
||||
import kotlin.math.ceil
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
class CopperOvenScreen(
|
||||
menu: CopperOvenMenu,
|
||||
playerInventory: Inventory,
|
||||
title: Component
|
||||
) : AbstractContainerScreen<CopperOvenMenu>(
|
||||
menu, playerInventory, lang("container.copper_oven")
|
||||
) {
|
||||
|
||||
companion object {
|
||||
private const val BACKGROUND_HEIGHT = 166
|
||||
private const val BACKGROUND_WIDTH = 176
|
||||
|
||||
const val COOK_PROGRESS_HEIGHT = 11
|
||||
const val COOK_PROGRESS_WIDTH = 23
|
||||
|
||||
private val BACKGROUND = cobblemonResource("textures/gui/campfirepot/copper_oven.png")
|
||||
val COOK_PROGRESS_SPRITE: ResourceLocation = cobblemonResource("textures/gui/campfirepot/powered_redstone.png")
|
||||
private val DISABLED_SLOT_LOCATION_SPRITE: ResourceLocation = ResourceLocation.withDefaultNamespace("container/crafter/disabled_slot")
|
||||
}
|
||||
|
||||
init {
|
||||
this.imageWidth = BACKGROUND_WIDTH
|
||||
this.imageHeight = BACKGROUND_HEIGHT
|
||||
}
|
||||
|
||||
override fun init() {
|
||||
super.init()
|
||||
|
||||
this.titleLabelX = this.imageWidth - (BACKGROUND_WIDTH / 2) - (this.font.width(this.title) / 2)
|
||||
this.titleLabelY = 6
|
||||
}
|
||||
|
||||
override fun renderLabels(guiGraphics: GuiGraphics, mouseX: Int, mouseY: Int) {
|
||||
guiGraphics.drawString(this.font, this.title, this.titleLabelX, this.titleLabelY, 4210752, false)
|
||||
}
|
||||
|
||||
override fun renderBg(
|
||||
context: GuiGraphics,
|
||||
partialTick: Float,
|
||||
mouseX: Int,
|
||||
mouseY: Int
|
||||
) {
|
||||
blitk(
|
||||
matrixStack = context.pose(),
|
||||
texture = BACKGROUND,
|
||||
x = leftPos, y = (height - BACKGROUND_HEIGHT) / 2,
|
||||
width = BACKGROUND_WIDTH, height = BACKGROUND_HEIGHT
|
||||
)
|
||||
|
||||
val cookProgress = ceil(menu.getBurnProgress() * COOK_PROGRESS_WIDTH).toInt()
|
||||
blitk(
|
||||
matrixStack = context.pose(),
|
||||
texture = COOK_PROGRESS_SPRITE,
|
||||
x = leftPos + 95,
|
||||
y = topPos + 48,
|
||||
width = cookProgress,
|
||||
height = COOK_PROGRESS_HEIGHT,
|
||||
textureWidth = COOK_PROGRESS_WIDTH
|
||||
)
|
||||
}
|
||||
|
||||
override fun render(
|
||||
context: GuiGraphics,
|
||||
mouseX: Int,
|
||||
mouseY: Int,
|
||||
partialTicks: Float
|
||||
) {
|
||||
super.render(context, mouseX, mouseY, partialTicks)
|
||||
|
||||
this.renderTooltip(context, mouseX, mouseY)
|
||||
if (hoveredSlot is OvenInputSlot &&
|
||||
!menu.isSlotDisabled((hoveredSlot as OvenInputSlot).containerSlotIndex) &&
|
||||
hoveredSlot!!.item.isEmpty
|
||||
) {
|
||||
context.renderTooltip(font, Component.translatable("gui.togglable_slot"), mouseX, mouseY)
|
||||
}
|
||||
|
||||
val recipe = menu.currentActiveRecipe
|
||||
recipe?.value()?.result?.let {
|
||||
context.renderFakeItem(it, leftPos + 128, topPos + 55)
|
||||
context.renderItemDecorations(font, it, leftPos + 128, topPos + 55)
|
||||
if (isHovering(128, 55, 16, 16, mouseX.toDouble(), mouseY.toDouble()) && menu.carried.isEmpty) {
|
||||
context.renderTooltip(font, getTooltipFromContainerItem(it), it.tooltipImage, mouseX, mouseY)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun renderSlot(guiGraphics: GuiGraphics, slot: Slot) {
|
||||
if (slot is OvenSeasoningSlot && ((!menu.carried.isEmpty && !slot.mayPlace(menu.carried)) || (slot.hasItem() && !slot.mayPlace(slot.item))) ) {
|
||||
val x = slot.x
|
||||
val y = slot.y
|
||||
guiGraphics.fill(x,y,x+16,y+16,822018048)
|
||||
}
|
||||
|
||||
if (slot is OvenInputSlot) {
|
||||
if ((menu as CopperOvenMenu).isSlotDisabled(slot.containerSlotIndex)) {
|
||||
guiGraphics.blitSprite(DISABLED_SLOT_LOCATION_SPRITE, slot.x - 1, slot.y - 1, 18, 18)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
super.renderSlot(guiGraphics, slot)
|
||||
}
|
||||
|
||||
override fun mouseClicked(mouseX: Double, mouseY: Double, button: Int): Boolean {
|
||||
val progressX = leftPos + 96
|
||||
val progressY = topPos + 39
|
||||
if (Cobblemon.implementation.isModInstalled("jei") &&
|
||||
mouseX >= progressX && mouseX < progressX + COOK_PROGRESS_WIDTH &&
|
||||
mouseY >= progressY && mouseY < progressY + COOK_PROGRESS_HEIGHT
|
||||
) {
|
||||
CobblemonJeiPlugin.jeiRuntime?.recipesGui?.showTypes(
|
||||
listOf(CampfirePotRecipeCategory.RECIPE_TYPE)
|
||||
)
|
||||
return true
|
||||
}
|
||||
|
||||
return super.mouseClicked(mouseX, mouseY, button)
|
||||
}
|
||||
|
||||
override fun renderTooltip(
|
||||
guiGraphics: GuiGraphics,
|
||||
mouseX: Int,
|
||||
mouseY: Int
|
||||
) {
|
||||
val progressX = leftPos + 96
|
||||
val progressY = topPos + 39
|
||||
if (Cobblemon.implementation.isModInstalled("jei") &&
|
||||
mouseX >= progressX && mouseX < progressX + COOK_PROGRESS_WIDTH &&
|
||||
mouseY >= progressY && mouseY < progressY + COOK_PROGRESS_HEIGHT
|
||||
) {
|
||||
guiGraphics.renderTooltip(
|
||||
this.font,
|
||||
Component.translatable("jei.tooltip.show.recipes"),
|
||||
mouseX,
|
||||
mouseY
|
||||
)
|
||||
return
|
||||
}
|
||||
super.renderTooltip(guiGraphics, mouseX, mouseY)
|
||||
}
|
||||
}
|
||||
@@ -29,8 +29,7 @@ class BoxStorageSlot(
|
||||
|
||||
val grabbedSlot = parent.grabbedSlot
|
||||
return if (grabbedSlot == null) {
|
||||
val pokemon = getPokemon()
|
||||
pokemon == null || !parent.isInMultiSelection(pokemon, position)
|
||||
true
|
||||
} else {
|
||||
grabbedSlot.getPokemon() != getPokemon()
|
||||
}
|
||||
|
||||
@@ -50,7 +50,6 @@ import net.minecraft.network.chat.Component
|
||||
import net.minecraft.sounds.SoundEvent
|
||||
import kotlin.isInitialized
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
import net.minecraft.util.FastColor
|
||||
|
||||
class PCGUI(
|
||||
val pc: ClientPC,
|
||||
@@ -99,8 +98,6 @@ class PCGUI(
|
||||
private val buttonWallpaperResource = cobblemonResource("textures/gui/pc/pc_button_set_wallpaper.png")
|
||||
private val buttonInfoArrow = cobblemonResource("textures/gui/pc/info_arrow.png")
|
||||
|
||||
private val buttonHealthToggleResource = cobblemonResource("textures/gui/pc/pc_button_toggle_health.png")
|
||||
|
||||
private val topSpacerResource = cobblemonResource("textures/gui/pc/pc_spacer_top.png")
|
||||
private val bottomSpacerResource = cobblemonResource("textures/gui/pc/pc_spacer_bottom.png")
|
||||
private val rightSpacerResource = cobblemonResource("textures/gui/pc/pc_spacer_right.png")
|
||||
@@ -132,55 +129,6 @@ class PCGUI(
|
||||
var selectPointerOffsetIncrement = false
|
||||
var displayOptions = false
|
||||
|
||||
private var dragStartX: Int? = null
|
||||
private var dragStartY: Int? = null
|
||||
private var dragEndX: Int? = null
|
||||
private var dragEndY: Int? = null
|
||||
private var selectionDragActive = false
|
||||
|
||||
data class SelectionArea(val left: Int, val top: Int, val right: Int, val bottom: Int)
|
||||
|
||||
private data class BoxGridBounds(val left: Int, val top: Int, val right: Int, val bottom: Int) {
|
||||
fun contains(x: Int, y: Int) = x in left..< right && y >= top && y < bottom
|
||||
}
|
||||
|
||||
private fun getBoxGridBounds(): BoxGridBounds {
|
||||
val left = storageWidget.x
|
||||
val top = storageWidget.y
|
||||
return BoxGridBounds(
|
||||
left,
|
||||
top,
|
||||
left + StorageWidget.SCREEN_WIDTH,
|
||||
top + StorageWidget.SCREEN_HEIGHT
|
||||
)
|
||||
}
|
||||
|
||||
fun getSelectionArea(): SelectionArea? {
|
||||
if (!selectionDragActive) return null
|
||||
val startX = dragStartX ?: return null
|
||||
val startY = dragStartY ?: return null
|
||||
val endX = dragEndX ?: return null
|
||||
val endY = dragEndY ?: return null
|
||||
val bounds = getBoxGridBounds()
|
||||
if (!bounds.contains(startX, startY)) return null
|
||||
|
||||
val columns = 6
|
||||
val rows = 5
|
||||
val slotPitch = StorageSlot.SIZE + StorageWidget.BOX_SLOT_PADDING
|
||||
val gridLeft = bounds.left + StorageWidget.BOX_SLOT_START_OFFSET_X
|
||||
val gridTop = bounds.top + StorageWidget.BOX_SLOT_START_OFFSET_Y + if (displayOptions) 5 else 0
|
||||
val startColumn = ((startX - gridLeft) / slotPitch).coerceIn(0, columns - 1)
|
||||
val endColumn = (((endX.coerceIn(bounds.left, bounds.right - 1)) - gridLeft) / slotPitch).coerceIn(0, columns - 1)
|
||||
val startRow = ((startY - gridTop) / slotPitch).coerceIn(0, rows - 1)
|
||||
val endRow = (((endY.coerceIn(bounds.top, bounds.bottom - 1)) - gridTop) / slotPitch).coerceIn(0, rows - 1)
|
||||
return SelectionArea(
|
||||
gridLeft + minOf(startColumn, endColumn) * slotPitch, // left
|
||||
gridTop + minOf(startRow, endRow) * slotPitch, // top
|
||||
gridLeft + (maxOf(startColumn, endColumn) * slotPitch) + StorageSlot.SIZE, // right
|
||||
gridTop + (maxOf(startRow, endRow) * slotPitch) + StorageSlot.SIZE // bottom
|
||||
)
|
||||
}
|
||||
|
||||
override fun renderBlurredBackground(delta: Float) {}
|
||||
|
||||
override fun renderMenuBackground(context: GuiGraphics) {}
|
||||
@@ -271,6 +219,7 @@ class PCGUI(
|
||||
storageWidget.setupStorageSlots()
|
||||
for (button in optionButtons) {
|
||||
button.visible = displayOptions
|
||||
button.highlighted = false
|
||||
}
|
||||
}.also { it.highlighted = displayOptions }
|
||||
)
|
||||
@@ -301,28 +250,12 @@ class PCGUI(
|
||||
configuration.showParty = isVisible
|
||||
wallpaperWidget.visible = !isVisible
|
||||
(it as IconButton).highlighted = !isVisible
|
||||
if (unseenWallpapers.isNotEmpty()) MarkPCBoxWallpapersSeenPacket(unseenWallpapers).sendToServer()
|
||||
if (!unseenWallpapers.isEmpty()) MarkPCBoxWallpapersSeenPacket(unseenWallpapers).sendToServer()
|
||||
}.also {
|
||||
it.visible = displayOptions
|
||||
optionButtons.add(it)
|
||||
})
|
||||
|
||||
val healthButton = this.addRenderableWidget(IconButton(
|
||||
pX = x + 230,
|
||||
pY = y + 31,
|
||||
buttonWidth = 20,
|
||||
buttonHeight = 20,
|
||||
resource = buttonHealthToggleResource,
|
||||
label = "toggle_health_bars",
|
||||
) {
|
||||
CobblemonClient.pcHealthToggle = !CobblemonClient.pcHealthToggle
|
||||
(it as IconButton).highlighted = CobblemonClient.pcHealthToggle
|
||||
}.also {
|
||||
it.visible = displayOptions
|
||||
optionButtons.add(it)
|
||||
})
|
||||
healthButton.highlighted = CobblemonClient.pcHealthToggle
|
||||
|
||||
PokemonSortMode.entries.forEachIndexed { index, sortType ->
|
||||
val typeName = sortType.name.lowercase()
|
||||
this.addRenderableWidget(IconButton(
|
||||
@@ -382,20 +315,6 @@ class PCGUI(
|
||||
super.init()
|
||||
}
|
||||
|
||||
private fun renderSelectionBox(context: GuiGraphics, area: SelectionArea) {
|
||||
context.pose().pushPose()
|
||||
context.pose().translate(0.0, 0.0, 1500.0)
|
||||
val borderColor = FastColor.ARGB32.color(255, 205, 212, 255)
|
||||
val bgColor = FastColor.ARGB32.color(75, 133, 183, 230)
|
||||
val thickness = 1
|
||||
context.fill(area.left, area.top, area.right, area.bottom, bgColor)
|
||||
context.fill(area.left, area.top, area.right, area.top + thickness, borderColor)
|
||||
context.fill(area.left, area.bottom - thickness, area.right, area.bottom, borderColor)
|
||||
context.fill(area.left, area.top, area.left + thickness, area.bottom, borderColor)
|
||||
context.fill(area.right - thickness, area.top, area.right, area.bottom, borderColor)
|
||||
context.pose().popPose()
|
||||
}
|
||||
|
||||
override fun render(context: GuiGraphics, mouseX: Int, mouseY: Int, delta: Float) {
|
||||
val matrices = context.pose()
|
||||
renderBackground(context, mouseX, mouseY, delta)
|
||||
@@ -536,20 +455,6 @@ class PCGUI(
|
||||
shadow = true
|
||||
)
|
||||
|
||||
// var dexNo = pokemon.species.nationalPokedexNumber.toString()
|
||||
// while (dexNo.length < 4) {
|
||||
// dexNo = "0$dexNo"
|
||||
// }
|
||||
// drawScaledText(
|
||||
// context = context,
|
||||
// font = CobblemonResources.DEFAULT_LARGE,
|
||||
// text = Component.literal(dexNo).bold(),
|
||||
// x = x + 38,
|
||||
// y = y + 1.5,
|
||||
// shadow = true,
|
||||
// scale = 0.85f
|
||||
// )
|
||||
|
||||
drawScaledText(
|
||||
context = context,
|
||||
font = CobblemonResources.DEFAULT_LARGE,
|
||||
@@ -780,14 +685,12 @@ class PCGUI(
|
||||
scale = SCALE
|
||||
)
|
||||
|
||||
if (optionButtons.isNotEmpty() && displayOptions) {
|
||||
if (!optionButtons.isEmpty() && displayOptions) {
|
||||
for (button in optionButtons) button.showAlt = hasShiftDown()
|
||||
}
|
||||
|
||||
super.render(context, mouseX, mouseY, delta)
|
||||
|
||||
getSelectionArea()?.let { renderSelectionBox(context, it) }
|
||||
|
||||
// Item Tooltip
|
||||
if (pokemon != null) {
|
||||
val displayedItem = if (showCosmeticItem) pokemon.cosmeticItem else pokemon.heldItemNoCopy()
|
||||
@@ -809,20 +712,6 @@ class PCGUI(
|
||||
}
|
||||
|
||||
override fun mouseClicked(mouseX: Double, mouseY: Double, button: Int): Boolean {
|
||||
storageWidget.clearPendingStorageSlotClick()
|
||||
selectionDragActive = false
|
||||
val clickX = mouseX.toInt()
|
||||
val clickY = mouseY.toInt()
|
||||
if (storageWidget.multiSelection == null && button == 0 &&
|
||||
getBoxGridBounds().contains(clickX, clickY) &&
|
||||
storageWidget.pastureWidget == null) {
|
||||
dragStartX = clickX
|
||||
dragStartY = clickY
|
||||
} else {
|
||||
dragStartX = null
|
||||
dragStartY = null
|
||||
}
|
||||
|
||||
// Trigger child component function as they will need to check the entire screen click area
|
||||
if (::boxNameWidget.isInitialized) boxNameWidget.mouseClicked(mouseX, mouseY, button)
|
||||
return super.mouseClicked(mouseX, mouseY, button)
|
||||
@@ -851,43 +740,9 @@ class PCGUI(
|
||||
storageWidget.pastureWidget?.let { pasture ->
|
||||
if (pasture.pastureScrollList.isHovered) pasture.pastureScrollList.mouseDragged(mouseX, mouseY, button, deltaX, deltaY)
|
||||
}
|
||||
if (button == 0 && storageWidget.pastureWidget == null) {
|
||||
val startX = dragStartX
|
||||
val startY = dragStartY
|
||||
if (startX != null && startY != null) {
|
||||
val offsetX = mouseX - startX
|
||||
val offsetY = mouseY - startY
|
||||
if (offsetX * offsetX + offsetY * offsetY >= 25.0) {
|
||||
selectionDragActive = true
|
||||
storageWidget.clearPendingStorageSlotClick()
|
||||
dragEndX = mouseX.toInt()
|
||||
dragEndY = mouseY.toInt()
|
||||
}
|
||||
}
|
||||
}
|
||||
return super.mouseDragged(mouseX, mouseY, button, deltaX, deltaY)
|
||||
}
|
||||
|
||||
override fun mouseReleased(mouseX: Double, mouseY: Double, button: Int): Boolean {
|
||||
val handled = super.mouseReleased(mouseX, mouseY, button)
|
||||
if (button == 0) {
|
||||
if (selectionDragActive) {
|
||||
dragEndX = mouseX.toInt()
|
||||
dragEndY = mouseY.toInt()
|
||||
storageWidget.updateSelection()
|
||||
storageWidget.clearPendingStorageSlotClick()
|
||||
} else {
|
||||
storageWidget.completePendingStorageSlotClick(mouseX, mouseY)
|
||||
}
|
||||
}
|
||||
dragStartX = null
|
||||
dragStartY = null
|
||||
dragEndX = null
|
||||
dragEndY = null
|
||||
selectionDragActive = false
|
||||
return handled
|
||||
}
|
||||
|
||||
override fun keyPressed(keyCode: Int, scanCode: Int, modifiers: Int): Boolean {
|
||||
val boxNameFocused = this::boxNameWidget.isInitialized && boxNameWidget.isFocused
|
||||
val filterFocused = this::filterWidget.isInitialized && filterWidget.isFocused
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
package com.cobblemon.mod.common.client.gui.pc
|
||||
|
||||
import com.cobblemon.mod.common.pokemon.Pokemon
|
||||
|
||||
data class PCMultiSelection(
|
||||
private val grid: MutableList<MutableList<Pokemon?>> = mutableListOf(),
|
||||
val sourceBox: Int = 0,
|
||||
val sourceColumn: Int = 0,
|
||||
val sourceRow: Int = 0
|
||||
) {
|
||||
fun getHorizontalSize(): Int = grid.firstOrNull()?.size ?: 0
|
||||
fun getVerticalSize(): Int = grid.size
|
||||
|
||||
constructor(horizontalSize: Int, verticalSize: Int, sourceBox: Int, sourceColumn: Int, sourceRow: Int) : this(
|
||||
MutableList(verticalSize) { MutableList<Pokemon?>(horizontalSize) { null } },
|
||||
sourceBox,
|
||||
sourceColumn,
|
||||
sourceRow
|
||||
)
|
||||
|
||||
fun getPokemon(x: Int, y: Int): Pokemon? {
|
||||
return grid[y][x]
|
||||
}
|
||||
|
||||
fun setPokemon(x: Int, y: Int, pokemon: Pokemon?) {
|
||||
grid[y][x] = pokemon
|
||||
}
|
||||
|
||||
fun pokemonEntries(): List<Triple<Int, Int, Pokemon>> {
|
||||
return grid.flatMapIndexed { y, row ->
|
||||
row.mapIndexedNotNull { x, pokemon -> pokemon?.let { Triple(x, y, it) } }
|
||||
}
|
||||
}
|
||||
|
||||
fun getPokemonCount(): Int = pokemonEntries().size
|
||||
|
||||
}
|
||||
@@ -45,13 +45,11 @@ class ReleaseButton(
|
||||
vOffset = if (isHovered(mouseX.toDouble(), mouseY.toDouble())) HEIGHT else 0,
|
||||
textureHeight = HEIGHT * 2
|
||||
)
|
||||
val pokemonCount = parent.multiSelection?.getPokemonCount() ?: 0
|
||||
|
||||
drawScaledText(
|
||||
context = context,
|
||||
font = CobblemonResources.DEFAULT_LARGE,
|
||||
text = if (pokemonCount > 1)
|
||||
{ lang("ui.pc.release_all").bold() } else { lang("ui.pc.release").bold() },
|
||||
text = lang("ui.pc.release").bold(),
|
||||
x = x + (WIDTH / 2),
|
||||
y = y + 3.5,
|
||||
centered = true,
|
||||
|
||||
@@ -10,11 +10,10 @@ package com.cobblemon.mod.common.client.gui.pc
|
||||
|
||||
import com.cobblemon.mod.common.Cobblemon
|
||||
import com.cobblemon.mod.common.api.gui.blitk
|
||||
import com.cobblemon.mod.common.client.CobblemonClient
|
||||
import com.cobblemon.mod.common.client.gui.CobblemonRenderable
|
||||
import com.cobblemon.mod.common.client.gui.PokemonGUIAnimationStyle
|
||||
import com.cobblemon.mod.common.client.gui.drawProfilePokemon
|
||||
import com.cobblemon.mod.common.client.gui.pasture.PasturePCGUIConfiguration
|
||||
import com.cobblemon.mod.common.client.gui.PokemonGUIAnimationStyle
|
||||
import com.cobblemon.mod.common.client.render.drawScaledText
|
||||
import com.cobblemon.mod.common.client.render.models.blockbench.FloatingState
|
||||
import com.cobblemon.mod.common.client.render.renderScaledGuiItemIcon
|
||||
@@ -23,19 +22,13 @@ import com.cobblemon.mod.common.pokemon.Pokemon
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import com.cobblemon.mod.common.util.lang
|
||||
import com.cobblemon.mod.common.util.math.fromEulerXYZDegrees
|
||||
import juuxel.adorn.util.Colors
|
||||
import net.minecraft.client.Minecraft
|
||||
import net.minecraft.client.gui.GuiGraphics
|
||||
import net.minecraft.client.gui.components.Button
|
||||
import net.minecraft.client.renderer.RenderType
|
||||
import net.minecraft.client.sounds.SoundManager
|
||||
import net.minecraft.network.chat.Component
|
||||
import net.minecraft.util.Mth
|
||||
import org.joml.Quaternionf
|
||||
import org.joml.Vector3f
|
||||
import kotlin.math.abs
|
||||
import kotlin.math.max
|
||||
import kotlin.math.roundToInt
|
||||
|
||||
open class StorageSlot(
|
||||
x: Int, y: Int,
|
||||
@@ -61,17 +54,9 @@ open class StorageSlot(
|
||||
}
|
||||
|
||||
override fun renderWidget(context: GuiGraphics, mouseX: Int, mouseY: Int, delta: Float) {
|
||||
val selectionArea = parent.pcGui.getSelectionArea()
|
||||
if (selectionArea != null && parent.getSelectedPokemon(selectionArea).contains(this)) {
|
||||
val highlightColor = 0x40FFFFFF
|
||||
context.fill(x + 1, y, x + (SIZE - 1), y + SIZE, highlightColor)
|
||||
context.fill(x, y + 1, x + 1, y + (SIZE - 1), highlightColor)
|
||||
context.fill(x + SIZE - 1, y + 1, x + SIZE, y + (SIZE - 1), highlightColor)
|
||||
}
|
||||
if (shouldRender()) {
|
||||
renderSlot(context, x, y, delta)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
fun renderSlot(context: GuiGraphics, posX: Int, posY: Int, partialTicks: Float) {
|
||||
@@ -145,23 +130,6 @@ open class StorageSlot(
|
||||
matrixStack = matrices
|
||||
)
|
||||
}
|
||||
|
||||
// Pokemon health
|
||||
// Taken from vanilla durability rendering
|
||||
val currentHealth = pokemon.currentHealth
|
||||
val maxHealth = pokemon.maxHealth.toFloat()
|
||||
if (currentHealth < maxHealth && CobblemonClient.pcHealthToggle) {
|
||||
val damageValue = maxHealth - currentHealth
|
||||
val f = max(0.0f, (maxHealth - (maxHealth - currentHealth)) / maxHealth)
|
||||
val color = Mth.hsvToRgb(f / 3.0f, 1.0f, 1.0f)
|
||||
val totalWidth = 12
|
||||
val width = (totalWidth - damageValue * totalWidth / pokemon.maxHealth.toFloat()).roundToInt();
|
||||
val k = posX + 1
|
||||
val l = posY + 6
|
||||
val bgColor = if (this is PartyStorageSlot) Colors.BLACK else 0xFF3E3E3E.toInt()
|
||||
context.fill(RenderType.guiOverlay(), k, l, k + totalWidth, l + 1, bgColor)
|
||||
context.fill(RenderType.guiOverlay(), k, l, k + width, l + 1, color or bgColor)
|
||||
}
|
||||
matrices.popPose()
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ package com.cobblemon.mod.common.client.gui.pc
|
||||
import com.cobblemon.mod.common.CobblemonNetwork
|
||||
import com.cobblemon.mod.common.CobblemonSounds
|
||||
import com.cobblemon.mod.common.api.gui.blitk
|
||||
import com.cobblemon.mod.common.api.storage.StorePosition
|
||||
import com.cobblemon.mod.common.api.storage.party.PartyPosition
|
||||
import com.cobblemon.mod.common.api.storage.pc.PCPosition
|
||||
import com.cobblemon.mod.common.api.text.bold
|
||||
@@ -38,9 +39,8 @@ import net.minecraft.client.gui.components.Button
|
||||
import net.minecraft.client.gui.screens.Screen
|
||||
import net.minecraft.client.resources.sounds.SimpleSoundInstance
|
||||
import net.minecraft.network.chat.Component
|
||||
import net.minecraft.resources.ResourceLocation
|
||||
import net.minecraft.sounds.SoundEvent
|
||||
import java.util.UUID
|
||||
import com.cobblemon.mod.common.net.messages.server.storage.pc.MovePCPokemonBatchPacket.PCPokemonMove
|
||||
|
||||
class StorageWidget(
|
||||
pX: Int, pY: Int,
|
||||
@@ -77,14 +77,9 @@ class StorageWidget(
|
||||
|
||||
var displayConfirmRelease = false
|
||||
var screenLoaded = false
|
||||
var selectedPosition: PartyPosition? = null
|
||||
var selectedPosition: StorePosition? = null
|
||||
var grabbedSlot: GrabbedStorageSlot? = null
|
||||
|
||||
var multiSelection: PCMultiSelection? = null
|
||||
private val multiGrabbedSlots = mutableMapOf<UUID, GrabbedStorageSlot>()
|
||||
private var pendingStorageSlotClick: Button? = null
|
||||
private var movePending = false
|
||||
|
||||
var box = 0
|
||||
set(value) {
|
||||
field =
|
||||
@@ -118,22 +113,16 @@ class StorageWidget(
|
||||
subKey = "ui.generic.yes",
|
||||
onPress = {
|
||||
if (canDeleteSelected() && displayConfirmRelease) {
|
||||
val selection = multiSelection
|
||||
if (selection != null) {
|
||||
selection.pokemonEntries().forEach { (column, row, pokemon) ->
|
||||
val position = PCPosition(
|
||||
selection.sourceBox,
|
||||
(selection.sourceRow + row) * 6 + selection.sourceColumn + column
|
||||
)
|
||||
CobblemonNetwork.sendToServer(ReleasePCPokemonPacket(pokemon.uuid, position))
|
||||
}
|
||||
} else {
|
||||
val position = selectedPosition ?: return@ReleaseConfirmButton
|
||||
val pokemon = getSelectedPokemon() ?: return@ReleaseConfirmButton
|
||||
val position = selectedPosition ?: return@ReleaseConfirmButton
|
||||
val pokemon = getSelectedPokemon() ?: return@ReleaseConfirmButton
|
||||
|
||||
CobblemonNetwork.sendToServer(ReleasePartyPokemonPacket(pokemon.uuid, position))
|
||||
val packet = when (position) {
|
||||
is PartyPosition -> ReleasePartyPokemonPacket(pokemon.uuid, position)
|
||||
is PCPosition -> ReleasePCPokemonPacket(pokemon.uuid, position)
|
||||
else -> return@ReleaseConfirmButton
|
||||
}
|
||||
|
||||
CobblemonNetwork.sendToServer(packet)
|
||||
playSound(CobblemonSounds.PC_RELEASE)
|
||||
resetSelected()
|
||||
displayConfirmRelease = false
|
||||
@@ -160,8 +149,9 @@ class StorageWidget(
|
||||
}
|
||||
|
||||
fun canDeleteSelected(): Boolean {
|
||||
multiSelection?.let { return it.pokemonEntries().isNotEmpty() }
|
||||
return party.filterNotNull().size > 1 && selectedPosition != null && grabbedSlot != null
|
||||
return !(selectedPosition is PartyPosition && party.filterNotNull().size <= 1)
|
||||
&& selectedPosition != null
|
||||
&& grabbedSlot != null
|
||||
}
|
||||
|
||||
fun setupStorageSlots() {
|
||||
@@ -180,7 +170,7 @@ class StorageWidget(
|
||||
parent = this,
|
||||
pc = pc,
|
||||
position = PCPosition(box, index),
|
||||
onPress = { pendingStorageSlotClick = it }
|
||||
onPress = { this.onStorageSlotClicked(it) }
|
||||
).also { widget ->
|
||||
this.addWidget(widget)
|
||||
this.boxSlots.add(widget)
|
||||
@@ -210,7 +200,7 @@ class StorageWidget(
|
||||
parent = this,
|
||||
party = party,
|
||||
position = PartyPosition(partyIndex),
|
||||
onPress = { pendingStorageSlotClick = it }
|
||||
onPress = { this.onStorageSlotClicked(it) }
|
||||
).also { widget ->
|
||||
this.addWidget(widget)
|
||||
this.partySlots.add(widget)
|
||||
@@ -220,117 +210,14 @@ class StorageWidget(
|
||||
|
||||
private fun getSelectedPokemon(): Pokemon? {
|
||||
val selectedPosition = this.selectedPosition ?: return null
|
||||
return party.get(selectedPosition)
|
||||
}
|
||||
|
||||
fun getSelectedPokemon(area: PCGUI.SelectionArea): List<BoxStorageSlot> {
|
||||
return boxSlots.filter { slot ->
|
||||
slot.x < area.right && slot.x + StorageSlot.SIZE > area.left &&
|
||||
slot.y < area.bottom && slot.y + StorageSlot.SIZE > area.top &&
|
||||
slot.getPokemon()?.let(pcGui.search::passes) == true
|
||||
return when (selectedPosition) {
|
||||
is PCPosition -> pc.get(selectedPosition)
|
||||
is PartyPosition -> party.get(selectedPosition)
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
||||
fun clearPendingStorageSlotClick() {
|
||||
pendingStorageSlotClick = null
|
||||
}
|
||||
|
||||
fun completePendingStorageSlotClick(mouseX: Double, mouseY: Double) {
|
||||
val button = pendingStorageSlotClick ?: return
|
||||
pendingStorageSlotClick = null
|
||||
if (button.isMouseOver(mouseX, mouseY)) {
|
||||
onStorageSlotClicked(button)
|
||||
}
|
||||
}
|
||||
|
||||
fun updateSelection() {
|
||||
val area = pcGui.getSelectionArea()
|
||||
if (area == null) {
|
||||
multiSelection = null
|
||||
return
|
||||
}
|
||||
|
||||
selectedPosition = null
|
||||
grabbedSlot = null
|
||||
pcGui.setPreviewPokemon(null)
|
||||
|
||||
val selectedSlots = getSelectedPokemon(area)
|
||||
if (selectedSlots.isEmpty()) {
|
||||
multiSelection = null
|
||||
return
|
||||
}
|
||||
|
||||
val minColumn = selectedSlots.minOf { it.position.slot % 6 }
|
||||
val maxColumn = selectedSlots.maxOf { it.position.slot % 6 }
|
||||
val minRow = selectedSlots.minOf { it.position.slot / 6 }
|
||||
val maxRow = selectedSlots.maxOf { it.position.slot / 6 }
|
||||
val selection = PCMultiSelection(maxColumn - minColumn + 1, maxRow - minRow + 1, box, minColumn, minRow)
|
||||
|
||||
selectedSlots.forEach { slot ->
|
||||
val pokemon = slot.getPokemon() ?: return@forEach
|
||||
val slotIndex = slot.position.slot
|
||||
val column = slotIndex % 6
|
||||
val row = slotIndex / 6
|
||||
if (column in minColumn..maxColumn && row in minRow..maxRow) {
|
||||
selection.setPokemon(column - minColumn, row - minRow, pokemon)
|
||||
}
|
||||
}
|
||||
playSound(CobblemonSounds.PC_GRAB)
|
||||
|
||||
multiSelection = selection
|
||||
}
|
||||
|
||||
private fun moveMultiSelectionTo(destination: PCPosition): Boolean {
|
||||
val selection = multiSelection ?: return false
|
||||
|
||||
val width = selection.getHorizontalSize()
|
||||
val height = selection.getVerticalSize()
|
||||
val destinationColumn = destination.slot % 6
|
||||
val destinationRow = destination.slot / 6
|
||||
if (destinationColumn + width > 6 || destinationRow + height > 5) return false
|
||||
|
||||
val moves = mutableListOf<PCPokemonMove>()
|
||||
val selectedSources = mutableSetOf<PCPosition>()
|
||||
for (row in 0 until height) {
|
||||
for (column in 0 until width) {
|
||||
val pokemon = selection.getPokemon(column, row) ?: continue
|
||||
val source = PCPosition(selection.sourceBox, (selection.sourceRow + row) * 6 + selection.sourceColumn + column)
|
||||
val target = PCPosition(destination.box, (destinationRow + row) * 6 + destinationColumn + column)
|
||||
selectedSources.add(source)
|
||||
moves.add(PCPokemonMove(pokemon.uuid, source, target))
|
||||
}
|
||||
}
|
||||
|
||||
if (moves.isEmpty()) return false
|
||||
|
||||
for (row in 0 until height) {
|
||||
for (column in 0 until width) {
|
||||
if (selection.getPokemon(column, row) == null) continue
|
||||
val target = PCPosition(destination.box, (destinationRow + row) * 6 + destinationColumn + column)
|
||||
val displacedPokemon = pc.get(target) ?: continue
|
||||
if (target in selectedSources) continue
|
||||
|
||||
val displacedSource = PCPosition(
|
||||
selection.sourceBox,
|
||||
(selection.sourceRow + row) * 6 + selection.sourceColumn + column
|
||||
)
|
||||
if (pc.get(displacedSource) != null && displacedSource !in selectedSources) return false
|
||||
moves.add(PCPokemonMove(displacedPokemon.uuid, target, displacedSource))
|
||||
}
|
||||
}
|
||||
|
||||
if (moves.map { it.newPosition }.toSet().size != moves.size) return false
|
||||
MovePCPokemonBatchPacket(moves).sendToServer()
|
||||
return true
|
||||
}
|
||||
|
||||
fun isInMultiSelection(pokemon: Pokemon, position: PCPosition): Boolean {
|
||||
val selection = multiSelection ?: return false
|
||||
return selection.sourceBox == position.box && selection.pokemonEntries().any { it.third == pokemon }
|
||||
}
|
||||
|
||||
override fun renderWidget(context: GuiGraphics, mouseX: Int, mouseY: Int, delta: Float) {
|
||||
updatePendingMove()
|
||||
val matrices = context.pose()
|
||||
// Party Label
|
||||
if (pcGui.configuration.showParty) {
|
||||
@@ -353,14 +240,11 @@ class StorageWidget(
|
||||
shadow = true
|
||||
)
|
||||
|
||||
val pokemonCount = multiSelection?.getPokemonCount() ?: 0
|
||||
|
||||
if (canDeleteSelected() && displayConfirmRelease) {
|
||||
drawScaledText(
|
||||
context = context,
|
||||
font = CobblemonResources.DEFAULT_LARGE,
|
||||
text = if (pokemonCount > 1)
|
||||
{ lang("ui.pc.release_all").bold() } else { lang("ui.pc.release").bold() },
|
||||
text = lang("ui.pc.release").bold(),
|
||||
x = x + 223,
|
||||
y = y + 119,
|
||||
centered = true
|
||||
@@ -424,7 +308,6 @@ class StorageWidget(
|
||||
slot.render(context, mouseX, mouseY, delta)
|
||||
val pokemon = slot.getPokemon()
|
||||
if (grabbedSlot == null && slot.isHovered(mouseX, mouseY)
|
||||
&& multiSelection == null
|
||||
&& pokemon != null && pokemon != pcGui.previewPokemon
|
||||
) {
|
||||
pcGui.setPreviewPokemon(pokemon, pcGui.isPreviewInParty ?: false)
|
||||
@@ -441,7 +324,6 @@ class StorageWidget(
|
||||
slot.render(context, mouseX, mouseY, delta)
|
||||
val pokemon = slot.getPokemon()
|
||||
if (grabbedSlot == null && slot.isHovered(mouseX, mouseY)
|
||||
&& multiSelection == null
|
||||
&& pokemon != null && pokemon != pcGui.previewPokemon
|
||||
) {
|
||||
pcGui.setPreviewPokemon(pokemon, pcGui.isPreviewInParty ?: true)
|
||||
@@ -453,32 +335,10 @@ class StorageWidget(
|
||||
pastureWidget?.render(context, mouseX, mouseY, delta)
|
||||
matrices.pushPose()
|
||||
matrices.translate(0.0, 0.0, 1000.0)
|
||||
renderSelectedPokemon(context, mouseX, mouseY, delta)
|
||||
grabbedSlot?.render(context, mouseX, mouseY, delta)
|
||||
matrices.popPose()
|
||||
}
|
||||
|
||||
private fun renderSelectedPokemon(context: GuiGraphics, mouseX: Int, mouseY: Int, delta: Float) {
|
||||
if (movePending) return
|
||||
val selection = multiSelection
|
||||
if (selection == null) {
|
||||
grabbedSlot?.render(context, mouseX, mouseY, delta)
|
||||
return
|
||||
}
|
||||
|
||||
val slotOffset = StorageSlot.SIZE + BOX_SLOT_PADDING
|
||||
selection.pokemonEntries().forEach { (column, row, pokemon) ->
|
||||
val grabbed = multiGrabbedSlots.getOrPut(pokemon.uuid) {
|
||||
GrabbedStorageSlot(0, 0, this, pokemon)
|
||||
}
|
||||
grabbed.render(
|
||||
context,
|
||||
mouseX + column * slotOffset,
|
||||
mouseY + row * slotOffset,
|
||||
delta
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
override fun mouseClicked(pMouseX: Double, pMouseY: Double, pButton: Int): Boolean {
|
||||
if (displayConfirmRelease) {
|
||||
if (releaseYesButton.isHovered(pMouseX, pMouseY)) releaseYesButton.mouseClicked(pMouseX, pMouseY, pButton)
|
||||
@@ -511,55 +371,23 @@ class StorageWidget(
|
||||
else -> return
|
||||
}
|
||||
|
||||
val clickedPokemon = when (clickedPosition) {
|
||||
is PCPosition -> pc.get(clickedPosition)
|
||||
is PartyPosition -> party.get(clickedPosition)
|
||||
else -> null
|
||||
}
|
||||
|
||||
multiSelection?.let { selection ->
|
||||
when (clickedPosition) {
|
||||
is PCPosition -> {
|
||||
if (clickedPosition.box == selection.sourceBox &&
|
||||
clickedPosition.slot == selection.sourceRow * 6 + selection.sourceColumn
|
||||
) {
|
||||
resetSelected()
|
||||
} else if (moveMultiSelectionTo(clickedPosition)) {
|
||||
playSound(CobblemonSounds.PC_DROP)
|
||||
movePending = true
|
||||
}
|
||||
}
|
||||
is PartyPosition -> {
|
||||
val selectedPokemon = selection.pokemonEntries().singleOrNull() ?: return
|
||||
val (column, row, pokemon) = selectedPokemon
|
||||
val source = PCPosition(
|
||||
selection.sourceBox,
|
||||
(selection.sourceRow + row) * 6 + selection.sourceColumn + column
|
||||
)
|
||||
if (pc.get(source) !== pokemon) return
|
||||
val packet = clickedPokemon?.let {
|
||||
SwapPCPartyPokemonPacket(it.uuid, clickedPosition, pokemon.uuid, source)
|
||||
} ?: MovePCPokemonToPartyPacket(pokemon.uuid, source, clickedPosition)
|
||||
packet.sendToServer()
|
||||
playSound(CobblemonSounds.PC_DROP)
|
||||
movePending = true
|
||||
}
|
||||
else -> Unit
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// Reset release confirmation
|
||||
displayConfirmRelease = false
|
||||
|
||||
// Clicking on itself, so unselect position
|
||||
if (selectedPosition == clickedPosition) {
|
||||
if (this.selectedPosition != null && this.selectedPosition == clickedPosition) {
|
||||
if (grabbedSlot != null) playSound(CobblemonSounds.PC_DROP)
|
||||
resetSelected()
|
||||
return
|
||||
}
|
||||
|
||||
// Check for selecting a Pokémon
|
||||
val clickedPokemon = when(button) {
|
||||
is BoxStorageSlot -> pc.get(clickedPosition as PCPosition)
|
||||
is PartyStorageSlot -> party.get(clickedPosition as PartyPosition)
|
||||
else -> null
|
||||
}
|
||||
|
||||
val selectOverride = pcGui.configuration.selectOverride
|
||||
if (selectOverride != null) {
|
||||
selectOverride(pcGui, clickedPosition, clickedPokemon)
|
||||
@@ -592,47 +420,59 @@ class StorageWidget(
|
||||
}
|
||||
}
|
||||
|
||||
if (clickedPosition is PCPosition) {
|
||||
val column = clickedPosition.slot % 6
|
||||
val row = clickedPosition.slot / 6
|
||||
multiSelection = PCMultiSelection(1, 1, clickedPosition.box, column, row).also {
|
||||
it.setPokemon(0, 0, clickedPokemon)
|
||||
}
|
||||
playSound(CobblemonSounds.PC_GRAB)
|
||||
return
|
||||
} else if (clickedPosition is PartyPosition) {
|
||||
this.selectedPosition = clickedPosition
|
||||
this.pcGui.setPreviewPokemon(clickedPokemon, pcGui.isPreviewInParty ?: false)
|
||||
grabbedSlot = GrabbedStorageSlot(
|
||||
x = button.x,
|
||||
y = button.y,
|
||||
parent = this,
|
||||
pokemon = clickedPokemon
|
||||
)
|
||||
playSound(CobblemonSounds.PC_GRAB)
|
||||
}
|
||||
this.selectedPosition = clickedPosition
|
||||
this.pcGui.setPreviewPokemon(clickedPokemon, pcGui.isPreviewInParty ?: false)
|
||||
grabbedSlot = GrabbedStorageSlot(
|
||||
x = button.x,
|
||||
y = button.y,
|
||||
parent = this,
|
||||
pokemon = clickedPokemon
|
||||
)
|
||||
playSound(CobblemonSounds.PC_GRAB)
|
||||
|
||||
}
|
||||
} else {
|
||||
val sourcePosition = selectedPosition ?: return
|
||||
val selectedPokemon = party.get(sourcePosition) ?: return
|
||||
// Handle movement within the Box
|
||||
val selectedPokemon = when(this.selectedPosition) {
|
||||
is PCPosition -> pc.get(this.selectedPosition as PCPosition)
|
||||
is PartyPosition -> party.get(this.selectedPosition as PartyPosition)
|
||||
else -> null
|
||||
} ?: return
|
||||
|
||||
// Box to Box
|
||||
if (this.selectedPosition is PCPosition && clickedPosition is PCPosition) {
|
||||
val packet = clickedPokemon?.let { SwapPCPokemonPacket(it.uuid, clickedPosition, selectedPokemon.uuid, this.selectedPosition as PCPosition) }
|
||||
?: MovePCPokemonPacket(selectedPokemon.uuid, selectedPosition as PCPosition, clickedPosition)
|
||||
packet.sendToServer()
|
||||
playSound(CobblemonSounds.PC_DROP)
|
||||
resetSelected()
|
||||
}
|
||||
// Box to Party
|
||||
else if (this.selectedPosition is PCPosition && clickedPosition is PartyPosition) {
|
||||
val packet = clickedPokemon?.let { SwapPCPartyPokemonPacket(clickedPokemon.uuid, clickedPosition, selectedPokemon.uuid, this.selectedPosition as PCPosition) }
|
||||
?: MovePCPokemonToPartyPacket(selectedPokemon.uuid, this.selectedPosition as PCPosition, clickedPosition)
|
||||
packet.sendToServer()
|
||||
playSound(CobblemonSounds.PC_DROP)
|
||||
resetSelected()
|
||||
}
|
||||
// Party to Box
|
||||
if (clickedPosition is PCPosition) {
|
||||
else if (this.selectedPosition is PartyPosition && clickedPosition is PCPosition) {
|
||||
if (ServerSettings.preventCompletePartyDeposit && this.party.filterNotNull().size == 1 && clickedPokemon == null) {
|
||||
return
|
||||
}
|
||||
val packet = clickedPokemon?.let { SwapPCPartyPokemonPacket(selectedPokemon.uuid, sourcePosition, clickedPokemon.uuid, clickedPosition) }
|
||||
?: MovePartyPokemonToPCPacket(selectedPokemon.uuid, sourcePosition, clickedPosition)
|
||||
val packet = clickedPokemon?.let { SwapPCPartyPokemonPacket(selectedPokemon.uuid, this.selectedPosition as PartyPosition, clickedPokemon.uuid, clickedPosition) }
|
||||
?: MovePartyPokemonToPCPacket(selectedPokemon.uuid, this.selectedPosition as PartyPosition, clickedPosition)
|
||||
packet.sendToServer()
|
||||
playSound(CobblemonSounds.PC_DROP)
|
||||
movePending = true
|
||||
resetSelected()
|
||||
}
|
||||
// Party to Party
|
||||
else if (clickedPosition is PartyPosition) {
|
||||
val packet = clickedPokemon?.let { SwapPartyPokemonPacket(it.uuid, clickedPosition, selectedPokemon.uuid, sourcePosition) }
|
||||
?: MovePartyPokemonPacket(selectedPokemon.uuid, sourcePosition, clickedPosition)
|
||||
else if (this.selectedPosition is PartyPosition && clickedPosition is PartyPosition) {
|
||||
val packet = clickedPokemon?.let { SwapPartyPokemonPacket(it.uuid, clickedPosition, selectedPokemon.uuid, this.selectedPosition as PartyPosition) }
|
||||
?: MovePartyPokemonPacket(selectedPokemon.uuid, selectedPosition as PartyPosition, clickedPosition)
|
||||
packet.sendToServer()
|
||||
playSound(CobblemonSounds.PC_DROP)
|
||||
movePending = true
|
||||
resetSelected()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -640,36 +480,6 @@ class StorageWidget(
|
||||
fun resetSelected() {
|
||||
selectedPosition = null
|
||||
grabbedSlot = null
|
||||
multiSelection = null
|
||||
multiGrabbedSlots.clear()
|
||||
pcGui.setPreviewPokemon(null)
|
||||
}
|
||||
|
||||
// annoyingly complex solution, but server/client desync causes flashing when moving pokemon. this should fix it
|
||||
// if you can think of a simpler solution, feel free to implement it
|
||||
private fun updatePendingMove() {
|
||||
if (!movePending) return
|
||||
val selection = multiSelection
|
||||
|
||||
if (selection != null) {
|
||||
val updated = selection.pokemonEntries().any { (column, row, pokemon) ->
|
||||
val source = PCPosition(selection.sourceBox, (selection.sourceRow + row) * 6 + selection.sourceColumn + column)
|
||||
pc.get(source)?.uuid != pokemon.uuid
|
||||
}
|
||||
if (updated) {
|
||||
movePending = false
|
||||
resetSelected()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
val source = selectedPosition
|
||||
val pokemon = grabbedSlot?.getPokemon()
|
||||
if (source != null && pokemon != null) {
|
||||
if (party.get(source)?.uuid != pokemon.uuid) {
|
||||
movePending = false
|
||||
resetSelected()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* 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.net.appliances
|
||||
|
||||
import com.cobblemon.mod.common.Cobblemon
|
||||
import com.cobblemon.mod.common.api.net.ServerNetworkPacketHandler
|
||||
import com.cobblemon.mod.common.block.appliances.oven.CopperOvenBlockEntity
|
||||
import com.cobblemon.mod.common.block.appliances.oven.CopperOvenMenu
|
||||
import com.cobblemon.mod.common.net.messages.client.appliances.SetCopperOvenDoorPacket
|
||||
import net.minecraft.server.MinecraftServer
|
||||
import net.minecraft.server.level.ServerPlayer
|
||||
|
||||
object SetCopperOvenDoorHandler : ServerNetworkPacketHandler<SetCopperOvenDoorPacket> {
|
||||
override fun handle(packet: SetCopperOvenDoorPacket, server: MinecraftServer, player: ServerPlayer) {
|
||||
val menu = player.containerMenu as? CopperOvenMenu
|
||||
if (menu == null) {
|
||||
Cobblemon.LOGGER.debug("Player {} interacted with invalid menu {}", player, player.containerMenu)
|
||||
return
|
||||
}
|
||||
|
||||
val oven = menu.container as? CopperOvenBlockEntity ?: return
|
||||
if (!menu.stillValid(player)) return
|
||||
oven.setDoorOpen(packet.open)
|
||||
}
|
||||
}
|
||||
+2
@@ -13,6 +13,7 @@ import com.cobblemon.mod.common.client.particle.BedrockParticleOptionsRepository
|
||||
import com.cobblemon.mod.common.client.particle.ParticleStorm
|
||||
import com.cobblemon.mod.common.client.render.MatrixWrapper
|
||||
import com.cobblemon.mod.common.net.messages.client.effect.SpawnSnowstormParticlePacket
|
||||
import com.mojang.math.Axis
|
||||
import net.minecraft.client.Minecraft
|
||||
import com.mojang.blaze3d.vertex.PoseStack
|
||||
|
||||
@@ -20,6 +21,7 @@ object SpawnSnowstormParticleHandler : ClientNetworkPacketHandler<SpawnSnowstorm
|
||||
override fun handle(packet: SpawnSnowstormParticlePacket, client: Minecraft) {
|
||||
val wrapper = MatrixWrapper()
|
||||
val matrix = PoseStack()
|
||||
matrix.mulPose(Axis.YP.rotationDegrees(packet.rotation))
|
||||
wrapper.updateMatrix(matrix.last().pose())
|
||||
wrapper.updatePosition(packet.position)
|
||||
val world = Minecraft.getInstance().level ?: return
|
||||
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
/*
|
||||
* 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.block
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonBlocks
|
||||
import com.cobblemon.mod.common.block.appliances.oven.CopperOvenBlock
|
||||
import com.cobblemon.mod.common.block.appliances.oven.CopperOvenBlockEntity
|
||||
import com.mojang.blaze3d.vertex.PoseStack
|
||||
import com.mojang.math.Axis
|
||||
import net.minecraft.client.Minecraft
|
||||
import net.minecraft.client.renderer.MultiBufferSource
|
||||
import net.minecraft.client.renderer.blockentity.BlockEntityRenderer
|
||||
import net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider
|
||||
import net.minecraft.core.Direction
|
||||
import net.minecraft.world.item.ItemDisplayContext
|
||||
import net.minecraft.world.level.block.HorizontalDirectionalBlock
|
||||
import net.minecraft.world.phys.Vec3
|
||||
|
||||
class CopperOvenBlockEntityRenderer(ctx: BlockEntityRendererProvider.Context) : BlockEntityRenderer<CopperOvenBlockEntity> {
|
||||
|
||||
override fun render(
|
||||
blockEntity: CopperOvenBlockEntity,
|
||||
partialTick: Float,
|
||||
matrices: PoseStack,
|
||||
bufferSource: MultiBufferSource,
|
||||
packedLight: Int,
|
||||
packedOverlay: Int
|
||||
) {
|
||||
val blockState = if (blockEntity.level != null) blockEntity.blockState
|
||||
else CobblemonBlocks.COPPER_OVEN.defaultBlockState().setValue(HorizontalDirectionalBlock.FACING, Direction.SOUTH)
|
||||
|
||||
// Items are only visible when open, so why bother rendering otherwise
|
||||
if (blockState.getValue(CopperOvenBlock.COOKING) != CopperOvenBlock.CookingState.OPEN) return
|
||||
|
||||
val seasonings = blockEntity.items.subList(CopperOvenBlockEntity.SEASONING_SLOTS.first, CopperOvenBlockEntity.SEASONING_SLOTS.last + 1)
|
||||
val direction = blockState.getValue(HorizontalDirectionalBlock.FACING)
|
||||
val yRot = direction.toYRot() + if (direction == Direction.WEST || direction == Direction.EAST) 0F else 180F
|
||||
val facingRadians = Math.toRadians(yRot.toDouble())
|
||||
val sinFacing = kotlin.math.sin(facingRadians)
|
||||
val cosFacing = kotlin.math.cos(facingRadians)
|
||||
fun rotateOffset(x: Double, z: Double) = Vec3(
|
||||
x * cosFacing + z * sinFacing,
|
||||
0.0,
|
||||
z * cosFacing - x * sinFacing
|
||||
)
|
||||
val seasoning1Offset = rotateOffset(0.1, 0.2)
|
||||
val seasoning2Offset = rotateOffset(-0.1, 0.2)
|
||||
val seasoning3Offset = rotateOffset(0.0, 0.0)
|
||||
|
||||
// Seasoning 1
|
||||
matrices.pushPose()
|
||||
matrices.translate(0.5 + seasoning1Offset.x, 0.13, 0.5 + seasoning1Offset.z)
|
||||
matrices.scale(0.15f, 0.15f, 0.15f)
|
||||
matrices.mulPose(Axis.YP.rotationDegrees(yRot))
|
||||
matrices.mulPose(Axis.XP.rotationDegrees(-90f))
|
||||
matrices.mulPose(Axis.ZP.rotationDegrees(225f))
|
||||
Minecraft.getInstance().itemRenderer.renderStatic(
|
||||
seasonings[0],
|
||||
ItemDisplayContext.NONE,
|
||||
packedLight,
|
||||
packedOverlay,
|
||||
matrices,
|
||||
bufferSource,
|
||||
blockEntity.level,
|
||||
0
|
||||
)
|
||||
matrices.popPose()
|
||||
|
||||
// Seasoning 2
|
||||
matrices.pushPose()
|
||||
matrices.translate(0.5 + seasoning2Offset.x, 0.13, 0.5 + seasoning2Offset.z)
|
||||
matrices.scale(0.15f, 0.15f, 0.15f)
|
||||
matrices.mulPose(Axis.YP.rotationDegrees(yRot))
|
||||
matrices.mulPose(Axis.XP.rotationDegrees(-90f))
|
||||
matrices.mulPose(Axis.ZP.rotationDegrees(135f))
|
||||
Minecraft.getInstance().itemRenderer.renderStatic(
|
||||
seasonings[1],
|
||||
ItemDisplayContext.NONE,
|
||||
packedLight,
|
||||
packedOverlay,
|
||||
matrices,
|
||||
bufferSource,
|
||||
blockEntity.level,
|
||||
0
|
||||
)
|
||||
matrices.popPose()
|
||||
|
||||
// Seasoning 3
|
||||
matrices.pushPose()
|
||||
matrices.translate(0.5 + seasoning3Offset.x, 0.13, 0.5 + seasoning3Offset.z)
|
||||
matrices.scale(0.15f, 0.15f, 0.15f)
|
||||
matrices.mulPose(Axis.YP.rotationDegrees(yRot))
|
||||
matrices.mulPose(Axis.XP.rotationDegrees(-90f))
|
||||
matrices.mulPose(Axis.ZP.rotationDegrees(180f))
|
||||
Minecraft.getInstance().itemRenderer.renderStatic(
|
||||
seasonings[2],
|
||||
ItemDisplayContext.NONE,
|
||||
packedLight,
|
||||
packedOverlay,
|
||||
matrices,
|
||||
bufferSource,
|
||||
blockEntity.level,
|
||||
0
|
||||
)
|
||||
matrices.popPose()
|
||||
|
||||
// blockEntity.items.subList(CopperOvenBlockEntity.SEASONING_SLOTS.first, CopperOvenBlockEntity.SEASONING_SLOTS.last + 1).forEachIndexed { index, stack ->
|
||||
// matrices.pushPose()
|
||||
//
|
||||
// val direction = blockState.getValue(HorizontalDirectionalBlock.FACING)
|
||||
// val dirOffset = when (direction) {
|
||||
// Direction.NORTH -> Vec3(0.0, 0.0, 0.1)
|
||||
// Direction.SOUTH -> Vec3(0.0, 0.0, -0.1)
|
||||
// Direction.EAST -> Vec3(-0.1, 0.0, 0.0)
|
||||
// Direction.WEST -> Vec3(0.1, 0.0, 0.0)
|
||||
// else -> Vec3.ZERO
|
||||
// }
|
||||
// val yRot = direction.toYRot() + if(direction == Direction.WEST || direction == Direction.EAST) 0F else 180F
|
||||
//
|
||||
// matrices.translate(0.5 + dirOffset.x,0.15 + (index * 0.03), 0.5 + dirOffset.z)
|
||||
// matrices.mulPose(Axis.YP.rotationDegrees(yRot))
|
||||
// matrices.mulPose(Axis.ZP.rotationDegrees(180F))
|
||||
// matrices.mulPose(Axis.XP.rotationDegrees(90F))
|
||||
// matrices.scale(0.2F, 0.4F, 0.4F)
|
||||
//
|
||||
// Minecraft.getInstance().itemRenderer.renderStatic(
|
||||
// stack,
|
||||
// ItemDisplayContext.NONE,
|
||||
// packedLight,
|
||||
// packedOverlay,
|
||||
// matrices,
|
||||
// bufferSource,
|
||||
// blockEntity.level,
|
||||
// 0
|
||||
// )
|
||||
//
|
||||
// matrices.popPose()
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -47,6 +47,10 @@ class CobblemonConfig {
|
||||
@IntConstraint(min = 0, max = 1000)
|
||||
var maxPokemonFriendship = 255
|
||||
|
||||
@CobblemonConfigField(Category.Pokemon, lang = "power_item_ride_stat_gain_interval_seconds", SERVER)
|
||||
@IntConstraint(min = -1, max = Int.MAX_VALUE)
|
||||
var powerItemRideStatGainIntervalSeconds = 120
|
||||
|
||||
@CobblemonConfigField(Category.Pokemon, lang = "announce_drop_items", SERVER)
|
||||
var announceDropItems = true
|
||||
@CobblemonConfigField(Category.Pokemon, lang = "default_drop_item_method", SERVER)
|
||||
|
||||
+27
@@ -22,6 +22,7 @@ import com.cobblemon.mod.common.api.molang.ObjectValue
|
||||
import com.cobblemon.mod.common.api.pokemon.PokemonProperties
|
||||
import com.cobblemon.mod.common.api.pokemon.feature.TickingSpeciesFeature
|
||||
import com.cobblemon.mod.common.api.pokemon.status.Statuses
|
||||
import com.cobblemon.mod.common.api.riding.stats.RidingStat
|
||||
import com.cobblemon.mod.common.api.spawning.fishing.FishingSpawnCause.Companion.DROPS_REROLL_ASPECT
|
||||
import com.cobblemon.mod.common.api.tags.CobblemonItemTags
|
||||
import com.cobblemon.mod.common.battles.BattleRegistry
|
||||
@@ -46,10 +47,15 @@ import kotlin.math.*
|
||||
|
||||
/** Handles purely server logic for a Pokémon */
|
||||
class PokemonServerDelegate : PokemonSideDelegate {
|
||||
companion object {
|
||||
private const val RIDE_STAT_GAIN_AMOUNT = 1F
|
||||
}
|
||||
|
||||
lateinit var entity: PokemonEntity
|
||||
var acknowledgedHPValue = -1
|
||||
var acknowledgedLevel = -1
|
||||
val passengerOffsets = mutableMapOf<Int, Vec3>()
|
||||
private var rideStatGainAnchor: Vec3? = null
|
||||
|
||||
/** Mocked properties exposed to the client [PokemonEntity]. */
|
||||
private val mock: PokemonProperties?
|
||||
@@ -355,9 +361,30 @@ class PokemonServerDelegate : PokemonSideDelegate {
|
||||
}
|
||||
}
|
||||
|
||||
val rideStatGainIntervalSeconds = Cobblemon.config.powerItemRideStatGainIntervalSeconds
|
||||
if (rideStatGainIntervalSeconds > 0) {
|
||||
val rideStatGainIntervalTicks = rideStatGainIntervalSeconds * 20L
|
||||
if (entity.level().gameTime % rideStatGainIntervalTicks == 0L) {
|
||||
trainRideStats()
|
||||
}
|
||||
}
|
||||
|
||||
updateTrackedValues()
|
||||
}
|
||||
|
||||
private fun trainRideStats() {
|
||||
val position = entity.position()
|
||||
val anchor = rideStatGainAnchor
|
||||
rideStatGainAnchor = position
|
||||
if (anchor == null || anchor == position || entity.passengers.isEmpty()) return
|
||||
|
||||
val heldItem = entity.pokemon.heldItemNoCopy()
|
||||
if (heldItem.isEmpty) return
|
||||
|
||||
val stat = RidingStat.entries.firstOrNull { heldItem.`is`(it.powerItem) } ?: return
|
||||
entity.pokemon.addRideBoost(stat, RIDE_STAT_GAIN_AMOUNT)
|
||||
}
|
||||
|
||||
fun updateShownItem() {
|
||||
val trackedShownItem = when {
|
||||
// Show Hand Item if Held item is hidden
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* 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.item.crafting.washer
|
||||
|
||||
import net.minecraft.world.item.ItemStack
|
||||
import net.minecraft.world.item.crafting.Ingredient
|
||||
import net.minecraft.world.item.crafting.RecipeInput
|
||||
|
||||
class WasherInput(
|
||||
val item: ItemStack = ItemStack.EMPTY
|
||||
) : RecipeInput {
|
||||
|
||||
override fun getItem(index: Int): ItemStack? {
|
||||
return if (index == 0) item else null
|
||||
}
|
||||
|
||||
override fun size() = 1
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* 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.item.crafting.washer
|
||||
|
||||
import com.cobblemon.mod.common.CobblemonRecipeSerializers
|
||||
import com.cobblemon.mod.common.CobblemonRecipeTypes
|
||||
import com.mojang.serialization.Codec
|
||||
import com.mojang.serialization.MapCodec
|
||||
import com.mojang.serialization.codecs.RecordCodecBuilder
|
||||
import net.minecraft.core.component.DataComponents
|
||||
import net.minecraft.core.HolderLookup
|
||||
import net.minecraft.network.RegistryFriendlyByteBuf
|
||||
import net.minecraft.network.codec.StreamCodec
|
||||
import net.minecraft.world.item.ItemStack
|
||||
import net.minecraft.world.item.crafting.Ingredient
|
||||
import net.minecraft.world.item.crafting.Recipe
|
||||
import net.minecraft.world.item.crafting.RecipeSerializer
|
||||
import net.minecraft.world.level.Level
|
||||
|
||||
class WasherRecipe(
|
||||
val input: Ingredient,
|
||||
val result: ItemStack,
|
||||
val preserveInputComponents: Boolean = false,
|
||||
val removeDyedColor: Boolean = false
|
||||
) : Recipe<WasherInput> {
|
||||
|
||||
override fun getType() = CobblemonRecipeTypes.WASHER
|
||||
override fun canCraftInDimensions(width: Int, height: Int) = true
|
||||
override fun assemble(input: WasherInput, registries: HolderLookup.Provider): ItemStack {
|
||||
val output = if (preserveInputComponents) {
|
||||
input.item.transmuteCopy(result.item, result.count)
|
||||
} else {
|
||||
result.copy()
|
||||
}
|
||||
if (removeDyedColor) {
|
||||
output.remove(DataComponents.DYED_COLOR)
|
||||
}
|
||||
return output
|
||||
}
|
||||
override fun getSerializer() = CobblemonRecipeSerializers.WASHER
|
||||
override fun getResultItem(registries: HolderLookup.Provider): ItemStack = result.copy()
|
||||
override fun matches(input: WasherInput, level: Level) =
|
||||
this.input.test(input.item) && (!removeDyedColor || input.item.has(DataComponents.DYED_COLOR))
|
||||
|
||||
class Serializer : RecipeSerializer<WasherRecipe> {
|
||||
companion object {
|
||||
val CODEC: MapCodec<WasherRecipe> = RecordCodecBuilder.mapCodec { instance ->
|
||||
instance.group(
|
||||
Ingredient.CODEC.fieldOf("input").forGetter { recipe -> recipe.input },
|
||||
ItemStack.STRICT_CODEC.fieldOf("result").forGetter { recipe -> recipe.result },
|
||||
Codec.BOOL.optionalFieldOf("preserve_input_components", false)
|
||||
.forGetter { recipe -> recipe.preserveInputComponents },
|
||||
Codec.BOOL.optionalFieldOf("remove_dyed_color", false)
|
||||
.forGetter { recipe -> recipe.removeDyedColor }
|
||||
).apply(instance, ::WasherRecipe)
|
||||
}
|
||||
}
|
||||
|
||||
val STREAM_CODEC: StreamCodec<RegistryFriendlyByteBuf, WasherRecipe> =
|
||||
StreamCodec.of(::toNetwork, ::fromNetwork)
|
||||
|
||||
private fun fromNetwork(buffer: RegistryFriendlyByteBuf): WasherRecipe {
|
||||
val input = Ingredient.CONTENTS_STREAM_CODEC.decode(buffer)
|
||||
val result = ItemStack.STREAM_CODEC.decode(buffer)
|
||||
val preserveInputComponents = buffer.readBoolean()
|
||||
val removeDyedColor = buffer.readBoolean()
|
||||
return WasherRecipe(input, result, preserveInputComponents, removeDyedColor)
|
||||
}
|
||||
|
||||
private fun toNetwork(buffer: RegistryFriendlyByteBuf, recipe: WasherRecipe) {
|
||||
Ingredient.CONTENTS_STREAM_CODEC.encode(buffer, recipe.input)
|
||||
ItemStack.STREAM_CODEC.encode(buffer, recipe.result)
|
||||
buffer.writeBoolean(recipe.preserveInputComponents)
|
||||
buffer.writeBoolean(recipe.removeDyedColor)
|
||||
}
|
||||
|
||||
override fun codec() = CODEC
|
||||
override fun streamCodec() = STREAM_CODEC
|
||||
}
|
||||
|
||||
}
|
||||
@@ -394,6 +394,7 @@ object CobblemonItemGroups {
|
||||
entries.accept(CobblemonItems.FOSSIL_ANALYZER)
|
||||
entries.accept(CobblemonItems.MONITOR)
|
||||
entries.accept(CobblemonItems.DAMAGED_MONITOR)
|
||||
entries.accept(CobblemonItems.ROTOM_MONITOR)
|
||||
entries.accept(CobblemonItems.PC)
|
||||
entries.accept(CobblemonItems.HEALING_MACHINE)
|
||||
entries.accept(CobblemonItems.PASTURE)
|
||||
@@ -570,6 +571,47 @@ object CobblemonItemGroups {
|
||||
entries.accept(CobblemonItems.PINK_PLAQUE)
|
||||
|
||||
CobblemonItems.campfire_pots.forEach(entries::accept)
|
||||
|
||||
entries.accept(CobblemonItems.COPPER_OVEN)
|
||||
entries.accept(CobblemonItems.COPPER_WASHER)
|
||||
entries.accept(CobblemonItems.COPPER_FAN)
|
||||
entries.accept(CobblemonItems.COPPER_MOWER)
|
||||
entries.accept(CobblemonItems.COPPER_FRIDGE)
|
||||
entries.accept(CobblemonItems.EXPOSED_COPPER_OVEN)
|
||||
entries.accept(CobblemonItems.EXPOSED_COPPER_WASHER)
|
||||
entries.accept(CobblemonItems.EXPOSED_COPPER_FAN)
|
||||
entries.accept(CobblemonItems.EXPOSED_COPPER_MOWER)
|
||||
entries.accept(CobblemonItems.EXPOSED_COPPER_FRIDGE)
|
||||
entries.accept(CobblemonItems.WEATHERED_COPPER_OVEN)
|
||||
entries.accept(CobblemonItems.WEATHERED_COPPER_WASHER)
|
||||
entries.accept(CobblemonItems.WEATHERED_COPPER_FAN)
|
||||
entries.accept(CobblemonItems.WEATHERED_COPPER_MOWER)
|
||||
entries.accept(CobblemonItems.WEATHERED_COPPER_FRIDGE)
|
||||
entries.accept(CobblemonItems.OXIDIZED_COPPER_OVEN)
|
||||
entries.accept(CobblemonItems.OXIDIZED_COPPER_WASHER)
|
||||
entries.accept(CobblemonItems.OXIDIZED_COPPER_FAN)
|
||||
entries.accept(CobblemonItems.OXIDIZED_COPPER_MOWER)
|
||||
entries.accept(CobblemonItems.OXIDIZED_COPPER_FRIDGE)
|
||||
entries.accept(CobblemonItems.WAXED_COPPER_OVEN)
|
||||
entries.accept(CobblemonItems.WAXED_COPPER_WASHER)
|
||||
entries.accept(CobblemonItems.WAXED_COPPER_FAN)
|
||||
entries.accept(CobblemonItems.WAXED_COPPER_MOWER)
|
||||
entries.accept(CobblemonItems.WAXED_COPPER_FRIDGE)
|
||||
entries.accept(CobblemonItems.WAXED_EXPOSED_COPPER_OVEN)
|
||||
entries.accept(CobblemonItems.WAXED_EXPOSED_COPPER_WASHER)
|
||||
entries.accept(CobblemonItems.WAXED_EXPOSED_COPPER_FAN)
|
||||
entries.accept(CobblemonItems.WAXED_EXPOSED_COPPER_MOWER)
|
||||
entries.accept(CobblemonItems.WAXED_EXPOSED_COPPER_FRIDGE)
|
||||
entries.accept(CobblemonItems.WAXED_WEATHERED_COPPER_OVEN)
|
||||
entries.accept(CobblemonItems.WAXED_WEATHERED_COPPER_WASHER)
|
||||
entries.accept(CobblemonItems.WAXED_WEATHERED_COPPER_FAN)
|
||||
entries.accept(CobblemonItems.WAXED_WEATHERED_COPPER_MOWER)
|
||||
entries.accept(CobblemonItems.WAXED_WEATHERED_COPPER_FRIDGE)
|
||||
entries.accept(CobblemonItems.WAXED_OXIDIZED_COPPER_OVEN)
|
||||
entries.accept(CobblemonItems.WAXED_OXIDIZED_COPPER_WASHER)
|
||||
entries.accept(CobblemonItems.WAXED_OXIDIZED_COPPER_FAN)
|
||||
entries.accept(CobblemonItems.WAXED_OXIDIZED_COPPER_MOWER)
|
||||
entries.accept(CobblemonItems.WAXED_OXIDIZED_COPPER_FRIDGE)
|
||||
}
|
||||
|
||||
private fun consumableEntries(displayContext: ItemDisplayParameters, entries: Output) {
|
||||
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.net.messages.client.appliances
|
||||
|
||||
import com.cobblemon.mod.common.api.net.NetworkPacket
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import net.minecraft.network.RegistryFriendlyByteBuf
|
||||
|
||||
class SetCopperOvenDoorPacket(val open: Boolean) : NetworkPacket<SetCopperOvenDoorPacket> {
|
||||
companion object {
|
||||
val ID = cobblemonResource("set_copper_oven_door")
|
||||
|
||||
fun decode(buffer: RegistryFriendlyByteBuf) = SetCopperOvenDoorPacket(buffer.readBoolean())
|
||||
}
|
||||
|
||||
override val id = ID
|
||||
|
||||
override fun encode(buffer: RegistryFriendlyByteBuf) {
|
||||
buffer.writeBoolean(open)
|
||||
}
|
||||
}
|
||||
+4
-1
@@ -28,6 +28,7 @@ import net.minecraft.world.phys.Vec3
|
||||
class SpawnSnowstormParticlePacket(
|
||||
val effectId: ResourceLocation,
|
||||
val position: Vec3,
|
||||
val rotation: Float = 0F,
|
||||
) : NetworkPacket<SpawnSnowstormParticlePacket> {
|
||||
override val id = ID
|
||||
companion object {
|
||||
@@ -39,7 +40,8 @@ class SpawnSnowstormParticlePacket(
|
||||
buffer.readDouble(),
|
||||
buffer.readDouble(),
|
||||
buffer.readDouble()
|
||||
)
|
||||
),
|
||||
rotation = buffer.readFloat()
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -48,5 +50,6 @@ class SpawnSnowstormParticlePacket(
|
||||
buffer.writeDouble(position.x)
|
||||
buffer.writeDouble(position.y)
|
||||
buffer.writeDouble(position.z)
|
||||
buffer.writeFloat(rotation)
|
||||
}
|
||||
}
|
||||
-55
@@ -1,55 +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://www.mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package com.cobblemon.mod.common.net.messages.server.storage.pc
|
||||
|
||||
import com.cobblemon.mod.common.api.net.NetworkPacket
|
||||
import com.cobblemon.mod.common.api.storage.pc.PCPosition
|
||||
import com.cobblemon.mod.common.util.cobblemonResource
|
||||
import com.cobblemon.mod.common.util.readPCPosition
|
||||
import com.cobblemon.mod.common.util.writePCPosition
|
||||
import java.util.UUID
|
||||
import net.minecraft.network.RegistryFriendlyByteBuf
|
||||
|
||||
class MovePCPokemonBatchPacket(val moves: List<PCPokemonMove>) : NetworkPacket<MovePCPokemonBatchPacket> {
|
||||
override val id = ID
|
||||
|
||||
data class PCPokemonMove(
|
||||
val pokemonID: UUID,
|
||||
val oldPosition: PCPosition,
|
||||
val newPosition: PCPosition
|
||||
)
|
||||
|
||||
override fun encode(buffer: RegistryFriendlyByteBuf) {
|
||||
buffer.writeVarInt(moves.size)
|
||||
moves.forEach { move ->
|
||||
buffer.writeUUID(move.pokemonID)
|
||||
buffer.writePCPosition(move.oldPosition)
|
||||
buffer.writePCPosition(move.newPosition)
|
||||
}
|
||||
}
|
||||
|
||||
companion object {
|
||||
val ID = cobblemonResource("move_pc_pokemon_batch")
|
||||
const val MAX_MOVES = 60
|
||||
|
||||
fun decode(buffer: RegistryFriendlyByteBuf): MovePCPokemonBatchPacket {
|
||||
val size = buffer.readVarInt()
|
||||
require(size in 1..MAX_MOVES) { "Invalid batch PC move size: $size" }
|
||||
return MovePCPokemonBatchPacket(
|
||||
List(size) {
|
||||
PCPokemonMove(
|
||||
pokemonID = buffer.readUUID(),
|
||||
oldPosition = buffer.readPCPosition(),
|
||||
newPosition = buffer.readPCPosition()
|
||||
)
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
-23
@@ -1,23 +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://www.mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package com.cobblemon.mod.common.net.serverhandling.storage.pc
|
||||
|
||||
import com.cobblemon.mod.common.api.net.ServerNetworkPacketHandler
|
||||
import com.cobblemon.mod.common.api.storage.pc.link.PCLinkManager
|
||||
import com.cobblemon.mod.common.net.messages.client.storage.pc.ClosePCPacket
|
||||
import com.cobblemon.mod.common.net.messages.server.storage.pc.MovePCPokemonBatchPacket
|
||||
import net.minecraft.server.MinecraftServer
|
||||
import net.minecraft.server.level.ServerPlayer
|
||||
|
||||
object MovePCPokemonBatchHandler : ServerNetworkPacketHandler<MovePCPokemonBatchPacket> {
|
||||
override fun handle(packet: MovePCPokemonBatchPacket, server: MinecraftServer, player: ServerPlayer) {
|
||||
val pc = PCLinkManager.getPC(player) ?: return run { ClosePCPacket(null).sendToPlayer(player) }
|
||||
pc.moveBatch(packet.moves.map { Triple(it.pokemonID, it.oldPosition, it.newPosition) })
|
||||
}
|
||||
}
|
||||
@@ -95,6 +95,8 @@ class FloatRange(override val start: Float, override val endInclusive: Float) :
|
||||
override fun hashCode(): Int = 31 * start.hashCode() + endInclusive.hashCode()
|
||||
|
||||
override fun toString(): String = "$start..$endInclusive"
|
||||
fun random() = Random.nextFloat() * (endInclusive - start) + start
|
||||
|
||||
}
|
||||
|
||||
class DoubleRange(override val start: Double, override val endInclusive: Double) : ClosedFloatingPointRange<Double> {
|
||||
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"particle_effect": {
|
||||
"description": {
|
||||
"identifier": "cobblemon:rotomfridge_doorready",
|
||||
"basic_render_parameters": {
|
||||
"material": "particles_blend",
|
||||
"texture": "textures/particles/vanilla/generic"
|
||||
}
|
||||
},
|
||||
"curves": {
|
||||
"variable.debrissize": {
|
||||
"type": "linear",
|
||||
"input": "v.particle_age",
|
||||
"horizontal_range": "v.particle_lifetime",
|
||||
"nodes": [0, 1, 0.96, 0.86, 0.7, 0.47, 0]
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:emitter_rate_instant": {
|
||||
"num_particles": 1
|
||||
},
|
||||
"minecraft:emitter_lifetime_once": {
|
||||
"active_time": 0.05
|
||||
},
|
||||
"minecraft:emitter_shape_box": {
|
||||
"offset": [0, -1, 0.5],
|
||||
"half_dimensions": [0.5, 0.75, 0],
|
||||
"surface_only": true,
|
||||
"direction": "outwards"
|
||||
},
|
||||
"minecraft:particle_lifetime_expression": {
|
||||
"max_lifetime": "math.random(1.2,2)"
|
||||
},
|
||||
"minecraft:particle_initial_spin": {
|
||||
"rotation": "math.random_integer(0,3)*90"
|
||||
},
|
||||
"minecraft:particle_initial_speed": "math.random(2.5,3.5)*0.1",
|
||||
"minecraft:particle_motion_dynamic": {
|
||||
"linear_acceleration": [0, 0.1, 0],
|
||||
"linear_drag_coefficient": 1
|
||||
},
|
||||
"minecraft:particle_appearance_billboard": {
|
||||
"size": ["0.25*v.debrissize", "0.25*v.debrissize"],
|
||||
"facing_camera_mode": "rotate_xyz",
|
||||
"uv": {
|
||||
"texture_width": 64,
|
||||
"texture_height": 8,
|
||||
"flipbook": {
|
||||
"base_UV": [56, 0],
|
||||
"size_UV": [8, 8],
|
||||
"step_UV": [-8, 0],
|
||||
"frames_per_second": 6,
|
||||
"max_frame": 8
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:particle_motion_collision": {
|
||||
"collision_radius": 0.01
|
||||
},
|
||||
"minecraft:particle_appearance_lighting": {},
|
||||
"minecraft:particle_appearance_tinting": {
|
||||
"color": [0.7098, 0.95294, 1, 0.74902]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+837
-649
File diff suppressed because it is too large.
Load diff
+6
@@ -456,6 +456,12 @@
|
||||
"cannon_left": {
|
||||
"position": [0, 0, 3]
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"0.25": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"1.25": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"2.25": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"3.25": "q.run_molang('cobblemon:stepsound_standard_large');"
|
||||
}
|
||||
},
|
||||
"animation.blastoise.ground_run": {
|
||||
|
||||
+11
@@ -83,6 +83,7 @@
|
||||
},
|
||||
"animation.parasect.ground_walk": {
|
||||
"loop": true,
|
||||
"animation_length": 1,
|
||||
"bones": {
|
||||
"body": {
|
||||
"rotation": [0, 0, 0],
|
||||
@@ -134,6 +135,12 @@
|
||||
"locator_seat_1": {
|
||||
"rotation": [7.5, 0, 0]
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"0.0": "q.run_molang('cobblemon:stepsound_minecraft');",
|
||||
"0.25": "q.run_molang('cobblemon:stepsound_minecraft');",
|
||||
"0.5": "q.run_molang('cobblemon:stepsound_minecraft');",
|
||||
"0.75": "q.run_molang('cobblemon:stepsound_minecraft');"
|
||||
}
|
||||
},
|
||||
"animation.parasect.ground_run": {
|
||||
@@ -258,6 +265,10 @@
|
||||
"rotation": ["5+Math.cos((query.anim_time) * 90 * 16 - 90) * 2", 0, 0],
|
||||
"position": [0, "0+Math.cos((query.anim_time) * 90 * 32) * -0.2", -0.25]
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"0.0": "q.run_molang('cobblemon:stepsound_minecraft');",
|
||||
"0.125": "q.run_molang('cobblemon:stepsound_minecraft');"
|
||||
}
|
||||
},
|
||||
"animation.parasect.ride_ground_run": {
|
||||
|
||||
+4
@@ -391,6 +391,10 @@
|
||||
"0.7083": [0, 0, 0]
|
||||
}
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"0.0833": "q.run_molang('cobblemon:stepsound_standard_medium');",
|
||||
"0.2917": "q.run_molang('cobblemon:stepsound_standard_medium');"
|
||||
}
|
||||
},
|
||||
"animation.dewgong.water_idle": {
|
||||
|
||||
+20
@@ -1071,6 +1071,16 @@
|
||||
"head": {
|
||||
"rotation": ["-0.8*math.cos(q.anim_time*90*8-120)", 0, "3*math.sin(q.anim_time*90*4+70)"]
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"0.5": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"1.0": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"1.5": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"2.0": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"2.5": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"3.0": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"3.5": "q.run_molang('cobblemon:stepsound_standard_large');"
|
||||
}
|
||||
},
|
||||
"animation.rhyhorn.ride_ground_walk": {
|
||||
@@ -1917,6 +1927,16 @@
|
||||
],
|
||||
"position": [0, "0.4+0.6*math.cos(q.anim_time*90*8-120)", 0]
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"0.375": "q.run_molang('cobblemon:stepsound_standard_medium');",
|
||||
"0.5": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"0.875": "q.run_molang('cobblemon:stepsound_standard_medium');",
|
||||
"1.0": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"1.375": "q.run_molang('cobblemon:stepsound_standard_medium');",
|
||||
"1.5": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"1.875": "q.run_molang('cobblemon:stepsound_standard_medium');"
|
||||
}
|
||||
},
|
||||
"animation.rhyhorn.ride_ground_run": {
|
||||
|
||||
+12
@@ -329,6 +329,12 @@
|
||||
"locator_seat_1": {
|
||||
"rotation": [-15, 0, 0]
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"0.0": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"1.0": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"2.0": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"3.0": "q.run_molang('cobblemon:stepsound_standard_large');"
|
||||
}
|
||||
},
|
||||
"animation.rhydon.ride_ground_walk": {
|
||||
@@ -807,6 +813,12 @@
|
||||
"locator_seat_1": {
|
||||
"rotation": [-15, 0, 0]
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"0.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"0.8333": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"1.3333": "q.run_molang('cobblemon:stepsound_standard_large');",
|
||||
"1.8333": "q.run_molang('cobblemon:stepsound_standard_large');"
|
||||
}
|
||||
},
|
||||
"animation.rhydon.ride_ground_run": {
|
||||
|
||||
+4
@@ -391,6 +391,10 @@
|
||||
"1.0": [0, 0, 0]
|
||||
}
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"0.0833": "q.run_molang('cobblemon:stepsound_minecraft');",
|
||||
"0.5833": "q.run_molang('cobblemon:stepsound_minecraft');"
|
||||
}
|
||||
},
|
||||
"animation.mr_mime.ground_run": {
|
||||
|
||||
@@ -0,0 +1,466 @@
|
||||
{
|
||||
"multipart": [
|
||||
{
|
||||
"when": {
|
||||
"facing": "north",
|
||||
"power": "0",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_unpowered"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "north",
|
||||
"power": "0",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_unpowered"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "north",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "false",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_decorative"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "north",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "false",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "north",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "true",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_pushing"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "north",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "true",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "north",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "false",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "north",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "false",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "north",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "true",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "north",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "true",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "east",
|
||||
"power": "0",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_unpowered",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "east",
|
||||
"power": "0",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_unpowered",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "east",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "false",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "east",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "false",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "east",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "true",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "east",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "true",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "east",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "false",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "east",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "false",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "east",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "true",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "east",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "true",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "south",
|
||||
"power": "0",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_unpowered",
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "south",
|
||||
"power": "0",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_unpowered",
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "south",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "false",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "south",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "false",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "south",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "true",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "south",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "true",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "south",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "false",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "south",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "false",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "south",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "true",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "south",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "true",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "west",
|
||||
"power": "0",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_unpowered",
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "west",
|
||||
"power": "0",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_unpowered",
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "west",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "false",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "west",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "false",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "west",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "true",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "west",
|
||||
"power": "1|2|3|4|5|6|7",
|
||||
"push": "true",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "west",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "false",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "west",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "false",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "west",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "true",
|
||||
"wall": "false"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"facing": "west",
|
||||
"power": "8|9|10|11|12|13|14|15",
|
||||
"push": "true",
|
||||
"wall": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower": {
|
||||
"model": "cobblemon:block/copper_fridge_bottom",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=lower": {
|
||||
"model": "cobblemon:block/copper_fridge_bottom"
|
||||
},
|
||||
"facing=south,half=lower": {
|
||||
"model": "cobblemon:block/copper_fridge_bottom",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=lower": {
|
||||
"model": "cobblemon:block/copper_fridge_bottom",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,half=upper": {
|
||||
"model": "cobblemon:block/copper_fridge_top",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=upper": {
|
||||
"model": "cobblemon:block/copper_fridge_top"
|
||||
},
|
||||
"facing=south,half=upper": {
|
||||
"model": "cobblemon:block/copper_fridge_top",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=upper": {
|
||||
"model": "cobblemon:block/copper_fridge_top",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/copper_mower",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/copper_mower"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/copper_mower",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/copper_mower",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_open"
|
||||
},
|
||||
"facing=south,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,ejecting=true": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,ejecting=true": {
|
||||
"model": "cobblemon:block/copper_oven_open"
|
||||
},
|
||||
"facing=south,ejecting=true": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,ejecting=true": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/copper_washer",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/copper_washer"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/copper_washer",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/copper_washer",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,934 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,power=0,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=0,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=0,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_unpowered"
|
||||
},
|
||||
"facing=north,power=0,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_unpowered"
|
||||
},
|
||||
"facing=south,power=0,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=0,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=0,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=0,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_bottom",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=lower": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_bottom"
|
||||
},
|
||||
"facing=south,half=lower": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_bottom",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=lower": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_bottom",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,half=upper": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_top",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=upper": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_top"
|
||||
},
|
||||
"facing=south,half=upper": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_top",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=upper": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_top",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/exposed_copper_mower",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/exposed_copper_mower"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/exposed_copper_mower",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/exposed_copper_mower",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open"
|
||||
},
|
||||
"facing=south,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,ejecting=true": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,ejecting=true": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open"
|
||||
},
|
||||
"facing=south,ejecting=true": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,ejecting=true": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/exposed_copper_washer",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/exposed_copper_washer"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/exposed_copper_washer",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/exposed_copper_washer",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,934 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,power=0,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=0,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=0,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_unpowered"
|
||||
},
|
||||
"facing=north,power=0,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_unpowered"
|
||||
},
|
||||
"facing=south,power=0,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=0,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=0,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=0,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_bottom",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=lower": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_bottom"
|
||||
},
|
||||
"facing=south,half=lower": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_bottom",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=lower": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_bottom",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,half=upper": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_top",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=upper": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_top"
|
||||
},
|
||||
"facing=south,half=upper": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_top",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=upper": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_top",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/oxidized_copper_mower",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/oxidized_copper_mower"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/oxidized_copper_mower",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/oxidized_copper_mower",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open"
|
||||
},
|
||||
"facing=south,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,ejecting=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,ejecting=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open"
|
||||
},
|
||||
"facing=south,ejecting=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,ejecting=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/oxidized_copper_washer",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/oxidized_copper_washer"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/oxidized_copper_washer",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/oxidized_copper_washer",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,484 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=south,screen=off": {
|
||||
"model": "cobblemon:block/monitor"
|
||||
},
|
||||
"facing=west,screen=off": {
|
||||
"model": "cobblemon:block/monitor",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=off": {
|
||||
"model": "cobblemon:block/monitor",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=off": {
|
||||
"model": "cobblemon:block/monitor",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=blue_progress_1": {
|
||||
"model": "cobblemon:block/monitor_scanning_0"
|
||||
},
|
||||
"facing=west,screen=blue_progress_1": {
|
||||
"model": "cobblemon:block/monitor_scanning_0",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=blue_progress_1": {
|
||||
"model": "cobblemon:block/monitor_scanning_0",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=blue_progress_1": {
|
||||
"model": "cobblemon:block/monitor_scanning_0",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=blue_progress_2": {
|
||||
"model": "cobblemon:block/monitor_scanning_1"
|
||||
},
|
||||
"facing=west,screen=blue_progress_2": {
|
||||
"model": "cobblemon:block/monitor_scanning_1",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=blue_progress_2": {
|
||||
"model": "cobblemon:block/monitor_scanning_1",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=blue_progress_2": {
|
||||
"model": "cobblemon:block/monitor_scanning_1",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=blue_progress_3": {
|
||||
"model": "cobblemon:block/monitor_scanning_2"
|
||||
},
|
||||
"facing=west,screen=blue_progress_3": {
|
||||
"model": "cobblemon:block/monitor_scanning_2",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=blue_progress_3": {
|
||||
"model": "cobblemon:block/monitor_scanning_2",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=blue_progress_3": {
|
||||
"model": "cobblemon:block/monitor_scanning_2",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=blue_progress_4": {
|
||||
"model": "cobblemon:block/monitor_scanning_3"
|
||||
},
|
||||
"facing=west,screen=blue_progress_4": {
|
||||
"model": "cobblemon:block/monitor_scanning_3",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=blue_progress_4": {
|
||||
"model": "cobblemon:block/monitor_scanning_3",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=blue_progress_4": {
|
||||
"model": "cobblemon:block/monitor_scanning_3",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=blue_progress_5": {
|
||||
"model": "cobblemon:block/monitor_scanning_4"
|
||||
},
|
||||
"facing=west,screen=blue_progress_5": {
|
||||
"model": "cobblemon:block/monitor_scanning_4",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=blue_progress_5": {
|
||||
"model": "cobblemon:block/monitor_scanning_4",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=blue_progress_5": {
|
||||
"model": "cobblemon:block/monitor_scanning_4",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=blue_progress_6": {
|
||||
"model": "cobblemon:block/monitor_scanning_5"
|
||||
},
|
||||
"facing=west,screen=blue_progress_6": {
|
||||
"model": "cobblemon:block/monitor_scanning_5",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=blue_progress_6": {
|
||||
"model": "cobblemon:block/monitor_scanning_5",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=blue_progress_6": {
|
||||
"model": "cobblemon:block/monitor_scanning_5",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=blue_progress_7": {
|
||||
"model": "cobblemon:block/monitor_scanning_6"
|
||||
},
|
||||
"facing=west,screen=blue_progress_7": {
|
||||
"model": "cobblemon:block/monitor_scanning_6",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=blue_progress_7": {
|
||||
"model": "cobblemon:block/monitor_scanning_6",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=blue_progress_7": {
|
||||
"model": "cobblemon:block/monitor_scanning_6",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=blue_progress_8": {
|
||||
"model": "cobblemon:block/monitor_scanning_7"
|
||||
},
|
||||
"facing=west,screen=blue_progress_8": {
|
||||
"model": "cobblemon:block/monitor_scanning_7",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=blue_progress_8": {
|
||||
"model": "cobblemon:block/monitor_scanning_7",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=blue_progress_8": {
|
||||
"model": "cobblemon:block/monitor_scanning_7",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=blue_progress_9": {
|
||||
"model": "cobblemon:block/monitor_scanning_8"
|
||||
},
|
||||
"facing=west,screen=blue_progress_9": {
|
||||
"model": "cobblemon:block/monitor_scanning_8",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=blue_progress_9": {
|
||||
"model": "cobblemon:block/monitor_scanning_8",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=blue_progress_9": {
|
||||
"model": "cobblemon:block/monitor_scanning_8",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=green_progress_9": {
|
||||
"model": "cobblemon:block/monitor_locked"
|
||||
},
|
||||
"facing=west,screen=green_progress_9": {
|
||||
"model": "cobblemon:block/monitor_locked",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=green_progress_9": {
|
||||
"model": "cobblemon:block/monitor_locked",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=green_progress_9": {
|
||||
"model": "cobblemon:block/monitor_locked",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_normal": {
|
||||
"model": "cobblemon:block/monitor_tm_normal"
|
||||
},
|
||||
"facing=west,screen=tm_normal": {
|
||||
"model": "cobblemon:block/monitor_tm_normal",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_normal": {
|
||||
"model": "cobblemon:block/monitor_tm_normal",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_normal": {
|
||||
"model": "cobblemon:block/monitor_tm_normal",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_fire": {
|
||||
"model": "cobblemon:block/monitor_tm_fire"
|
||||
},
|
||||
"facing=west,screen=tm_fire": {
|
||||
"model": "cobblemon:block/monitor_tm_fire",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_fire": {
|
||||
"model": "cobblemon:block/monitor_tm_fire",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_fire": {
|
||||
"model": "cobblemon:block/monitor_tm_fire",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_water": {
|
||||
"model": "cobblemon:block/monitor_tm_water"
|
||||
},
|
||||
"facing=west,screen=tm_water": {
|
||||
"model": "cobblemon:block/monitor_tm_water",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_water": {
|
||||
"model": "cobblemon:block/monitor_tm_water",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_water": {
|
||||
"model": "cobblemon:block/monitor_tm_water",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_grass": {
|
||||
"model": "cobblemon:block/monitor_tm_grass"
|
||||
},
|
||||
"facing=west,screen=tm_grass": {
|
||||
"model": "cobblemon:block/monitor_tm_grass",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_grass": {
|
||||
"model": "cobblemon:block/monitor_tm_grass",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_grass": {
|
||||
"model": "cobblemon:block/monitor_tm_grass",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_electric": {
|
||||
"model": "cobblemon:block/monitor_tm_electric"
|
||||
},
|
||||
"facing=west,screen=tm_electric": {
|
||||
"model": "cobblemon:block/monitor_tm_electric",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_electric": {
|
||||
"model": "cobblemon:block/monitor_tm_electric",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_electric": {
|
||||
"model": "cobblemon:block/monitor_tm_electric",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_ice": {
|
||||
"model": "cobblemon:block/monitor_tm_ice"
|
||||
},
|
||||
"facing=west,screen=tm_ice": {
|
||||
"model": "cobblemon:block/monitor_tm_ice",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_ice": {
|
||||
"model": "cobblemon:block/monitor_tm_ice",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_ice": {
|
||||
"model": "cobblemon:block/monitor_tm_ice",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_fighting": {
|
||||
"model": "cobblemon:block/monitor_tm_fighting"
|
||||
},
|
||||
"facing=west,screen=tm_fighting": {
|
||||
"model": "cobblemon:block/monitor_tm_fighting",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_fighting": {
|
||||
"model": "cobblemon:block/monitor_tm_fighting",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_fighting": {
|
||||
"model": "cobblemon:block/monitor_tm_fighting",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_poison": {
|
||||
"model": "cobblemon:block/monitor_tm_poison"
|
||||
},
|
||||
"facing=west,screen=tm_poison": {
|
||||
"model": "cobblemon:block/monitor_tm_poison",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_poison": {
|
||||
"model": "cobblemon:block/monitor_tm_poison",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_poison": {
|
||||
"model": "cobblemon:block/monitor_tm_poison",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_ground": {
|
||||
"model": "cobblemon:block/monitor_tm_ground"
|
||||
},
|
||||
"facing=west,screen=tm_ground": {
|
||||
"model": "cobblemon:block/monitor_tm_ground",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_ground": {
|
||||
"model": "cobblemon:block/monitor_tm_ground",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_ground": {
|
||||
"model": "cobblemon:block/monitor_tm_ground",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_flying": {
|
||||
"model": "cobblemon:block/monitor_tm_flying"
|
||||
},
|
||||
"facing=west,screen=tm_flying": {
|
||||
"model": "cobblemon:block/monitor_tm_flying",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_flying": {
|
||||
"model": "cobblemon:block/monitor_tm_flying",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_flying": {
|
||||
"model": "cobblemon:block/monitor_tm_flying",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_psychic": {
|
||||
"model": "cobblemon:block/monitor_tm_psychic"
|
||||
},
|
||||
"facing=west,screen=tm_psychic": {
|
||||
"model": "cobblemon:block/monitor_tm_psychic",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_psychic": {
|
||||
"model": "cobblemon:block/monitor_tm_psychic",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_psychic": {
|
||||
"model": "cobblemon:block/monitor_tm_psychic",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_bug": {
|
||||
"model": "cobblemon:block/monitor_tm_bug"
|
||||
},
|
||||
"facing=west,screen=tm_bug": {
|
||||
"model": "cobblemon:block/monitor_tm_bug",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_bug": {
|
||||
"model": "cobblemon:block/monitor_tm_bug",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_bug": {
|
||||
"model": "cobblemon:block/monitor_tm_bug",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_rock": {
|
||||
"model": "cobblemon:block/monitor_tm_rock"
|
||||
},
|
||||
"facing=west,screen=tm_rock": {
|
||||
"model": "cobblemon:block/monitor_tm_rock",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_rock": {
|
||||
"model": "cobblemon:block/monitor_tm_rock",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_rock": {
|
||||
"model": "cobblemon:block/monitor_tm_rock",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_ghost": {
|
||||
"model": "cobblemon:block/monitor_tm_ghost"
|
||||
},
|
||||
"facing=west,screen=tm_ghost": {
|
||||
"model": "cobblemon:block/monitor_tm_ghost",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_ghost": {
|
||||
"model": "cobblemon:block/monitor_tm_ghost",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_ghost": {
|
||||
"model": "cobblemon:block/monitor_tm_ghost",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_dragon": {
|
||||
"model": "cobblemon:block/monitor_tm_dragon"
|
||||
},
|
||||
"facing=west,screen=tm_dragon": {
|
||||
"model": "cobblemon:block/monitor_tm_dragon",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_dragon": {
|
||||
"model": "cobblemon:block/monitor_tm_dragon",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_dragon": {
|
||||
"model": "cobblemon:block/monitor_tm_dragon",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_dark": {
|
||||
"model": "cobblemon:block/monitor_tm_dark"
|
||||
},
|
||||
"facing=west,screen=tm_dark": {
|
||||
"model": "cobblemon:block/monitor_tm_dark",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_dark": {
|
||||
"model": "cobblemon:block/monitor_tm_dark",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_dark": {
|
||||
"model": "cobblemon:block/monitor_tm_dark",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_steel": {
|
||||
"model": "cobblemon:block/monitor_tm_steel"
|
||||
},
|
||||
"facing=west,screen=tm_steel": {
|
||||
"model": "cobblemon:block/monitor_tm_steel",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_steel": {
|
||||
"model": "cobblemon:block/monitor_tm_steel",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_steel": {
|
||||
"model": "cobblemon:block/monitor_tm_steel",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=tm_fairy": {
|
||||
"model": "cobblemon:block/monitor_tm_fairy"
|
||||
},
|
||||
"facing=west,screen=tm_fairy": {
|
||||
"model": "cobblemon:block/monitor_tm_fairy",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=tm_fairy": {
|
||||
"model": "cobblemon:block/monitor_tm_fairy",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=tm_fairy": {
|
||||
"model": "cobblemon:block/monitor_tm_fairy",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=music": {
|
||||
"model": "cobblemon:block/monitor_music"
|
||||
},
|
||||
"facing=west,screen=music": {
|
||||
"model": "cobblemon:block/monitor_music",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=music": {
|
||||
"model": "cobblemon:block/monitor_music",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=music": {
|
||||
"model": "cobblemon:block/monitor_music",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=porygon_grid": {
|
||||
"model": "cobblemon:block/monitor_grid"
|
||||
},
|
||||
"facing=west,screen=porygon_grid": {
|
||||
"model": "cobblemon:block/monitor_grid",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=porygon_grid": {
|
||||
"model": "cobblemon:block/monitor_grid",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=porygon_grid": {
|
||||
"model": "cobblemon:block/monitor_grid",
|
||||
"y": 270
|
||||
},
|
||||
"facing=south,screen=porygon_glitching": {
|
||||
"model": "cobblemon:block/monitor_glitching"
|
||||
},
|
||||
"facing=west,screen=porygon_glitching": {
|
||||
"model": "cobblemon:block/monitor_glitching",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,screen=porygon_glitching": {
|
||||
"model": "cobblemon:block/monitor_glitching",
|
||||
"y": 180
|
||||
},
|
||||
"facing=east,screen=porygon_glitching": {
|
||||
"model": "cobblemon:block/monitor_glitching",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,934 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,power=0,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=0,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=0,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_unpowered"
|
||||
},
|
||||
"facing=north,power=0,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_unpowered"
|
||||
},
|
||||
"facing=south,power=0,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=0,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=0,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=0,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower": {
|
||||
"model": "cobblemon:block/copper_fridge_bottom",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=lower": {
|
||||
"model": "cobblemon:block/copper_fridge_bottom"
|
||||
},
|
||||
"facing=south,half=lower": {
|
||||
"model": "cobblemon:block/copper_fridge_bottom",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=lower": {
|
||||
"model": "cobblemon:block/copper_fridge_bottom",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,half=upper": {
|
||||
"model": "cobblemon:block/copper_fridge_top",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=upper": {
|
||||
"model": "cobblemon:block/copper_fridge_top"
|
||||
},
|
||||
"facing=south,half=upper": {
|
||||
"model": "cobblemon:block/copper_fridge_top",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=upper": {
|
||||
"model": "cobblemon:block/copper_fridge_top",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/copper_mower",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/copper_mower"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/copper_mower",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/copper_mower",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_open"
|
||||
},
|
||||
"facing=south,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,ejecting=true": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,ejecting=true": {
|
||||
"model": "cobblemon:block/copper_oven_open"
|
||||
},
|
||||
"facing=south,ejecting=true": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,ejecting=true": {
|
||||
"model": "cobblemon:block/copper_oven_open",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/copper_washer",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/copper_washer"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/copper_washer",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/copper_washer",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,934 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,power=0,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=0,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=0,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_unpowered"
|
||||
},
|
||||
"facing=north,power=0,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_unpowered"
|
||||
},
|
||||
"facing=south,power=0,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=0,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=0,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=0,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/exposed_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/exposed_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_bottom",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=lower": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_bottom"
|
||||
},
|
||||
"facing=south,half=lower": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_bottom",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=lower": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_bottom",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,half=upper": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_top",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=upper": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_top"
|
||||
},
|
||||
"facing=south,half=upper": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_top",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=upper": {
|
||||
"model": "cobblemon:block/exposed_copper_fridge_top",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/exposed_copper_mower",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/exposed_copper_mower"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/exposed_copper_mower",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/exposed_copper_mower",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open"
|
||||
},
|
||||
"facing=south,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,ejecting=true": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,ejecting=true": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open"
|
||||
},
|
||||
"facing=south,ejecting=true": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,ejecting=true": {
|
||||
"model": "cobblemon:block/exposed_copper_oven_open",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/exposed_copper_washer",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/exposed_copper_washer"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/exposed_copper_washer",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/exposed_copper_washer",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+934
@@ -0,0 +1,934 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,power=0,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=0,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=0,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_unpowered"
|
||||
},
|
||||
"facing=north,power=0,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_unpowered"
|
||||
},
|
||||
"facing=south,power=0,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=0,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=0,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=0,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_bottom",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=lower": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_bottom"
|
||||
},
|
||||
"facing=south,half=lower": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_bottom",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=lower": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_bottom",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,half=upper": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_top",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=upper": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_top"
|
||||
},
|
||||
"facing=south,half=upper": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_top",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=upper": {
|
||||
"model": "cobblemon:block/oxidized_copper_fridge_top",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/oxidized_copper_mower",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/oxidized_copper_mower"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/oxidized_copper_mower",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/oxidized_copper_mower",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=closed,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open"
|
||||
},
|
||||
"facing=south,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=open,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed"
|
||||
},
|
||||
"facing=south,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,cooking=cooking,ejecting=false": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_closed",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,ejecting=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,ejecting=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open"
|
||||
},
|
||||
"facing=south,ejecting=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,ejecting=true": {
|
||||
"model": "cobblemon:block/oxidized_copper_oven_open",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/oxidized_copper_washer",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/oxidized_copper_washer"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/oxidized_copper_washer",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/oxidized_copper_washer",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+934
@@ -0,0 +1,934 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,power=0,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=0,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_unpowered",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=0,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_unpowered"
|
||||
},
|
||||
"facing=north,power=0,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_unpowered"
|
||||
},
|
||||
"facing=south,power=0,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=0,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_unpowered",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=0,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=0,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_unpowered",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=1,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=2,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=3,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=4,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=5,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=6,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative"
|
||||
},
|
||||
"facing=north,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative"
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing"
|
||||
},
|
||||
"facing=north,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing"
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=7,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=8,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=9,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=10,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=11,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=12,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=13,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=14,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong"
|
||||
},
|
||||
"facing=north,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong"
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=false,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_decorative_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=east,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong"
|
||||
},
|
||||
"facing=north,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong"
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=south,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=false": {
|
||||
"model": "cobblemon:block/weathered_copper_fan_pushing_strong",
|
||||
"y": 270
|
||||
},
|
||||
"facing=west,power=15,push=true,wall=true": {
|
||||
"model": "cobblemon:block/weathered_copper_wall_fan_pushing_strong",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east,half=lower": {
|
||||
"model": "cobblemon:block/weathered_copper_fridge_bottom",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=lower": {
|
||||
"model": "cobblemon:block/weathered_copper_fridge_bottom"
|
||||
},
|
||||
"facing=south,half=lower": {
|
||||
"model": "cobblemon:block/weathered_copper_fridge_bottom",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=lower": {
|
||||
"model": "cobblemon:block/weathered_copper_fridge_bottom",
|
||||
"y": 270
|
||||
},
|
||||
"facing=east,half=upper": {
|
||||
"model": "cobblemon:block/weathered_copper_fridge_top",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north,half=upper": {
|
||||
"model": "cobblemon:block/weathered_copper_fridge_top"
|
||||
},
|
||||
"facing=south,half=upper": {
|
||||
"model": "cobblemon:block/weathered_copper_fridge_top",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west,half=upper": {
|
||||
"model": "cobblemon:block/weathered_copper_fridge_top",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=east": {
|
||||
"model": "cobblemon:block/weathered_copper_mower",
|
||||
"y": 90
|
||||
},
|
||||
"facing=north": {
|
||||
"model": "cobblemon:block/weathered_copper_mower"
|
||||
},
|
||||
"facing=south": {
|
||||
"model": "cobblemon:block/weathered_copper_mower",
|
||||
"y": 180
|
||||
},
|
||||
"facing=west": {
|
||||
"model": "cobblemon:block/weathered_copper_mower",
|
||||
"y": 270
|
||||
}
|
||||
}
|
||||
}
|
||||
Loaded 100 of 461 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user