├── .gitignore ├── DispenseEverything ├── data │ ├── tryashtar.dispense_everything │ │ ├── tags │ │ │ ├── blocks │ │ │ │ ├── sound │ │ │ │ │ ├── bamboo.json │ │ │ │ │ ├── ladder.json │ │ │ │ │ ├── lantern.json │ │ │ │ │ ├── honey_block.json │ │ │ │ │ ├── nether_wart.json │ │ │ │ │ ├── scaffolding.json │ │ │ │ │ ├── snow.json │ │ │ │ │ ├── anvil.json │ │ │ │ │ ├── bamboo_sapling.json │ │ │ │ │ ├── sweet_berry_bush.json │ │ │ │ │ ├── slime_block.json │ │ │ │ │ ├── coral_block.json │ │ │ │ │ ├── wool.json │ │ │ │ │ ├── sand.json │ │ │ │ │ ├── gravel.json │ │ │ │ │ ├── crop.json │ │ │ │ │ ├── wet_grass.json │ │ │ │ │ ├── glass.json │ │ │ │ │ ├── metal.json │ │ │ │ │ └── grass.json │ │ │ │ ├── material │ │ │ │ │ ├── cake.json │ │ │ │ │ ├── fire.json │ │ │ │ │ ├── lava.json │ │ │ │ │ ├── water.json │ │ │ │ │ ├── web.json │ │ │ │ │ ├── bamboo.json │ │ │ │ │ ├── barrier.json │ │ │ │ │ ├── cactus.json │ │ │ │ │ ├── explosive.json │ │ │ │ │ ├── snow.json │ │ │ │ │ ├── top_snow.json │ │ │ │ │ ├── leaves.json │ │ │ │ │ ├── bamboo_sapling.json │ │ │ │ │ ├── bubble_column.json │ │ │ │ │ ├── buildable_glass.json │ │ │ │ │ ├── structural_air.json │ │ │ │ │ ├── cloth_decoration.json │ │ │ │ │ ├── ice.json │ │ │ │ │ ├── egg.json │ │ │ │ │ ├── sponge.json │ │ │ │ │ ├── air.json │ │ │ │ │ ├── ice_solid.json │ │ │ │ │ ├── irreplaceable_plant.json │ │ │ │ │ ├── wool.json │ │ │ │ │ ├── heavy_metal.json │ │ │ │ │ ├── replaceable_water_plant.json │ │ │ │ │ ├── shulker_shell.json │ │ │ │ │ ├── portal.json │ │ │ │ │ ├── vegetable.json │ │ │ │ │ ├── dirt.json │ │ │ │ │ ├── piston.json │ │ │ │ │ ├── grass.json │ │ │ │ │ ├── merged │ │ │ │ │ │ ├── break_cactus.json │ │ │ │ │ │ ├── melt_ice.json │ │ │ │ │ │ ├── liquid.json │ │ │ │ │ │ └── replaceable.json │ │ │ │ │ ├── water_plant.json │ │ │ │ │ ├── replaceable_plant.json │ │ │ │ │ ├── sand.json │ │ │ │ │ ├── glass.json │ │ │ │ │ ├── clay.json │ │ │ │ │ ├── plant.json │ │ │ │ │ ├── decoration.json │ │ │ │ │ └── metal.json │ │ │ │ ├── tool │ │ │ │ │ ├── diamond_pickaxe.json │ │ │ │ │ ├── stone_pickaxe.json │ │ │ │ │ ├── iron_pickaxe.json │ │ │ │ │ └── shovel.json │ │ │ │ ├── support │ │ │ │ │ ├── down_any_3.json │ │ │ │ │ ├── up_center_3.json │ │ │ │ │ ├── east_full_2.json │ │ │ │ │ ├── up_any_2.json │ │ │ │ │ ├── down_center_3.json │ │ │ │ │ ├── east_any_8.json │ │ │ │ │ ├── up_center_2.json │ │ │ │ │ ├── east_any_3.json │ │ │ │ │ ├── east_any_6.json │ │ │ │ │ ├── up_center_4.json │ │ │ │ │ └── east_any_4.json │ │ │ │ └── groups │ │ │ │ │ ├── chest.json │ │ │ │ │ ├── bamboo.json │ │ │ │ │ ├── piston.json │ │ │ │ │ ├── place_chorus.json │ │ │ │ │ ├── place_end_crystal.json │ │ │ │ │ ├── redstone.json │ │ │ │ │ ├── air.json │ │ │ │ │ ├── leaves_bamboo.json │ │ │ │ │ ├── banner_sign.json │ │ │ │ │ ├── place_cactus.json │ │ │ │ │ ├── replaceable_water.json │ │ │ │ │ ├── tillable.json │ │ │ │ │ ├── fence_pane.json │ │ │ │ │ ├── big_coral.json │ │ │ │ │ ├── place_plant.json │ │ │ │ │ ├── place_item_frame.json │ │ │ │ │ ├── place_wither_rose.json │ │ │ │ │ ├── tall.json │ │ │ │ │ ├── dead_coral.json │ │ │ │ │ ├── small_coral.json │ │ │ │ │ ├── place_sugar_cane.json │ │ │ │ │ ├── head.json │ │ │ │ │ ├── pressure_plate.json │ │ │ │ │ ├── place_dead_bush.json │ │ │ │ │ ├── dead_big_coral.json │ │ │ │ │ ├── fence_gate.json │ │ │ │ │ ├── place_snow.json │ │ │ │ │ ├── wall_head.json │ │ │ │ │ ├── infested.json │ │ │ │ │ ├── needs_cloning.json │ │ │ │ │ ├── concrete.json │ │ │ │ │ ├── dead_small_coral.json │ │ │ │ │ ├── terracotta.json │ │ │ │ │ ├── shulker_box.json │ │ │ │ │ ├── glass.json │ │ │ │ │ ├── concrete_powder.json │ │ │ │ │ ├── glazed_terracotta.json │ │ │ │ │ └── glass_pane.json │ │ │ ├── items │ │ │ │ ├── fish.json │ │ │ │ ├── pig_food.json │ │ │ │ ├── rabbit_food.json │ │ │ │ ├── horse_food.json │ │ │ │ ├── seeds.json │ │ │ │ ├── axe.json │ │ │ │ ├── hoe.json │ │ │ │ ├── horse_armor.json │ │ │ │ ├── shovel.json │ │ │ │ ├── stack_16.json │ │ │ │ ├── meat.json │ │ │ │ └── dye.json │ │ │ └── entity_types │ │ │ │ ├── collared.json │ │ │ │ ├── llama.json │ │ │ │ ├── milkable.json │ │ │ │ ├── breedable_horse.json │ │ │ │ ├── likes_wheat.json │ │ │ │ ├── chestable.json │ │ │ │ └── horselike.json │ │ ├── predicates │ │ │ ├── random_25.json │ │ │ ├── random_50.json │ │ │ ├── random_33.json │ │ │ ├── any_water.json │ │ │ ├── waterlog.json │ │ │ ├── baby.json │ │ │ ├── item │ │ │ │ ├── carpet.json │ │ │ │ ├── flower.json │ │ │ │ ├── axe.json │ │ │ │ ├── dye.json │ │ │ │ ├── fish.json │ │ │ │ ├── hoe.json │ │ │ │ ├── meat.json │ │ │ │ ├── small_flower.json │ │ │ │ ├── seeds.json │ │ │ │ ├── shovel.json │ │ │ │ ├── pig_food.json │ │ │ │ ├── stack_1.json │ │ │ │ ├── stack_16.json │ │ │ │ ├── horse_armor.json │ │ │ │ ├── horse_food.json │ │ │ │ └── rabbit_food.json │ │ │ ├── support │ │ │ │ ├── pressure_plate.json │ │ │ │ ├── redstone.json │ │ │ │ ├── sugar_cane.json │ │ │ │ ├── lily_pad.json │ │ │ │ ├── kelp.json │ │ │ │ └── item_frame │ │ │ │ │ └── down.json │ │ │ └── generous_waterlog.json │ │ ├── functions │ │ │ ├── behavior │ │ │ │ ├── normal │ │ │ │ │ ├── 13.mcfunction │ │ │ │ │ ├── 40.mcfunction │ │ │ │ │ ├── 38.mcfunction │ │ │ │ │ └── 37.mcfunction │ │ │ │ └── special │ │ │ │ │ ├── extra │ │ │ │ │ ├── breed.mcfunction │ │ │ │ │ ├── kill_parrot.mcfunction │ │ │ │ │ ├── saddle_horse.mcfunction │ │ │ │ │ ├── saddle_pig.mcfunction │ │ │ │ │ ├── painting │ │ │ │ │ │ ├── east │ │ │ │ │ │ │ ├── 4x2.mcfunction │ │ │ │ │ │ │ ├── 1x2.mcfunction │ │ │ │ │ │ │ ├── 4x3.mcfunction │ │ │ │ │ │ │ ├── 4x4.mcfunction │ │ │ │ │ │ │ ├── 2x1.mcfunction │ │ │ │ │ │ │ └── 2x2.mcfunction │ │ │ │ │ │ ├── north │ │ │ │ │ │ │ ├── 4x2.mcfunction │ │ │ │ │ │ │ ├── 1x2.mcfunction │ │ │ │ │ │ │ ├── 4x3.mcfunction │ │ │ │ │ │ │ ├── 4x4.mcfunction │ │ │ │ │ │ │ ├── 2x1.mcfunction │ │ │ │ │ │ │ └── 2x2.mcfunction │ │ │ │ │ │ ├── south │ │ │ │ │ │ │ ├── 4x2.mcfunction │ │ │ │ │ │ │ ├── 1x2.mcfunction │ │ │ │ │ │ │ ├── 4x3.mcfunction │ │ │ │ │ │ │ ├── 4x4.mcfunction │ │ │ │ │ │ │ ├── 2x1.mcfunction │ │ │ │ │ │ │ └── 2x2.mcfunction │ │ │ │ │ │ └── west │ │ │ │ │ │ │ ├── 4x2.mcfunction │ │ │ │ │ │ │ ├── 1x2.mcfunction │ │ │ │ │ │ │ ├── 4x3.mcfunction │ │ │ │ │ │ │ ├── 4x4.mcfunction │ │ │ │ │ │ │ ├── 2x1.mcfunction │ │ │ │ │ │ │ └── 2x2.mcfunction │ │ │ │ │ ├── age_up.mcfunction │ │ │ │ │ ├── horse_armor.mcfunction │ │ │ │ │ ├── carpet_llama.mcfunction │ │ │ │ │ ├── name_tag.mcfunction │ │ │ │ │ ├── milk_cow.mcfunction │ │ │ │ │ ├── bowl.mcfunction │ │ │ │ │ ├── cure_zombie.mcfunction │ │ │ │ │ ├── feed_animal.mcfunction │ │ │ │ │ ├── till_dirt.mcfunction │ │ │ │ │ ├── bowl_stew.mcfunction │ │ │ │ │ ├── chest_horse.mcfunction │ │ │ │ │ ├── bowl_suspicious.mcfunction │ │ │ │ │ ├── saddle.mcfunction │ │ │ │ │ └── repair_golem.mcfunction │ │ │ │ │ ├── merge │ │ │ │ │ ├── end_portal │ │ │ │ │ │ ├── create_portal.mcfunction │ │ │ │ │ │ ├── east.mcfunction │ │ │ │ │ │ ├── south.mcfunction │ │ │ │ │ │ ├── west.mcfunction │ │ │ │ │ │ ├── north.mcfunction │ │ │ │ │ │ └── check_portal.mcfunction │ │ │ │ │ ├── item_frame.mcfunction │ │ │ │ │ ├── cauldron │ │ │ │ │ │ ├── water_bucket.mcfunction │ │ │ │ │ │ ├── bucket.mcfunction │ │ │ │ │ │ ├── leather_armor.mcfunction │ │ │ │ │ │ ├── water_bottle.mcfunction │ │ │ │ │ │ └── glass_bottle.mcfunction │ │ │ │ │ ├── scaffolding.mcfunction │ │ │ │ │ ├── scaffolding_place.mcfunction │ │ │ │ │ ├── music_disc │ │ │ │ │ │ ├── 11.mcfunction │ │ │ │ │ │ ├── 13.mcfunction │ │ │ │ │ │ ├── cat.mcfunction │ │ │ │ │ │ ├── far.mcfunction │ │ │ │ │ │ ├── mall.mcfunction │ │ │ │ │ │ ├── stal.mcfunction │ │ │ │ │ │ ├── wait.mcfunction │ │ │ │ │ │ ├── ward.mcfunction │ │ │ │ │ │ ├── chirp.mcfunction │ │ │ │ │ │ ├── strad.mcfunction │ │ │ │ │ │ ├── blocks.mcfunction │ │ │ │ │ │ └── mellohi.mcfunction │ │ │ │ │ ├── vine.mcfunction │ │ │ │ │ ├── lectern.mcfunction │ │ │ │ │ ├── snow.mcfunction │ │ │ │ │ └── end_portal.mcfunction │ │ │ │ │ ├── turtle_egg.mcfunction │ │ │ │ │ ├── shared │ │ │ │ │ ├── torch │ │ │ │ │ │ ├── ground.mcfunction │ │ │ │ │ │ ├── east.mcfunction │ │ │ │ │ │ ├── west.mcfunction │ │ │ │ │ │ ├── north.mcfunction │ │ │ │ │ │ └── south.mcfunction │ │ │ │ │ ├── slab.mcfunction │ │ │ │ │ ├── stairs.mcfunction │ │ │ │ │ ├── axis.mcfunction │ │ │ │ │ ├── ladder_hook │ │ │ │ │ │ ├── east.mcfunction │ │ │ │ │ │ ├── west.mcfunction │ │ │ │ │ │ ├── north.mcfunction │ │ │ │ │ │ └── south.mcfunction │ │ │ │ │ ├── chest.mcfunction │ │ │ │ │ ├── stairs │ │ │ │ │ │ ├── top.mcfunction │ │ │ │ │ │ └── bottom.mcfunction │ │ │ │ │ ├── button │ │ │ │ │ │ ├── floor.mcfunction │ │ │ │ │ │ └── ceiling.mcfunction │ │ │ │ │ ├── trapdoor │ │ │ │ │ │ ├── open │ │ │ │ │ │ │ ├── top.mcfunction │ │ │ │ │ │ │ └── bottom.mcfunction │ │ │ │ │ │ └── closed │ │ │ │ │ │ │ ├── top.mcfunction │ │ │ │ │ │ │ └── bottom.mcfunction │ │ │ │ │ ├── horizontal.mcfunction │ │ │ │ │ ├── banner_sign │ │ │ │ │ │ └── ground.mcfunction │ │ │ │ │ ├── directional │ │ │ │ │ │ ├── up.mcfunction │ │ │ │ │ │ ├── down.mcfunction │ │ │ │ │ │ ├── east.mcfunction │ │ │ │ │ │ ├── west.mcfunction │ │ │ │ │ │ ├── north.mcfunction │ │ │ │ │ │ └── south.mcfunction │ │ │ │ │ └── chest │ │ │ │ │ │ ├── left │ │ │ │ │ │ ├── east.mcfunction │ │ │ │ │ │ ├── west.mcfunction │ │ │ │ │ │ ├── north.mcfunction │ │ │ │ │ │ └── south.mcfunction │ │ │ │ │ │ ├── right │ │ │ │ │ │ ├── east.mcfunction │ │ │ │ │ │ ├── west.mcfunction │ │ │ │ │ │ ├── north.mcfunction │ │ │ │ │ │ └── south.mcfunction │ │ │ │ │ │ └── single │ │ │ │ │ │ ├── east.mcfunction │ │ │ │ │ │ ├── west.mcfunction │ │ │ │ │ │ ├── north.mcfunction │ │ │ │ │ │ └── south.mcfunction │ │ │ │ │ ├── redstone_lamp.mcfunction │ │ │ │ │ ├── bamboo.mcfunction │ │ │ │ │ ├── lantern.mcfunction │ │ │ │ │ ├── hopper.mcfunction │ │ │ │ │ └── cocoa_beans.mcfunction │ │ │ ├── update_motion.mcfunction │ │ │ ├── clone_update.mcfunction │ │ │ ├── .meta │ │ │ │ ├── load.mcfunction │ │ │ │ └── setup.mcfunction │ │ │ ├── failure │ │ │ │ └── create │ │ │ │ │ ├── 0.mcfunction │ │ │ │ │ ├── 1.mcfunction │ │ │ │ │ ├── 2.mcfunction │ │ │ │ │ ├── 3.mcfunction │ │ │ │ │ ├── 4.mcfunction │ │ │ │ │ ├── 5.mcfunction │ │ │ │ │ ├── 6.mcfunction │ │ │ │ │ ├── 7.mcfunction │ │ │ │ │ └── 8.mcfunction │ │ │ ├── decrement_xp.mcfunction │ │ │ ├── return_trident.mcfunction │ │ │ ├── pearl_land.mcfunction │ │ │ ├── orient │ │ │ │ ├── up.mcfunction │ │ │ │ ├── down.mcfunction │ │ │ │ ├── east.mcfunction │ │ │ │ ├── north.mcfunction │ │ │ │ ├── south.mcfunction │ │ │ │ └── west.mcfunction │ │ │ └── pearl_teleport.mcfunction │ │ └── recipes │ │ │ └── convenient_dispenser.json │ └── minecraft │ │ └── tags │ │ └── functions │ │ └── load.json └── pack.mcmeta ├── BreedItems ├── data │ ├── minecraft │ │ └── tags │ │ │ └── functions │ │ │ ├── load.json │ │ │ └── tick.json │ └── tryashtar.breed_items │ │ ├── functions │ │ └── .meta │ │ │ ├── load.mcfunction │ │ │ └── tick.mcfunction │ │ └── tags │ │ └── entity_types │ │ ├── tameable.json │ │ └── breedable.json └── pack.mcmeta ├── DyeableEnderChests ├── data │ ├── minecraft │ │ └── tags │ │ │ └── functions │ │ │ ├── load.json │ │ │ └── tick.json │ └── tryashtar.ender_chests │ │ ├── functions │ │ ├── ender_chest │ │ │ ├── welcome.mcfunction │ │ │ ├── delete.mcfunction │ │ │ ├── return.mcfunction │ │ │ ├── fetch.mcfunction │ │ │ ├── remove.mcfunction │ │ │ └── create.mcfunction │ │ ├── .meta │ │ │ ├── tick.mcfunction │ │ │ ├── on_entered_world.mcfunction │ │ │ └── load.mcfunction │ │ ├── dye_station │ │ │ ├── indicators │ │ │ │ ├── refresh.mcfunction │ │ │ │ └── animate.mcfunction │ │ │ ├── unlock.mcfunction │ │ │ ├── dye_calculations │ │ │ │ ├── decide_2.mcfunction │ │ │ │ ├── decide_3.mcfunction │ │ │ │ ├── decide_3b.mcfunction │ │ │ │ ├── decide_3a.mcfunction │ │ │ │ └── colors │ │ │ │ │ ├── black.mcfunction │ │ │ │ │ ├── cyan.mcfunction │ │ │ │ │ ├── light_gray.mcfunction │ │ │ │ │ ├── blue.mcfunction │ │ │ │ │ ├── brown.mcfunction │ │ │ │ │ ├── gray.mcfunction │ │ │ │ │ ├── green.mcfunction │ │ │ │ │ ├── lime.mcfunction │ │ │ │ │ ├── red.mcfunction │ │ │ │ │ ├── magenta.mcfunction │ │ │ │ │ ├── orange.mcfunction │ │ │ │ │ ├── pink.mcfunction │ │ │ │ │ ├── purple.mcfunction │ │ │ │ │ ├── white.mcfunction │ │ │ │ │ ├── yellow.mcfunction │ │ │ │ │ └── light_blue.mcfunction │ │ │ ├── lock.mcfunction │ │ │ ├── remove.mcfunction │ │ │ ├── request_chest.mcfunction │ │ │ └── prevent_transfers.mcfunction │ │ └── block_placement │ │ │ ├── bad_dimension.mcfunction │ │ │ ├── create_station.mcfunction │ │ │ ├── rotate │ │ │ ├── south.mcfunction │ │ │ ├── north.mcfunction │ │ │ ├── west.mcfunction │ │ │ └── east.mcfunction │ │ │ └── setup_station.mcfunction │ │ ├── tags │ │ └── blocks │ │ │ └── empty.json │ │ ├── advancements │ │ ├── entered_world.json │ │ ├── recipes │ │ │ └── unlock_hack.json │ │ └── block_placed.json │ │ └── recipes │ │ └── chest_station.json └── pack.mcmeta └── ExtendedPistons ├── data ├── minecraft │ └── tags │ │ └── functions │ │ ├── load.json │ │ └── tick.json └── tryashtar.extended_pistons │ ├── tags │ └── blocks │ │ ├── arm_blocks.json │ │ └── bulldozable.json │ ├── functions │ ├── block_placement │ │ ├── rotate │ │ │ ├── up.mcfunction │ │ │ ├── down.mcfunction │ │ │ ├── east.mcfunction │ │ │ ├── north.mcfunction │ │ │ └── west.mcfunction │ │ ├── create_base.mcfunction │ │ ├── create_sticky_base.mcfunction │ │ └── on_block_placed.mcfunction │ ├── piston_base │ │ ├── tick.mcfunction │ │ ├── start_pull.mcfunction │ │ ├── upgrades │ │ │ ├── move_gold.mcfunction │ │ │ ├── process_pistons.mcfunction │ │ │ ├── remove_ui.mcfunction │ │ │ ├── move_iron_1.mcfunction │ │ │ ├── move_iron_2.mcfunction │ │ │ ├── process_gold.mcfunction │ │ │ └── restore_ui.mcfunction │ │ ├── extended_tick.mcfunction │ │ └── start_push.mcfunction │ ├── piston_arm │ │ ├── prepare_retract.mcfunction │ │ ├── place_wall.mcfunction │ │ ├── place_sticky_wall.mcfunction │ │ └── mark_break.mcfunction │ ├── piston_head │ │ ├── instant_return.mcfunction │ │ └── move_blocks.mcfunction │ ├── .meta │ │ ├── on_entered_world.mcfunction │ │ └── tick.mcfunction │ └── view_stats.mcfunction │ ├── advancements │ ├── entered_world.json │ ├── recipes │ │ ├── unlock_hack1.json │ │ └── unlock_hack2.json │ └── block_placed.json │ └── recipes │ ├── extended_piston.json │ └── sticky_piston.json └── pack.mcmeta /.gitignore: -------------------------------------------------------------------------------- 1 | *.ini 2 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/bamboo.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["bamboo"] 3 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/ladder.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["ladder"] 3 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/lantern.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["lantern"] 3 | } -------------------------------------------------------------------------------- /BreedItems/data/minecraft/tags/functions/load.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "tryashtar.breed_items:.meta/load" 4 | ] 5 | } -------------------------------------------------------------------------------- /BreedItems/data/minecraft/tags/functions/tick.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "tryashtar.breed_items:.meta/tick" 4 | ] 5 | } -------------------------------------------------------------------------------- /BreedItems/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "pack_format": 4, 4 | "description": "tryashtar: Breed Items" 5 | } 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/honey_block.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["honey_block"] 3 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/nether_wart.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["nether_wart"] 3 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/scaffolding.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["scaffolding"] 3 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/snow.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["snow", "snow_block"] 3 | } -------------------------------------------------------------------------------- /BreedItems/data/tryashtar.breed_items/functions/.meta/load.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard objectives add try_bre_id dummy "Breed Item" 2 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/cake.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "cake" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/fire.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "fire" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/lava.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "lava" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/water.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "water" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/web.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "cobweb" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/anvil.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["#minecraft:anvil", "bell"] 3 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/bamboo_sapling.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["bamboo_sapling"] 3 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/sweet_berry_bush.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["sweet_berry_bush"] 3 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/minecraft/tags/functions/load.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "tryashtar.ender_chests:.meta/load" 4 | ] 5 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/minecraft/tags/functions/tick.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "tryashtar.ender_chests:.meta/tick" 4 | ] 5 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/minecraft/tags/functions/load.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "tryashtar.extended_pistons:.meta/load" 4 | ] 5 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/minecraft/tags/functions/tick.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "tryashtar.extended_pistons:.meta/tick" 4 | ] 5 | } -------------------------------------------------------------------------------- /ExtendedPistons/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "pack_format": 4, 4 | "description": "tryashtar: Extended Pistons" 5 | } 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/minecraft/tags/functions/load.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "tryashtar.dispense_everything:.meta/load" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/bamboo.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "bamboo" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/barrier.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "barrier" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/cactus.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "cactus" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/explosive.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "tnt" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/snow.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "snow_block" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/top_snow.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "snow" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/slime_block.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": ["slime_block", "sea_pickle"] 3 | } -------------------------------------------------------------------------------- /DispenseEverything/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "pack_format": 4, 4 | "description": "tryashtar: Dispense Everything" 5 | } 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/random_25.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "random_chance", 3 | "chance": 0.25 4 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/random_50.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "random_chance", 3 | "chance": 0.5 4 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/tool/diamond_pickaxe.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "obsidian" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/fish.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "cod", 4 | "salmon" 5 | ] 6 | } -------------------------------------------------------------------------------- /DyeableEnderChests/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "pack_format": 4, 4 | "description": "tryashtar: Dyeable Ender Chests" 5 | } 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/random_33.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "random_chance", 3 | "chance": 0.333333333 4 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/leaves.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:leaves" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/bamboo_sapling.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "bamboo_sapling" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/bubble_column.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "bubble_column" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/buildable_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "redstone_lamp" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/structural_air.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "structure_void" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/down_any_3.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "hopper", 4 | "end_rod" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/entity_types/collared.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "wolf", 4 | "cat" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/chest.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "chest", 4 | "trapped_chest" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/cloth_decoration.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:carpets" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/ice.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "frosted_ice", 4 | "ice" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/entity_types/llama.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "llama", 4 | "trader_llama" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/entity_types/milkable.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "cow", 4 | "mooshroom" 5 | ] 6 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/ender_chest/welcome.mcfunction: -------------------------------------------------------------------------------- 1 | tag @s add try_end_chest 2 | particle witch ~ ~1 ~ 0.2 0.2 0.2 0 40 3 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/bamboo.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "bamboo", 4 | "bamboo_sapling" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/piston.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "piston", 4 | "sticky_piston" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/egg.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "dragon_egg", 4 | "turtle_egg" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/sponge.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "sponge", 4 | "wet_sponge" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/up_center_3.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "piston_head", 4 | "end_rod" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/entity_types/breedable_horse.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "donkey", 4 | "horse" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/place_chorus.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "end_stone", 4 | "chorus_plant" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/place_end_crystal.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "bedrock", 4 | "obsidian" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/redstone.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "redstone_block", 4 | "observer" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/air.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/air" 4 | ] 5 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/ice_solid.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "blue_ice", 4 | "packed_ice" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/irreplaceable_plant.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:tall_flowers" 4 | ] 5 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/tags/blocks/arm_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "cobblestone_wall", 4 | "mossy_cobblestone_wall" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/air.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "air", 4 | "cave_air", 5 | "void_air" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/leaves_bamboo.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:leaves", 4 | "bamboo" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/wool.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:wool", 4 | "#minecraft:beds" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/pig_food.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "carrot", 4 | "potato", 5 | "beetroot" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/heavy_metal.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:anvil", 4 | "grindstone" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/east_full_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "sticky_piston", 4 | "piston", 5 | "ladder" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/up_any_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "sticky_piston", 4 | "piston", 5 | "end_rod" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/entity_types/likes_wheat.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "cow", 4 | "mooshroom", 5 | "sheep" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/banner_sign.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:banners", 4 | "#minecraft:signs" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/place_cactus.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "cactus", 4 | "sand", 5 | "red_sand" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/replaceable_water_plant.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "seagrass", 4 | "tall_seagrass" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/coral_block.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:coral_blocks", 4 | "honeycomb_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/down_center_3.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "piston_head", 4 | "hopper", 5 | "end_rod" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/rabbit_food.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "carrot", 4 | "golden_carrot", 5 | "dandelion" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/shulker_shell.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/shulker_box" 4 | ] 5 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/block_placement/rotate/up.mcfunction: -------------------------------------------------------------------------------- 1 | tp @s ~ ~ ~ 0 -90 2 | setblock ~ ~ ~ dispenser[facing=up]{CustomName:"\"Extendable Piston\""} 3 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/portal.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "end_gateway", 4 | "end_portal", 5 | "nether_portal" 6 | ] 7 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/block_placement/rotate/down.mcfunction: -------------------------------------------------------------------------------- 1 | tp @s ~ ~ ~ 0 90 2 | setblock ~ ~ ~ dispenser[facing=down]{CustomName:"\"Extendable Piston\""} 3 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/block_placement/rotate/east.mcfunction: -------------------------------------------------------------------------------- 1 | tp @s ~ ~ ~ 270 0 2 | setblock ~ ~ ~ dispenser[facing=east]{CustomName:"\"Extendable Piston\""} 3 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/block_placement/rotate/north.mcfunction: -------------------------------------------------------------------------------- 1 | tp @s ~ ~ ~ 180 0 2 | setblock ~ ~ ~ dispenser[facing=north]{CustomName:"\"Extendable Piston\""} 3 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/block_placement/rotate/west.mcfunction: -------------------------------------------------------------------------------- 1 | tp @s ~ ~ ~ 90 0 2 | setblock ~ ~ ~ dispenser[facing=west]{CustomName:"\"Extendable Piston\""} 3 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/entity_types/chestable.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "donkey", 4 | "mule", 5 | "llama", 6 | "trader_llama" 7 | ] 8 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/horse_food.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "golden_apple", 4 | "enchanted_golden_apple", 5 | "golden_carrot" 6 | ] 7 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/tick.mcfunction: -------------------------------------------------------------------------------- 1 | # workaround for MC-125067 2 | execute at @s run function tryashtar.extended_pistons:piston_base/aligned_tick 3 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/replaceable_water.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "bubble_column", 4 | "seagrass", 5 | "tall_seagrass" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/east_any_8.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "anvil", 4 | "chipped_anvil", 5 | "damaged_anvil", 6 | "end_rod" 7 | ] 8 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/up_center_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "sticky_piston", 4 | "piston", 5 | "piston_head", 6 | "end_rod" 7 | ] 8 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/tillable.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "grass_block", 4 | "grass_path", 5 | "dirt", 6 | "coarse_dirt" 7 | ] 8 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/any_water.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "location_check", 3 | "predicate": { 4 | "fluid": { 5 | "tag": "water" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/waterlog.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "location_check", 3 | "predicate": { 4 | "fluid": { 5 | "fluid": "water" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/fence_pane.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/glass_pane", 4 | "#minecraft:fences" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/seeds.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "wheat_seeds", 4 | "melon_seeds", 5 | "pumpkin_seeds", 6 | "beetroot_seeds" 7 | ] 8 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/tags/blocks/empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "air", 4 | "cave_air", 5 | "void_air", 6 | "water", 7 | "lava", 8 | "fire" 9 | ] 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/vegetable.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "carved_pumpkin", 4 | "jack_o_lantern", 5 | "melon", 6 | "pumpkin" 7 | ] 8 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/tags/blocks/bulldozable.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "air", 4 | "cave_air", 5 | "void_air", 6 | "water", 7 | "lava", 8 | "fire" 9 | ] 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/big_coral.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/dead_big_coral", 4 | "#minecraft:coral_blocks" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/dirt.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "coarse_dirt", 4 | "dirt", 5 | "farmland", 6 | "grass_path", 7 | "podzol" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/axe.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "wooden_axe", 4 | "golden_axe", 5 | "stone_axe", 6 | "iron_axe", 7 | "diamond_axe" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/hoe.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "wooden_hoe", 4 | "golden_hoe", 5 | "stone_hoe", 6 | "iron_hoe", 7 | "diamond_hoe" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/place_plant.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "grass_block", 4 | "dirt", 5 | "coarse_dirt", 6 | "podzol", 7 | "farmland" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/piston.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/piston", 4 | "moving_piston", 5 | "piston_head" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/wool.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:wool", 4 | "#minecraft:carpets", 5 | "fire", 6 | "cactus", 7 | "cake" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/entity_types/horselike.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "horse", 4 | "donkey", 5 | "mule", 6 | "skeleton_horse", 7 | "zombie_horse" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/sand.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:sand", 4 | "#tryashtar.dispense_everything:groups/concrete_powder", 5 | "soul_sand" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/normal/13.mcfunction: -------------------------------------------------------------------------------- 1 | execute if data storage tryashtar:dispense_everything item{id:"minecraft:ice"} store success score #success try_dis_bid run setblock ~ ~ ~ ice 2 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/baby.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "flags": { 6 | "is_baby": true 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/place_item_frame.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:material/merged/solid", 4 | "repeater", 5 | "comparator" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/place_wither_rose.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/place_plant", 4 | "netherrack", 5 | "soul_sand" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/tall.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/fence_gate", 4 | "#minecraft:fences", 5 | "#minecraft:walls" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/horse_armor.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "leather_horse_armor", 4 | "iron_horse_armor", 5 | "golden_horse_armor", 6 | "diamond_horse_armor" 7 | ] 8 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/shovel.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "wooden_shovel", 4 | "golden_shovel", 5 | "stone_shovel", 6 | "iron_shovel", 7 | "diamond_shovel" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/breed.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify entity @s InLove set value 600 3 | particle heart ~ ~0.5 ~ 0.2 0.2 0.2 0 7 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/end_portal/create_portal.mcfunction: -------------------------------------------------------------------------------- 1 | fill ~-1 ~ ~-1 ~1 ~ ~1 end_portal 2 | playsound block.end_portal.spawn hostile @a ~ ~ ~ 1 1 1 3 | tag @s add try_dis_ok 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/update_motion.mcfunction: -------------------------------------------------------------------------------- 1 | execute as @e[type=ender_pearl,tag=try_dis_mtn] run data modify entity @s Air set value 1s 2 | tag @e[type=ender_pearl,tag=try_dis_mtn] remove try_dis_mtn 3 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/stack_16.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:banners", 4 | "#minecraft:signs", 5 | "bucket", 6 | "ender_pearl", 7 | "written_book" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/kill_parrot.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | scoreboard players set #success try_dis_bid 2 3 | effect give @s poison 45 4 | kill @s 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/saddle_horse.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify entity @s SaddleItem set from storage tryashtar:dispense_everything item 3 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/grass.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "dried_kelp_block", 4 | "grass_block", 5 | "hay_block", 6 | "mycelium", 7 | "nether_wart_block" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/gravel.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "dirt", 4 | "coarse_dirt", 5 | "podzol", 6 | "gravel", 7 | "farmland", 8 | "clay" 9 | ] 10 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/ender_chest/delete.mcfunction: -------------------------------------------------------------------------------- 1 | kill @s 2 | execute at 0-0-6019-0-845fed as @e[type=area_effect_cloud,tag=try_end_mark,distance=..0.0001] if score @s try_end_col = temp try_end_col run kill @s 3 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/ender_chest/return.mcfunction: -------------------------------------------------------------------------------- 1 | tp @s ~ ~ ~ 2 | execute as @e[type=area_effect_cloud,tag=try_end_mark,distance=..0.0001] if score @s try_end_col = temp try_end_col run tag @s add try_end_free 3 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/saddle_pig.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify entity @s Saddle set value 1b 3 | playsound entity.pig.saddle block @a ~ ~ ~ 0.5 1 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/dead_coral.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/dead_big_coral", 4 | "#tryashtar.dispense_everything:groups/dead_small_coral" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/small_coral.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/dead_small_coral", 4 | "#minecraft:corals", 5 | "#minecraft:wall_corals" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/merged/break_cactus.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:material/merged/solid", 4 | "#tryashtar.dispense_everything:material/lava" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/water_plant.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:corals", 4 | "#minecraft:wall_corals", 5 | "kelp", 6 | "kelp_plant", 7 | "sea_pickle" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/crop.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "wheat", 4 | "carrots", 5 | "potatoes", 6 | "beetroots", 7 | "pumpkin_stem", 8 | "melon_stem" 9 | ] 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/place_sugar_cane.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "grass_block", 4 | "dirt", 5 | "coarse_dirt", 6 | "podzol", 7 | "sand", 8 | "red_sand" 9 | ] 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/merged/melt_ice.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:material/merged/collision", 4 | "#tryashtar.dispense_everything:material/merged/liquid" 5 | ] 6 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/replaceable_plant.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "grass", 4 | "fern", 5 | "dead_bush", 6 | "vine", 7 | "tall_grass", 8 | "large_fern" 9 | ] 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/sand.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/concrete_powder", 4 | "gravel", 5 | "red_sand", 6 | "sand", 7 | "soul_sand" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/east/4x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | summon painting ~ ~ ~ {Facing:1b,Motive:"fighters"} 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/north/4x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | summon painting ~ ~ ~ {Facing:2b,Motive:"fighters"} 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/south/4x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | summon painting ~ ~ ~ {Facing:0b,Motive:"fighters"} 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/west/4x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | summon painting ~ ~ ~ {Facing:3b,Motive:"fighters"} 5 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/.meta/tick.mcfunction: -------------------------------------------------------------------------------- 1 | ### main function, runs every tick 2 | 3 | execute positioned 0 0 0 as @e[type=area_effect_cloud,tag=try_end_base,sort=nearest] at @s run function tryashtar.ender_chests:dye_station/tick 4 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/start_pull.mcfunction: -------------------------------------------------------------------------------- 1 | ### power is removed, begin pulling back 2 | 3 | execute if score @s try_ext_pist matches 1.. run playsound block.piston.contract block @a ~ ~ ~ .6 .7 4 | tag @s remove try_ext_pwr 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/age_up.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | particle happy_villager ~ ~0.5 ~ 0.2 0.2 0.2 0 10 3 | execute store result entity @s Age int 0.9 run data get entity @s Age 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/tool/stone_pickaxe.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:tool/iron_pickaxe", 4 | "iron_block", 5 | "iron_ore", 6 | "lapis_block", 7 | "lapis_ore" 8 | ] 9 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/indicators/refresh.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set @s try_end_time 32767 2 | execute positioned ~ ~-1.2 ~ as @e[type=armor_stand,tag=try_end_ind,distance=..0.36,limit=2] run data merge entity @s {Fire:32767s} 3 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/turtle_egg.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | setblock ~ ~ ~ turtle_egg 3 | execute if block ~ ~-1 ~ sand align xyz run particle happy_villager ~0.5 ~0.5 ~0.5 0.2 0.2 0.2 0 15 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/wet_grass.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:corals", 4 | "#minecraft:wall_corals", 5 | "kelp", 6 | "kelp_plant", 7 | "seagrass", 8 | "tall_seagrass" 9 | ] 10 | } -------------------------------------------------------------------------------- /BreedItems/data/tryashtar.breed_items/tags/entity_types/tameable.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "minecraft:cat", 4 | "minecraft:donkey", 5 | "minecraft:horse", 6 | "minecraft:llama", 7 | "minecraft:trader_llama", 8 | "minecraft:wolf" 9 | ] 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/head.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "skeleton_skull", 4 | "wither_skeleton_skull", 5 | "player_head", 6 | "zombie_head", 7 | "creeper_head", 8 | "dragon_head" 9 | ] 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/pressure_plate.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:wooden_pressure_plates", 4 | "stone_pressure_plate", 5 | "light_weighted_pressure_plate", 6 | "heavy_weighted_pressure_plate" 7 | ] 8 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/advancements/entered_world.json: -------------------------------------------------------------------------------- 1 | { 2 | "criteria": { 3 | "enter": { 4 | "trigger": "minecraft:location" 5 | } 6 | }, 7 | "rewards": { 8 | "function": "tryashtar.ender_chests:.meta/on_entered_world" 9 | } 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/normal/40.mcfunction: -------------------------------------------------------------------------------- 1 | execute if data storage tryashtar:dispense_everything item{id:"minecraft:infested_chiseled_stone_bricks"} store success score #success try_dis_bid run setblock ~ ~ ~ infested_chiseled_stone_bricks 2 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/item_frame.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | scoreboard players set #success try_dis_bid 2 3 | 4 | data modify entity @s Item set from storage tryashtar:dispense_everything item 5 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/advancements/entered_world.json: -------------------------------------------------------------------------------- 1 | { 2 | "criteria": { 3 | "enter": { 4 | "trigger": "minecraft:location" 5 | } 6 | }, 7 | "rewards": { 8 | "function": "tryashtar.extended_pistons:.meta/on_entered_world" 9 | } 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/horse_armor.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | scoreboard players set #success try_dis_bid 2 3 | 4 | data modify entity @s ArmorItem set from storage tryashtar:dispense_everything item 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/place_dead_bush.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/terracotta", 4 | "sand", 5 | "red_sand", 6 | "dirt", 7 | "coarse_dirt", 8 | "podzol" 9 | ] 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/carpet_llama.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | scoreboard players set #success try_dis_bid 2 3 | 4 | data modify entity @s DecorItem set from storage tryashtar:dispense_everything item 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/dead_big_coral.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "dead_tube_coral_block", 4 | "dead_brain_coral_block", 5 | "dead_bubble_coral_block", 6 | "dead_fire_coral_block", 7 | "dead_horn_coral_block" 8 | ] 9 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/merged/liquid.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:material/water", 4 | "#tryashtar.dispense_everything:material/bubble_column", 5 | "#tryashtar.dispense_everything:material/lava" 6 | ] 7 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/carpet.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "minecraft:carpets" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/flower.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "minecraft:flowers" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/fence_gate.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "oak_fence_gate", 4 | "acacia_fence_gate", 5 | "dark_oak_fence_gate", 6 | "spruce_fence_gate", 7 | "birch_fence_gate", 8 | "jungle_fence_gate" 9 | ] 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/place_snow.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:leaves", 4 | "#minecraft:tall_flowers", 5 | "tall_grass", 6 | "large_fern", 7 | "cobweb", 8 | "soul_sand", 9 | "honey_block" 10 | ] 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/torch/ground.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute if score #special try_dis_bid matches 286 run setblock ~ ~ ~ redstone_torch 3 | execute if score #special try_dis_bid matches 287 run setblock ~ ~ ~ torch 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/wall_head.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "skeleton_wall_skull", 4 | "wither_skeleton_wall_skull", 5 | "player_wall_head", 6 | "zombie_wall_head", 7 | "creeper_wall_head", 8 | "dragon_wall_head" 9 | ] 10 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_arm/prepare_retract.mcfunction: -------------------------------------------------------------------------------- 1 | ### helper function for setting up scores when retracting due to pistons being removed 2 | 3 | scoreboard players operation @s try_ext_temp2 = @s try_ext_pist 4 | scoreboard players operation @s try_ext_temp2 -= @s try_ext_len 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/axe.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:axe" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/dye.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:dye" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/fish.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:fish" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/hoe.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:hoe" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/meat.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:meat" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/small_flower.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "minecraft:small_flowers" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/seeds.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:seeds" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/shovel.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:shovel" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/glass", 4 | "#tryashtar.dispense_everything:groups/glass_pane", 5 | "beacon", 6 | "conduit", 7 | "glowstone", 8 | "sea_lantern" 9 | ] 10 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/pig_food.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:pig_food" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/stack_1.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:stack_1" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/stack_16.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:stack_16" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/horse_armor.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:horse_armor" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/horse_food.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:horse_food" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/item/rabbit_food.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "entity_properties", 3 | "entity": "this", 4 | "predicate": { 5 | "equipment": { 6 | "mainhand": { 7 | "tag": "tryashtar.dispense_everything:rabbit_food" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/redstone_lamp.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | setblock ~ ~ ~ hopper 3 | execute if block ~ ~ ~ hopper[enabled=true] run setblock ~ ~ ~ redstone_lamp 4 | execute if block ~ ~ ~ hopper[enabled=false] run setblock ~ ~ ~ redstone_lamp[lit=true] 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/infested.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "infested_stone", 4 | "infested_cobblestone", 5 | "infested_stone_bricks", 6 | "infested_mossy_stone_bricks", 7 | "infested_cracked_stone_bricks", 8 | "infested_chiseled_stone_bricks" 9 | ] 10 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/upgrades/move_gold.mcfunction: -------------------------------------------------------------------------------- 1 | ### moves gold from the first slot to the second slot 2 | 3 | replaceitem block ~ ~ ~ container.1 gold_ingot 4 | execute store result block ~ ~ ~ Items[1].Count byte 1 run data get block ~ ~ ~ Items[0].Count 5 | replaceitem block ~ ~ ~ container.0 air 6 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/recipes/extended_piston.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "crafting_shapeless", 3 | "ingredients": [ 4 | { 5 | "item": "minecraft:dispenser" 6 | }, 7 | { 8 | "item": "minecraft:rabbit_foot" 9 | } 10 | ], 11 | "result": { 12 | "item": "minecraft:knowledge_book" 13 | } 14 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/torch/east.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute if score #special try_dis_bid matches 286 run setblock ~ ~ ~ redstone_wall_torch[facing=east] 3 | execute if score #special try_dis_bid matches 287 run setblock ~ ~ ~ wall_torch[facing=east] 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/torch/west.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute if score #special try_dis_bid matches 286 run setblock ~ ~ ~ redstone_wall_torch[facing=west] 3 | execute if score #special try_dis_bid matches 287 run setblock ~ ~ ~ wall_torch[facing=west] 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/torch/north.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute if score #special try_dis_bid matches 286 run setblock ~ ~ ~ redstone_wall_torch[facing=north] 3 | execute if score #special try_dis_bid matches 287 run setblock ~ ~ ~ wall_torch[facing=north] 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/torch/south.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute if score #special try_dis_bid matches 286 run setblock ~ ~ ~ redstone_wall_torch[facing=south] 3 | execute if score #special try_dis_bid matches 287 run setblock ~ ~ ~ wall_torch[facing=south] 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/cauldron/water_bucket.mcfunction: -------------------------------------------------------------------------------- 1 | playsound item.bucket.empty block @a 2 | setblock ~ ~ ~ cauldron[level=3] 3 | data modify storage tryashtar:dispense_everything item set value {id:"minecraft:bucket",Count:1b} 4 | data modify entity @s Item set value {id:"minecraft:bucket",Count:1b} 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/name_tag.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | scoreboard players set #success try_dis_bid 2 3 | 4 | data modify entity @s CustomName set from storage tryashtar:dispense_everything item.tag.display.Name 5 | data modify entity @s PersistenceRequired set value 1b 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/needs_cloning.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/glass_pane", 4 | "#minecraft:walls", 5 | "#minecraft:fences", 6 | "#minecraft:stairs", 7 | "#minecraft:coral_blocks", 8 | "iron_bars", 9 | "redstone_wire" 10 | ] 11 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/tool/iron_pickaxe.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:tool/diamond_pickaxe", 4 | "diamond_block", 5 | "diamond_ore", 6 | "emerald_block", 7 | "emerald_ore", 8 | "gold_block", 9 | "gold_ore", 10 | "redstone_ore" 11 | ] 12 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/unlock.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set @s try_end_lock 0 2 | data remove block ~ ~-1 ~ Lock 3 | setblock ~ ~ ~ air 4 | summon item ~ ~ ~ {Item:{id:"light_weighted_pressure_plate",Count:1b}} 5 | playsound entity.zombie.attack_iron_door block @a ~ ~ ~ 0.2 0 6 | particle crit ~ ~0.5 ~ 0.2 0.2 0.2 0 30 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/clone_update.mcfunction: -------------------------------------------------------------------------------- 1 | clone ~ ~ ~ ~ ~ ~ 29999977 3 9848 2 | clone ~1 ~ ~ ~1 ~ ~ 29999978 3 9848 3 | clone ~-1 ~ ~ ~-1 ~ ~ 29999976 3 9848 4 | clone ~ ~ ~1 ~ ~ ~1 29999977 3 9849 5 | clone ~ ~ ~-1 ~ ~ ~-1 29999977 3 9847 6 | clone 29999977 3 9848 29999977 3 9848 ~ ~ ~ 7 | fill 29999976 3 9847 29999978 3 9849 air 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/east_any_3.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "sticky_piston", 4 | "piston", 5 | "ladder", 6 | "oak_trapdoor", 7 | "spruce_trapdoor", 8 | "birch_trapdoor", 9 | "jungle_trapdoor", 10 | "acacia_trapdoor", 11 | "dark_oak_trapdoor", 12 | "iron_trapdoor" 13 | ] 14 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/extended_tick.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players operation @s try_ext_temp = @s try_ext_len 2 | scoreboard players reset @s try_ext_temp2 3 | tag @s add try_ext_first 4 | function tryashtar.extended_pistons:piston_arm/scan 5 | tag @s remove try_ext_done 6 | tag @s remove try_ext_push 7 | tag @s remove try_ext_ret 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/milk_cow.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | 3 | playsound entity.cow.milk block @a 4 | data modify storage tryashtar:dispense_everything item set value {id:"minecraft:milk_bucket",Count:1b} 5 | data modify entity @s Item set value {id:"minecraft:milk_bucket",Count:1b} 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/meat.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "beef", 4 | "chicken", 5 | "cooked_beef", 6 | "cooked_chicken", 7 | "cooked_mutton", 8 | "cooked_porkchop", 9 | "cooked_rabbit", 10 | "mutton", 11 | "porkchop", 12 | "rabbit", 13 | "rotten_flesh" 14 | ] 15 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/ender_chest/fetch.mcfunction: -------------------------------------------------------------------------------- 1 | tp @e[type=chest_minecart,tag=try_end_box,scores={try_end_col=0},limit=1] ~ ~0.1 ~ ~-90 ~ 2 | execute at 0-0-6019-0-845fed run tag @e[type=area_effect_cloud,tag=try_end_mark,scores={try_end_col=0},distance=..0.0001,limit=1] remove try_end_free 3 | function tryashtar.ender_chests:ender_chest/welcome 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/.meta/load.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard objectives add try_dis_bid dummy "Dispense Everything" 2 | 3 | execute in overworld run function tryashtar.dispense_everything:.meta/setup 4 | execute in the_nether run function tryashtar.dispense_everything:.meta/setup 5 | execute in the_end run function tryashtar.dispense_everything:.meta/setup 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/failure/create/0.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify block 29999978 1 9848 RecordItem.tag set from storage tryashtar:dispense_everything item 3 | data modify block 29999978 1 9848 RecordItem.tag.Slot set value 0b 4 | data modify block ~ ~ ~ Items append from block 29999978 1 9848 RecordItem.tag 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/failure/create/1.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify block 29999978 1 9848 RecordItem.tag set from storage tryashtar:dispense_everything item 3 | data modify block 29999978 1 9848 RecordItem.tag.Slot set value 1b 4 | data modify block ~ ~ ~ Items append from block 29999978 1 9848 RecordItem.tag 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/failure/create/2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify block 29999978 1 9848 RecordItem.tag set from storage tryashtar:dispense_everything item 3 | data modify block 29999978 1 9848 RecordItem.tag.Slot set value 2b 4 | data modify block ~ ~ ~ Items append from block 29999978 1 9848 RecordItem.tag 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/failure/create/3.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify block 29999978 1 9848 RecordItem.tag set from storage tryashtar:dispense_everything item 3 | data modify block 29999978 1 9848 RecordItem.tag.Slot set value 3b 4 | data modify block ~ ~ ~ Items append from block 29999978 1 9848 RecordItem.tag 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/failure/create/4.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify block 29999978 1 9848 RecordItem.tag set from storage tryashtar:dispense_everything item 3 | data modify block 29999978 1 9848 RecordItem.tag.Slot set value 4b 4 | data modify block ~ ~ ~ Items append from block 29999978 1 9848 RecordItem.tag 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/failure/create/5.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify block 29999978 1 9848 RecordItem.tag set from storage tryashtar:dispense_everything item 3 | data modify block 29999978 1 9848 RecordItem.tag.Slot set value 5b 4 | data modify block ~ ~ ~ Items append from block 29999978 1 9848 RecordItem.tag 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/failure/create/6.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify block 29999978 1 9848 RecordItem.tag set from storage tryashtar:dispense_everything item 3 | data modify block 29999978 1 9848 RecordItem.tag.Slot set value 6b 4 | data modify block ~ ~ ~ Items append from block 29999978 1 9848 RecordItem.tag 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/failure/create/7.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify block 29999978 1 9848 RecordItem.tag set from storage tryashtar:dispense_everything item 3 | data modify block 29999978 1 9848 RecordItem.tag.Slot set value 7b 4 | data modify block ~ ~ ~ Items append from block 29999978 1 9848 RecordItem.tag 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/failure/create/8.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | data modify block 29999978 1 9848 RecordItem.tag set from storage tryashtar:dispense_everything item 3 | data modify block 29999978 1 9848 RecordItem.tag.Slot set value 8b 4 | data modify block ~ ~ ~ Items append from block 29999978 1 9848 RecordItem.tag 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/cauldron/bucket.mcfunction: -------------------------------------------------------------------------------- 1 | playsound item.bucket.fill block @a 2 | setblock ~ ~ ~ cauldron[level=0] 3 | data modify storage tryashtar:dispense_everything item set value {id:"minecraft:water_bucket",Count:1b} 4 | data modify entity @s Item set value {id:"minecraft:water_bucket",Count:1b} 5 | tag @s add try_dis_ok 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/glass", 4 | "#tryashtar.dispense_everything:groups/glass_pane", 5 | "#minecraft:ice", 6 | "glowstone", 7 | "nether_portal", 8 | "end_portal_frame", 9 | "redstone_lamp", 10 | "sea_lantern" 11 | ] 12 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/advancements/recipes/unlock_hack.json: -------------------------------------------------------------------------------- 1 | { 2 | "criteria": { 3 | "unlock": { 4 | "trigger": "minecraft:recipe_unlocked", 5 | "conditions": { 6 | "recipe": "tryashtar.ender_chests:chest_station" 7 | } 8 | } 9 | }, 10 | "rewards": { 11 | "function": "tryashtar.ender_chests:.meta/temporary_hack" 12 | } 13 | } -------------------------------------------------------------------------------- /BreedItems/data/tryashtar.breed_items/tags/entity_types/breedable.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "minecraft:chicken", 4 | "minecraft:cow", 5 | "minecraft:fox", 6 | "minecraft:mooshroom", 7 | "minecraft:ocelot", 8 | "minecraft:panda", 9 | "minecraft:pig", 10 | "minecraft:rabbit", 11 | "minecraft:sheep", 12 | "minecraft:turtle" 13 | ] 14 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/east/1x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..180] run summon painting ~ ~ ~ {Facing:1b,Motive:"wanderer"} 5 | execute if entity @s[y_rotation=180..360] run summon painting ~ ~ ~ {Facing:1b,Motive:"graham"} 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/north/1x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..180] run summon painting ~ ~ ~ {Facing:2b,Motive:"wanderer"} 5 | execute if entity @s[y_rotation=180..360] run summon painting ~ ~ ~ {Facing:2b,Motive:"graham"} 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/south/1x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..180] run summon painting ~ ~ ~ {Facing:0b,Motive:"wanderer"} 5 | execute if entity @s[y_rotation=180..360] run summon painting ~ ~ ~ {Facing:0b,Motive:"graham"} 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/west/1x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..180] run summon painting ~ ~ ~ {Facing:3b,Motive:"wanderer"} 5 | execute if entity @s[y_rotation=180..360] run summon painting ~ ~ ~ {Facing:3b,Motive:"graham"} 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/scaffolding.mcfunction: -------------------------------------------------------------------------------- 1 | execute if block ~ ~ ~ scaffolding positioned ~ ~1 ~ run function tryashtar.dispense_everything:behavior/special/merge/scaffolding 2 | execute if block ~ ~ ~ #tryashtar.dispense_everything:material/merged/replaceable run function tryashtar.dispense_everything:behavior/special/merge/scaffolding_place 3 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/advancements/recipes/unlock_hack1.json: -------------------------------------------------------------------------------- 1 | { 2 | "criteria": { 3 | "unlock": { 4 | "trigger": "minecraft:recipe_unlocked", 5 | "conditions": { 6 | "recipe": "tryashtar.extended_pistons:extended_piston" 7 | } 8 | } 9 | }, 10 | "rewards": { 11 | "function": "tryashtar.extended_pistons:.meta/temporary_hack1" 12 | } 13 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/advancements/recipes/unlock_hack2.json: -------------------------------------------------------------------------------- 1 | { 2 | "criteria": { 3 | "unlock": { 4 | "trigger": "minecraft:recipe_unlocked", 5 | "conditions": { 6 | "recipe": "tryashtar.extended_pistons:sticky_piston" 7 | } 8 | } 9 | }, 10 | "rewards": { 11 | "function": "tryashtar.extended_pistons:.meta/temporary_hack2" 12 | } 13 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/east/4x3.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..180] run summon painting ~ ~ ~ {Facing:1b,Motive:"skeleton"} 5 | execute if entity @s[y_rotation=180..360] run summon painting ~ ~ ~ {Facing:1b,Motive:"donkey_kong"} 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/north/4x3.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..180] run summon painting ~ ~ ~ {Facing:2b,Motive:"skeleton"} 5 | execute if entity @s[y_rotation=180..360] run summon painting ~ ~ ~ {Facing:2b,Motive:"donkey_kong"} 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/south/4x3.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..180] run summon painting ~ ~ ~ {Facing:0b,Motive:"skeleton"} 5 | execute if entity @s[y_rotation=180..360] run summon painting ~ ~ ~ {Facing:0b,Motive:"donkey_kong"} 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/west/4x3.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..180] run summon painting ~ ~ ~ {Facing:3b,Motive:"skeleton"} 5 | execute if entity @s[y_rotation=180..360] run summon painting ~ ~ ~ {Facing:3b,Motive:"donkey_kong"} 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/slab.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | 3 | execute if score #vertdir try_dis_bid matches 3 run function tryashtar.dispense_everything:behavior/special/shared/slab/top 4 | execute unless score #vertdir try_dis_bid matches 3 run function tryashtar.dispense_everything:behavior/special/shared/slab/bottom 5 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/indicators/animate.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players add @s try_end_time 10 2 | scoreboard players set @s[scores={try_end_time=90..}] try_end_time 0 3 | execute store result entity @s Pose.RightArm[0] float 1 run scoreboard players get @s try_end_time 4 | execute store result entity @s Pose.LeftArm[0] float 1 run scoreboard players get @s try_end_time 5 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/recipes/sticky_piston.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "crafting_shapeless", 3 | "ingredients": [ 4 | { 5 | "item": "minecraft:dispenser" 6 | }, 7 | { 8 | "item": "minecraft:rabbit_foot" 9 | }, 10 | { 11 | "item": "minecraft:slime_ball" 12 | } 13 | ], 14 | "result": { 15 | "item": "minecraft:knowledge_book" 16 | } 17 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/stairs.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | 3 | execute if score #vertdir try_dis_bid matches 3 run function tryashtar.dispense_everything:behavior/special/shared/stairs/top 4 | execute unless score #vertdir try_dis_bid matches 3 run function tryashtar.dispense_everything:behavior/special/shared/stairs/bottom 5 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/upgrades/process_pistons.mcfunction: -------------------------------------------------------------------------------- 1 | ### increase piston upgrade score 2 | 3 | execute store result score @s try_ext_temp run data get block ~ ~ ~ Items[0].Count 4 | scoreboard players remove @s[scores={try_ext_pist=1..}] try_ext_pist 1 5 | scoreboard players operation @s try_ext_pist += @s try_ext_temp 6 | replaceitem block ~ ~ ~ container.0 piston 7 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_head/instant_return.mcfunction: -------------------------------------------------------------------------------- 1 | ### pulls the head back to where it's allowed to be (max length or an arm break) 2 | 3 | scoreboard players add @s try_ext_temp2 1 4 | function tryashtar.extended_pistons:piston_head/pull 5 | execute if score @s try_ext_temp2 matches ..-1 positioned ^ ^ ^-1 run function tryashtar.extended_pistons:piston_head/instant_return 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/metal.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:rails", 4 | "gold_block", 5 | "iron_block", 6 | "spawner", 7 | "diamond_block", 8 | "iron_door", 9 | "iron_bars", 10 | "emerald_block", 11 | "redstone_block", 12 | "hopper", 13 | "iron_trapdoor", 14 | "turtle_egg" 15 | ] 16 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/block_placement/create_base.mcfunction: -------------------------------------------------------------------------------- 1 | ### create base block AEC 2 | 3 | summon area_effect_cloud ~ ~ ~ {CustomName:"\"Extendable Piston Base\"",Tags:["try_ext_base"],Duration:-1,Age:-2147483648,WaitTime:-2147483648} 4 | execute as @e[type=area_effect_cloud,tag=try_ext_base,distance=..0.0001,limit=1] run function tryashtar.extended_pistons:block_placement/setup_base 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/bowl.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | 3 | execute align xyz as @e[type=mooshroom,predicate=!tryashtar.dispense_everything:baby,dy=0,sort=nearest,limit=1] at @s run function tryashtar.dispense_everything:behavior/special/extra/bowl_stew 4 | data modify entity @s Item set from storage tryashtar:dispense_everything item 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/decrement_xp.mcfunction: -------------------------------------------------------------------------------- 1 | execute store result score #xp try_dis_bid run data get entity @s Value 2 | execute store result entity @s Value short 1 run scoreboard players remove #xp try_dis_bid 1 3 | data modify block ~ ~ ~ TransferCooldown set value 8 4 | playsound entity.experience_orb.pickup block @a ~ ~ ~ 0.1 0.9 5 | execute if score #xp try_dis_bid matches 0 run kill @s 6 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/decide_2.mcfunction: -------------------------------------------------------------------------------- 1 | execute store result score slot try_end_col run data get block ~ ~ ~ Items[1].Slot 2 | execute if score slot try_end_col matches 2 store result score mult try_end_col run data get block ~ ~ ~ Items[1].Count 3 | execute if score slot try_end_col matches 1 store result score mult try_end_col run data get block ~ ~ ~ Items[2].Count 4 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/decide_3.mcfunction: -------------------------------------------------------------------------------- 1 | execute store result score slot try_end_col run data get block ~ ~ ~ Items[1].Slot 2 | execute if score slot try_end_col matches 3 store result score mult try_end_col run data get block ~ ~ ~ Items[1].Count 3 | execute if score slot try_end_col matches 2 store result score mult try_end_col run data get block ~ ~ ~ Items[2].Count 4 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/decide_3b.mcfunction: -------------------------------------------------------------------------------- 1 | execute store result score slot try_end_col run data get block ~ ~ ~ Items[2].Slot 2 | execute if score slot try_end_col matches 3 store result score mult try_end_col run data get block ~ ~ ~ Items[2].Count 3 | execute if score slot try_end_col matches 2 store result score mult try_end_col run data get block ~ ~ ~ Items[3].Count 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/support/pressure_plate.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "alternative", 3 | "terms": [ 4 | { 5 | "condition": "reference", 6 | "name": "tryashtar.dispense_everything:block_check/up/rim" 7 | }, 8 | { 9 | "condition": "reference", 10 | "name": "tryashtar.dispense_everything:block_check/up/center" 11 | } 12 | ] 13 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/upgrades/remove_ui.mcfunction: -------------------------------------------------------------------------------- 1 | ### removes the UI items so they won't be fired from the dispenser 2 | 3 | execute if score @s try_ext_pist matches 1.. run replaceitem block ~ ~ ~ container.0 air 4 | execute if score @s try_ext_pup matches 1.. run replaceitem block ~ ~ ~ container.1 air 5 | execute if score @s try_ext_pdn matches 1.. run replaceitem block ~ ~ ~ container.2 air 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/.meta/setup.mcfunction: -------------------------------------------------------------------------------- 1 | forceload remove 29999977 9848 2 | forceload add 29999977 9848 3 | fill 29999976 1 9847 29999980 2 9849 bedrock 4 | setblock 29999977 1 9848 repeating_command_block{auto:1b,Command:"function tryashtar.dispense_everything:.meta/tick"} 5 | setblock 29999978 1 9848 jukebox{RecordItem:{id:tnt,Count:1b}} 6 | setblock 29999979 1 9848 jukebox{RecordItem:{id:tnt,Count:1b}} 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/cure_zombie.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | scoreboard players set #success try_dis_bid 2 3 | execute store result score #random try_dis_bid run data get entity @s UUIDMost 0.00000000000000013010426045592246244489687970858648 4 | execute store result entity @s ConversionTime int 1 run scoreboard players add #random try_dis_bid 4800 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/feed_animal.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:baby if data entity @s {Age:0} run function tryashtar.dispense_everything:behavior/special/extra/breed 3 | execute if predicate tryashtar.dispense_everything:baby run function tryashtar.dispense_everything:behavior/special/extra/age_up 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/clay.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "clay", 4 | "infested_chiseled_stone_bricks", 5 | "infested_cobblestone", 6 | "infested_cracked_stone_bricks", 7 | "infested_mossy_stone_bricks", 8 | "infested_stone", 9 | "infested_stone_bricks", 10 | "slime_block", 11 | "honey_block", 12 | "honeycomb_block" 13 | ] 14 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/block_placement/create_sticky_base.mcfunction: -------------------------------------------------------------------------------- 1 | ### create base block AEC 2 | 3 | summon area_effect_cloud ~ ~ ~ {CustomName:"\"Extendable Piston Base\"",Tags:["try_ext_base","try_ext_stick"],Duration:-1,Age:-2147483648,WaitTime:-2147483648} 4 | execute as @e[type=area_effect_cloud,tag=try_ext_base,distance=..0.0001,limit=1] run function tryashtar.extended_pistons:block_placement/setup_base 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/east_any_6.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "oak_door", 4 | "iron_door", 5 | "oak_fence_gate", 6 | "spruce_fence_gate", 7 | "birch_fence_gate", 8 | "jungle_fence_gate", 9 | "acacia_fence_gate", 10 | "dark_oak_fence_gate", 11 | "spruce_door", 12 | "birch_door", 13 | "jungle_door", 14 | "acacia_door", 15 | "dark_oak_door" 16 | ] 17 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/advancements/block_placed.json: -------------------------------------------------------------------------------- 1 | { 2 | "criteria": { 3 | "place": { 4 | "trigger": "minecraft:placed_block", 5 | "conditions": { 6 | "block": "minecraft:hopper", 7 | "item": { 8 | "nbt": "{ender_station:1b}" 9 | } 10 | } 11 | } 12 | }, 13 | "rewards": { 14 | "function": "tryashtar.ender_chests:block_placement/on_block_placed" 15 | } 16 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/till_dirt.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | 3 | playsound item.hoe.till block @a 4 | execute unless data storage tryashtar:dispense_everything item.tag{Unbreakable:1b} run function tryashtar.dispense_everything:take_damage 5 | execute unless block ~ ~ ~ coarse_dirt run setblock ~ ~ ~ farmland 6 | execute if block ~ ~ ~ coarse_dirt run setblock ~ ~ ~ dirt 7 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/advancements/block_placed.json: -------------------------------------------------------------------------------- 1 | { 2 | "criteria": { 3 | "place": { 4 | "trigger": "minecraft:placed_block", 5 | "conditions": { 6 | "block": "minecraft:dispenser", 7 | "item": { 8 | "nbt": "{extended_piston:1b}" 9 | } 10 | } 11 | } 12 | }, 13 | "rewards": { 14 | "function": "tryashtar.extended_pistons:block_placement/on_block_placed" 15 | } 16 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/bamboo.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute if block ~ ~-1 ~ bamboo_sapling run setblock ~ ~ ~ bamboo 3 | execute if block ~ ~-1 ~ bamboo[age=0] run setblock ~ ~ ~ bamboo[age=0] 4 | execute if block ~ ~-1 ~ bamboo[age=1] run setblock ~ ~ ~ bamboo[age=1] 5 | execute unless block ~ ~-1 ~ bamboo_sapling unless block ~ ~-1 ~ bamboo run setblock ~ ~ ~ bamboo_sapling 6 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/block_placement/bad_dimension.mcfunction: -------------------------------------------------------------------------------- 1 | function tryashtar.ender_chests:block_placement/create_station 2 | setblock ~ ~ ~ air destroy 3 | data merge entity @e[type=item,nbt={Item:{id:"minecraft:hopper",Count:1b},PickupDelay:10s,Age:0s},distance=..1,limit=1] {Item:{tag:{ender_station:1b,display:{Name:"{\"text\":\"Dyeable Ender Chest Station\",\"italic\":false}"},BlockEntityTag:{Lock:"Uninitialized Ender Chest"}}}} 4 | 5 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/lock.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players operation @s try_end_lock = @a[gamemode=!spectator,distance=..0.5,limit=1] try_end_lock 2 | data merge block ~ ~-1 ~ {Lock:"........................................"} 3 | setblock ~ ~ ~ air 4 | summon item ~ ~ ~ {Item:{id:"heavy_weighted_pressure_plate",Count:1b}} 5 | playsound block.iron_trapdoor.open block @a ~ ~ ~ 1 0 6 | particle enchanted_hit ~ ~0.5 ~ 0.2 0.2 0.2 0 30 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/recipes/convenient_dispenser.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "crafting_shaped", 3 | "pattern": [ 4 | " /S", 5 | "/XS", 6 | " /S" 7 | ], 8 | "key": { 9 | "/": { 10 | "item": "stick" 11 | }, 12 | "S": { 13 | "item": "string" 14 | }, 15 | "X": { 16 | "item": "dropper" 17 | } 18 | }, 19 | "result": { 20 | "item": "dispenser" 21 | } 22 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/remove.mcfunction: -------------------------------------------------------------------------------- 1 | data merge entity @e[type=item,nbt={Item:{id:"minecraft:hopper",Count:1b},PickupDelay:10s,Age:0s},distance=..1,limit=1] {Item:{tag:{ender_station:1b,display:{Name:"{\"text\":\"Dyeable Ender Chest Station\",\"italic\":false}"},BlockEntityTag:{Lock:"Uninitialized Ender Chest"}}}} 2 | execute positioned ~ ~-1.2 ~ run kill @e[type=armor_stand,tag=try_end_ind,distance=..0.36,limit=2] 3 | kill @s 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/cauldron/leather_armor.mcfunction: -------------------------------------------------------------------------------- 1 | execute if block ~ ~ ~ cauldron[level=1] run setblock ~ ~ ~ cauldron[level=0] 2 | execute if block ~ ~ ~ cauldron[level=2] run setblock ~ ~ ~ cauldron[level=1] 3 | execute if block ~ ~ ~ cauldron[level=3] run setblock ~ ~ ~ cauldron[level=2] 4 | data remove storage tryashtar:dispense_everything item.tag.display.color 5 | data remove entity @s Item.tag.display.color 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/scaffolding_place.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | scoreboard players set #success try_dis_bid 2 3 | 4 | playsound block.scaffolding.place block @a ~ ~ ~ 1 0.8 5 | execute unless predicate tryashtar.dispense_everything:waterlog run setblock ~ ~ ~ scaffolding 6 | execute if predicate tryashtar.dispense_everything:waterlog run setblock ~ ~ ~ scaffolding[waterlogged=true] 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/bowl_stew.mcfunction: -------------------------------------------------------------------------------- 1 | tag @s remove try_dis_sus 2 | execute if data entity @s EffectId run function tryashtar.dispense_everything:behavior/special/extra/bowl_suspicious 3 | execute if entity @s[tag=!try_dis_sus] run playsound entity.mooshroom.milk block @a 4 | execute if entity @s[tag=!try_dis_sus] run data modify storage tryashtar:dispense_everything item set value {id:"minecraft:mushroom_stew",Count:1b} 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/support/redstone.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "alternative", 3 | "terms": [ 4 | { 5 | "condition": "location_check", 6 | "predicate": { 7 | "block": { 8 | "block": "hopper" 9 | } 10 | } 11 | }, 12 | { 13 | "condition": "reference", 14 | "name": "tryashtar.dispense_everything:block_check/up/full" 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/items/dye.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "white_dye", 4 | "orange_dye", 5 | "magenta_dye", 6 | "light_blue_dye", 7 | "yellow_dye", 8 | "lime_dye", 9 | "pink_dye", 10 | "gray_dye", 11 | "light_gray_dye", 12 | "cyan_dye", 13 | "purple_dye", 14 | "blue_dye", 15 | "brown_dye", 16 | "green_dye", 17 | "red_dye", 18 | "black_dye" 19 | ] 20 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/chest_horse.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | scoreboard players set #success try_dis_bid 2 3 | 4 | data modify entity @s ChestedHorse set value 1b 5 | execute if entity @s[type=donkey] run playsound entity.donkey.chest block @a 6 | execute if entity @s[type=mule] run playsound entity.mule.chest block @a 7 | execute if entity @s[type=llama] run playsound entity.llama.chest block @a 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/return_trident.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players operation #trident try_dis_bid = @s try_dis_bid 2 | execute as @e[type=area_effect_cloud,distance=..0.6,tag=try_dis_trit] if score @s try_dis_bid = #trident try_dis_bid run tag @s add try_dis_ret 3 | execute at @e[type=area_effect_cloud,distance=..0.6,tag=try_dis_ret] run function tryashtar.dispense_everything:create_trident 4 | kill @e[type=area_effect_cloud,distance=..0.6,tag=try_dis_ret] 5 | kill @s 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/east/4x4.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..120] run summon painting ~ ~ ~ {Facing:1b,Motive:"pointer"} 5 | execute if entity @s[y_rotation=120..240] run summon painting ~ ~ ~ {Facing:1b,Motive:"pigscene"} 6 | execute if entity @s[y_rotation=240..360] run summon painting ~ ~ ~ {Facing:1b,Motive:"burning_skull"} 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/west/4x4.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..120] run summon painting ~ ~ ~ {Facing:3b,Motive:"pointer"} 5 | execute if entity @s[y_rotation=120..240] run summon painting ~ ~ ~ {Facing:3b,Motive:"pigscene"} 6 | execute if entity @s[y_rotation=240..360] run summon painting ~ ~ ~ {Facing:3b,Motive:"burning_skull"} 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/north/4x4.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..120] run summon painting ~ ~ ~ {Facing:2b,Motive:"pointer"} 5 | execute if entity @s[y_rotation=120..240] run summon painting ~ ~ ~ {Facing:2b,Motive:"pigscene"} 6 | execute if entity @s[y_rotation=240..360] run summon painting ~ ~ ~ {Facing:2b,Motive:"burning_skull"} 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/south/4x4.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..120] run summon painting ~ ~ ~ {Facing:0b,Motive:"pointer"} 5 | execute if entity @s[y_rotation=120..240] run summon painting ~ ~ ~ {Facing:0b,Motive:"pigscene"} 6 | execute if entity @s[y_rotation=240..360] run summon painting ~ ~ ~ {Facing:0b,Motive:"burning_skull"} 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/axis.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute if score #dir try_dis_bid matches 1..2 run function tryashtar.dispense_everything:behavior/special/shared/axis/x 3 | execute if score #dir try_dis_bid matches 3..4 run function tryashtar.dispense_everything:behavior/special/shared/axis/y 4 | execute if score #dir try_dis_bid matches 5..6 run function tryashtar.dispense_everything:behavior/special/shared/axis/z 5 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/block_placement/on_block_placed.mcfunction: -------------------------------------------------------------------------------- 1 | ### runs when a piston block was placed 2 | 3 | advancement revoke @s only tryashtar.extended_pistons:block_placed 4 | execute if entity @s[y=250,dy=5] run function tryashtar.extended_pistons:block_placement/scan_255 5 | execute if entity @s[y=5,dy=-5] run function tryashtar.extended_pistons:block_placement/scan_0 6 | execute if entity @s[y=6,dy=249] run function tryashtar.extended_pistons:block_placement/scan_normal 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/tool/shovel.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:material/sand", 4 | "#tryashtar.dispense_everything:material/snow", 5 | "#tryashtar.dispense_everything:material/top_snow", 6 | "#tryashtar.dispense_everything:material/dirt", 7 | "clay", 8 | "grass_block", 9 | "mycelium", 10 | "slime_block", 11 | "honey_block", 12 | "honeycomb_block", 13 | "cake" 14 | ] 15 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/lantern.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #dir try_dis_bid matches 4 positioned ~ ~1 ~ if predicate tryashtar.dispense_everything:block_check/down/center store success score #success try_dis_bid run setblock ~ ~-1 ~ lantern[hanging=true] 2 | execute unless score #dir try_dis_bid matches 4 positioned ~ ~-1 ~ if predicate tryashtar.dispense_everything:block_check/down/center store success score #success try_dis_bid run setblock ~ ~1 ~ lantern[hanging=false] 3 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/block_placement/create_station.mcfunction: -------------------------------------------------------------------------------- 1 | ### create base block AEC 2 | 3 | summon area_effect_cloud ~ ~ ~ {CustomName:"\"Dyeable Ender Chest Station\"",Tags:["try_end_base"],Duration:-1,Age:-2147483648,WaitTime:-2147483648} 4 | execute as @e[type=area_effect_cloud,tag=try_end_base,distance=..0.0001,limit=1] run function tryashtar.ender_chests:block_placement/setup_station 5 | setblock ~ ~ ~ hopper{CustomName:"\"Dyeable Ender Chest Station\"",TransferCooldown:2147483647} 6 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/request_chest.mcfunction: -------------------------------------------------------------------------------- 1 | execute at 0-0-6019-0-845fed unless entity @e[type=area_effect_cloud,tag=try_end_mark,scores={try_end_col=0},distance=..0.0001,limit=1] at @s run function tryashtar.ender_chests:ender_chest/create 2 | execute if entity @s[tag=!try_end_chest] at 0-0-6019-0-845fed if entity @e[type=area_effect_cloud,tag=try_end_mark,tag=try_end_free,scores={try_end_col=0},distance=..0.0001,limit=1] at @s run function tryashtar.ender_chests:ender_chest/fetch 3 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/upgrades/move_iron_1.mcfunction: -------------------------------------------------------------------------------- 1 | ### moves iron from the first slot to the third slot 2 | 3 | replaceitem block ~ ~ ~ container.2 iron_ingot 4 | execute if block ~ ~ ~ dispenser{Items:[{Slot:1b}]} store result block ~ ~ ~ Items[2].Count byte 1 run data get block ~ ~ ~ Items[0].Count 5 | execute unless block ~ ~ ~ dispenser{Items:[{Slot:1b}]} store result block ~ ~ ~ Items[1].Count byte 1 run data get block ~ ~ ~ Items[0].Count 6 | replaceitem block ~ ~ ~ container.0 air 7 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/upgrades/move_iron_2.mcfunction: -------------------------------------------------------------------------------- 1 | ### moves iron from the second slot to the third slot 2 | 3 | replaceitem block ~ ~ ~ container.2 iron_ingot 4 | execute if block ~ ~ ~ dispenser{Items:[{Slot:0b}]} store result block ~ ~ ~ Items[2].Count byte 1 run data get block ~ ~ ~ Items[1].Count 5 | execute unless block ~ ~ ~ dispenser{Items:[{Slot:0b}]} store result block ~ ~ ~ Items[1].Count byte 1 run data get block ~ ~ ~ Items[0].Count 6 | replaceitem block ~ ~ ~ container.1 air 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/normal/38.mcfunction: -------------------------------------------------------------------------------- 1 | execute if data storage tryashtar:dispense_everything item{id:"minecraft:light_blue_glazed_terracotta"} run scoreboard players set #special try_dis_bid 145 2 | execute if data storage tryashtar:dispense_everything item{id:"minecraft:light_gray_glazed_terracotta"} run scoreboard players set #special try_dis_bid 146 3 | 4 | execute if score #special try_dis_bid matches 125..159 run function tryashtar.dispense_everything:behavior/special/shared/horizontal 5 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/.meta/on_entered_world.mcfunction: -------------------------------------------------------------------------------- 1 | ### runs when a new player joins 2 | 3 | # if this is the first install, inform everyone that it worked 4 | execute unless score #extended_pistons try_ext_pist matches 1 run tellraw @a [{"text":"tryashtar's Extended Pistons:\n","color":"aqua"},{"text":"Successfully installed!","color":"green"}] 5 | execute unless score #extended_pistons try_ext_pist matches 1 run gamerule commandBlockOutput false 6 | scoreboard players set #extended_pistons try_ext_pist 1 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/up_center_4.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "cobblestone_wall", 4 | "mossy_cobblestone_wall", 5 | "chorus_plant", 6 | "brick_wall", 7 | "prismarine_wall", 8 | "red_sandstone_wall", 9 | "mossy_stone_brick_wall", 10 | "granite_wall", 11 | "stone_brick_wall", 12 | "nether_brick_wall", 13 | "andesite_wall", 14 | "red_nether_brick_wall", 15 | "sandstone_wall", 16 | "end_stone_brick_wall", 17 | "diorite_wall" 18 | ] 19 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/start_push.mcfunction: -------------------------------------------------------------------------------- 1 | ### power is obtained, begin pushing forward 2 | 3 | execute if score @s try_ext_pist matches 1.. run playsound block.piston.extend block @a ~ ~ ~ .6 .7 4 | execute if score @s try_ext_pist matches 0 run playsound block.shulker_box.open block @a ~ ~ ~ .6 2 5 | tag @s add try_ext_pwr 6 | tag @s add try_ext_ext 7 | 8 | # in 4 ticks, an item will be dispensed that must be handled 9 | scoreboard players set @s[scores={try_ext_count=0}] try_ext_count 4 10 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/support/sugar_cane.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "alternative", 3 | "terms": [ 4 | { 5 | "condition": "location_check", 6 | "predicate": { 7 | "block": { 8 | "block": "frosted_ice" 9 | } 10 | } 11 | }, 12 | { 13 | "condition": "location_check", 14 | "predicate": { 15 | "fluid": { 16 | "tag": "water" 17 | } 18 | } 19 | } 20 | ] 21 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/decide_3a.mcfunction: -------------------------------------------------------------------------------- 1 | execute store result score slot try_end_col run data get block ~ ~ ~ Items[1].Slot 2 | execute if score slot try_end_col matches 3 store result score mult try_end_col run data get block ~ ~ ~ Items[0].Count 3 | execute if score slot try_end_col matches 2 store result score mult try_end_col run data get block ~ ~ ~ Items[2].Count 4 | execute if score slot try_end_col matches 1 run function tryashtar.ender_chests:dye_station/dye_calculations/decide_3b 5 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/.meta/tick.mcfunction: -------------------------------------------------------------------------------- 1 | ### main function, runs every tick 2 | ### sort by nearest from (0,0,0) just to ensure there's a consistent push order 3 | 4 | tag @a remove try_ext_info 5 | execute positioned 0 0 0 as @e[type=area_effect_cloud,tag=try_ext_base,sort=nearest] run function tryashtar.extended_pistons:piston_base/tick 6 | execute as @a[tag=try_ext_info,nbt={SelectedItem:{id:"minecraft:piston"}}] at @s anchored eyes positioned ^ ^ ^ anchored feet run function tryashtar.extended_pistons:view_stats 7 | -------------------------------------------------------------------------------- /BreedItems/data/tryashtar.breed_items/functions/.meta/tick.mcfunction: -------------------------------------------------------------------------------- 1 | execute as @e[type=item,tag=!try_bre_tag] run function tryashtar.breed_items:new_item 2 | scoreboard players reset @e[type=item,scores={try_bre_id=1..},nbt=!{Item:{Count:1b}}] try_bre_id 3 | execute as @e[type=#tryashtar.breed_items:breedable,nbt={Age:0,InLove:0}] at @s run function tryashtar.breed_items:breedable_tick 4 | execute as @e[type=#tryashtar.breed_items:tameable,nbt={Age:0,InLove:0},nbt=!{OwnerUUID:""}] if data entity @s OwnerUUID at @s run function tryashtar.breed_items:breedable_tick 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/ladder_hook/east.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 160 run setblock ~ ~ ~ ladder[facing=west] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 160 run setblock ~ ~ ~ ladder[facing=west,waterlogged=true] 4 | execute if score #special try_dis_bid matches 161 run setblock ~ ~ ~ tripwire_hook[facing=west] 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/ladder_hook/west.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 160 run setblock ~ ~ ~ ladder[facing=east] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 160 run setblock ~ ~ ~ ladder[facing=east,waterlogged=true] 4 | execute if score #special try_dis_bid matches 161 run setblock ~ ~ ~ tripwire_hook[facing=east] 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/ladder_hook/north.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 160 run setblock ~ ~ ~ ladder[facing=south] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 160 run setblock ~ ~ ~ ladder[facing=south,waterlogged=true] 4 | execute if score #special try_dis_bid matches 161 run setblock ~ ~ ~ tripwire_hook[facing=south] 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/ladder_hook/south.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 160 run setblock ~ ~ ~ ladder[facing=north] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 160 run setblock ~ ~ ~ ladder[facing=north,waterlogged=true] 4 | execute if score #special try_dis_bid matches 161 run setblock ~ ~ ~ tripwire_hook[facing=north] 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/normal/37.mcfunction: -------------------------------------------------------------------------------- 1 | execute if data storage tryashtar:dispense_everything item{id:"minecraft:infested_mossy_stone_bricks"} store success score #success try_dis_bid run setblock ~ ~ ~ infested_mossy_stone_bricks 2 | execute if data storage tryashtar:dispense_everything item{id:"minecraft:smooth_red_sandstone_stairs"} run scoreboard players set #special try_dis_bid 281 3 | 4 | execute if score #special try_dis_bid matches 255..285 run function tryashtar.dispense_everything:behavior/special/shared/stairs 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/hopper.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute if score #dir try_dis_bid matches 1 run setblock ~ ~ ~ hopper[facing=west] 3 | execute if score #dir try_dis_bid matches 2 run setblock ~ ~ ~ hopper[facing=east] 4 | execute if score #dir try_dis_bid matches 3..4 run setblock ~ ~ ~ hopper[facing=down] 5 | execute if score #dir try_dis_bid matches 5 run setblock ~ ~ ~ hopper[facing=north] 6 | execute if score #dir try_dis_bid matches 6 run setblock ~ ~ ~ hopper[facing=south] 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/pearl_land.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players operation #pearl try_dis_bid = @s try_dis_bid 2 | execute as @e[type=area_effect_cloud,tag=try_dis_rem] if score @s try_dis_bid = #pearl try_dis_bid run tag @s add try_dis_tp 3 | execute align xyz run tp @s ~0.5 ~0.5 ~0.5 4 | execute if block ~ ~ ~ #tryashtar.dispense_everything:material/merged/replaceable run function tryashtar.dispense_everything:pearl_teleport 5 | kill @e[type=area_effect_cloud,tag=try_dis_tp] 6 | playsound entity.enderman.teleport block @a 7 | kill @s 8 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/ender_chest/remove.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players operation temp try_end_col = @s try_end_col 2 | execute if entity @s[nbt={Items:[]}] run function tryashtar.ender_chests:ender_chest/delete 3 | execute if entity @s[nbt=!{Items:[]}] at 0-0-6019-0-845fed run function tryashtar.ender_chests:ender_chest/return 4 | particle smoke ~ ~0.3 ~ 0.2 0.2 0.2 0.01 20 5 | execute positioned ~ ~-1.3 ~ as @e[type=armor_stand,tag=try_end_ind,distance=..0.36,limit=2] run data merge entity @s {Pose:{LeftArm:[0f,0f,120f],RightArm:[0f,0f,-120f]}} 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/cauldron/water_bottle.mcfunction: -------------------------------------------------------------------------------- 1 | playsound item.bottle.empty block @a 2 | execute if block ~ ~ ~ cauldron[level=2] run setblock ~ ~ ~ cauldron[level=3] 3 | execute if block ~ ~ ~ cauldron[level=1] run setblock ~ ~ ~ cauldron[level=2] 4 | execute if block ~ ~ ~ cauldron[level=0] run setblock ~ ~ ~ cauldron[level=1] 5 | data modify storage tryashtar:dispense_everything item set value {id:"minecraft:glass_bottle",Count:1b} 6 | data modify entity @s Item set value {id:"minecraft:glass_bottle",Count:1b} 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/end_portal/east.mcfunction: -------------------------------------------------------------------------------- 1 | setblock ~ ~ ~ end_portal_frame[facing=east,eye=true] 2 | execute positioned ~2 ~ ~-1 run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 3 | execute if entity @s[tag=!try_dis_ok] positioned ~2 ~ ~ run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 4 | execute if entity @s[tag=!try_dis_ok] positioned ~2 ~ ~1 run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/end_portal/south.mcfunction: -------------------------------------------------------------------------------- 1 | setblock ~ ~ ~ end_portal_frame[facing=south,eye=true] 2 | execute positioned ~1 ~ ~2 run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 3 | execute if entity @s[tag=!try_dis_ok] positioned ~-1 ~ ~2 run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 4 | execute if entity @s[tag=!try_dis_ok] positioned ~ ~ ~2 run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/end_portal/west.mcfunction: -------------------------------------------------------------------------------- 1 | setblock ~ ~ ~ end_portal_frame[facing=east,eye=true] 2 | execute positioned ~-2 ~ ~1 run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 3 | execute if entity @s[tag=!try_dis_ok] positioned ~-2 ~ ~ run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 4 | execute if entity @s[tag=!try_dis_ok] positioned ~-2 ~ ~-1 run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/support/lily_pad.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "alternative", 3 | "terms": [ 4 | { 5 | "condition": "location_check", 6 | "predicate": { 7 | "block": { 8 | "tag": "tryashtar.dispense_everything:material/ice" 9 | } 10 | } 11 | }, 12 | { 13 | "condition": "location_check", 14 | "predicate": { 15 | "fluid": { 16 | "fluid": "water" 17 | } 18 | } 19 | } 20 | ] 21 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/concrete.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "white_concrete", 4 | "orange_concrete", 5 | "magenta_concrete", 6 | "light_blue_concrete", 7 | "yellow_concrete", 8 | "lime_concrete", 9 | "pink_concrete", 10 | "gray_concrete", 11 | "light_gray_concrete", 12 | "cyan_concrete", 13 | "purple_concrete", 14 | "blue_concrete", 15 | "brown_concrete", 16 | "green_concrete", 17 | "red_concrete", 18 | "black_concrete" 19 | ] 20 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/end_portal/north.mcfunction: -------------------------------------------------------------------------------- 1 | setblock ~ ~ ~ end_portal_frame[facing=north,eye=true] 2 | execute positioned ~-1 ~ ~-2 run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 3 | execute if entity @s[tag=!try_dis_ok] positioned ~ ~ ~-2 run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 4 | execute if entity @s[tag=!try_dis_ok] positioned ~1 ~ ~-2 run function tryashtar.dispense_everything:behavior/special/merge/end_portal/check_portal 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/orient/up.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #firstdir try_dis_bid 4 2 | scoreboard players set #dir try_dis_bid 4 3 | execute if block ~ ~ ~1 lapis_block run scoreboard players set #dir try_dis_bid 5 4 | execute if block ~ ~ ~-1 lapis_block run scoreboard players set #dir try_dis_bid 6 5 | execute if block ~-1 ~ ~ lapis_block run scoreboard players set #dir try_dis_bid 2 6 | execute if block ~1 ~ ~ lapis_block run scoreboard players set #dir try_dis_bid 1 7 | execute if block ~ ~1 ~ lapis_block run scoreboard players set #dir try_dis_bid 3 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/pearl_teleport.mcfunction: -------------------------------------------------------------------------------- 1 | setblock 29999977 2 9848 air 2 | execute at @e[type=area_effect_cloud,tag=try_dis_tp] if block ~ ~ ~ dispenser run clone ~ ~ ~ ~ ~ ~ 29999977 2 9848 3 | execute at @e[type=area_effect_cloud,tag=try_dis_tp] if block ~ ~ ~ dispenser run tp @e[type=area_effect_cloud,tag=try_dis_rem,tag=!try_dis_tp,distance=..0.01] @s 4 | execute at @e[type=area_effect_cloud,tag=try_dis_tp] if block ~ ~ ~ dispenser run setblock ~ ~ ~ air 5 | execute if block 29999977 2 9848 dispenser run clone 29999977 2 9848 29999977 2 9848 ~ ~ ~ 6 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/upgrades/process_gold.mcfunction: -------------------------------------------------------------------------------- 1 | ### increase push strength upgrade score 2 | 3 | execute unless block ~ ~ ~ dispenser{Items:[{Slot:0b}]} store result score @s try_ext_temp run data get block ~ ~ ~ Items[0].Count 4 | execute if block ~ ~ ~ dispenser{Items:[{Slot:0b}]} store result score @s try_ext_temp run data get block ~ ~ ~ Items[1].Count 5 | scoreboard players remove @s[scores={try_ext_pup=1..}] try_ext_pup 1 6 | scoreboard players operation @s try_ext_pup += @s try_ext_temp 7 | replaceitem block ~ ~ ~ container.1 gold_ingot 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/orient/down.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #firstdir try_dis_bid 3 2 | scoreboard players set #dir try_dis_bid 3 3 | execute if block ~ ~ ~-1 lapis_block run scoreboard players set #dir try_dis_bid 6 4 | execute if block ~ ~ ~1 lapis_block run scoreboard players set #dir try_dis_bid 5 5 | execute if block ~-1 ~ ~ lapis_block run scoreboard players set #dir try_dis_bid 2 6 | execute if block ~1 ~ ~ lapis_block run scoreboard players set #dir try_dis_bid 1 7 | execute if block ~ ~-1 ~ lapis_block run scoreboard players set #dir try_dis_bid 4 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/orient/east.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #firstdir try_dis_bid 2 2 | scoreboard players set #dir try_dis_bid 2 3 | execute if block ~ ~-1 ~ lapis_block run scoreboard players set #dir try_dis_bid 4 4 | execute if block ~ ~1 ~ lapis_block run scoreboard players set #dir try_dis_bid 3 5 | execute if block ~ ~ ~1 lapis_block run scoreboard players set #dir try_dis_bid 5 6 | execute if block ~ ~ ~-1 lapis_block run scoreboard players set #dir try_dis_bid 6 7 | execute if block ~1 ~ ~ lapis_block run scoreboard players set #dir try_dis_bid 1 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/orient/north.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #firstdir try_dis_bid 5 2 | scoreboard players set #dir try_dis_bid 5 3 | execute if block ~ ~-1 ~ lapis_block run scoreboard players set #dir try_dis_bid 4 4 | execute if block ~ ~1 ~ lapis_block run scoreboard players set #dir try_dis_bid 3 5 | execute if block ~1 ~ ~ lapis_block run scoreboard players set #dir try_dis_bid 1 6 | execute if block ~-1 ~ ~ lapis_block run scoreboard players set #dir try_dis_bid 2 7 | execute if block ~ ~ ~-1 lapis_block run scoreboard players set #dir try_dis_bid 6 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/orient/south.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #firstdir try_dis_bid 6 2 | scoreboard players set #dir try_dis_bid 6 3 | execute if block ~ ~-1 ~ lapis_block run scoreboard players set #dir try_dis_bid 4 4 | execute if block ~ ~1 ~ lapis_block run scoreboard players set #dir try_dis_bid 3 5 | execute if block ~-1 ~ ~ lapis_block run scoreboard players set #dir try_dis_bid 2 6 | execute if block ~1 ~ ~ lapis_block run scoreboard players set #dir try_dis_bid 1 7 | execute if block ~ ~ ~1 lapis_block run scoreboard players set #dir try_dis_bid 5 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/orient/west.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #firstdir try_dis_bid 1 2 | scoreboard players set #dir try_dis_bid 1 3 | execute if block ~ ~-1 ~ lapis_block run scoreboard players set #dir try_dis_bid 4 4 | execute if block ~ ~1 ~ lapis_block run scoreboard players set #dir try_dis_bid 3 5 | execute if block ~ ~ ~-1 lapis_block run scoreboard players set #dir try_dis_bid 6 6 | execute if block ~ ~ ~1 lapis_block run scoreboard players set #dir try_dis_bid 5 7 | execute if block ~-1 ~ ~ lapis_block run scoreboard players set #dir try_dis_bid 2 8 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/block_placement/rotate/south.mcfunction: -------------------------------------------------------------------------------- 1 | summon armor_stand ~ ~-1.2 ~0.35 {Tags:["try_end_ind"],Marker:1b,Fire:32767s,NoGravity:1b,Invisible:1b,Pose:{Body:[91f,0f,0f],LeftArm:[0f,0f,120f],RightArm:[0f,0f,-120f]},ArmorItems:[{},{},{id:leather_chestplate,Count:1b,tag:{display:{color:0}}}]} 2 | summon armor_stand ~ ~-1.2 ~-0.35 {Tags:["try_end_ind"],Marker:1b,Fire:32767s,NoGravity:1b,Invisible:1b,Pose:{Body:[91f,0f,0f],LeftArm:[0f,0f,120f],RightArm:[0f,0f,-120f]},ArmorItems:[{},{},{id:leather_chestplate,Count:1b,tag:{display:{color:0}}}],Rotation:[180f,0f]} 3 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/chest/west 2 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/chest/east 3 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/chest/north 4 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/chest/south 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/bowl_suspicious.mcfunction: -------------------------------------------------------------------------------- 1 | playsound entity.mooshroom.suspicious_milk block @a 2 | data modify storage tryashtar:dispense_everything item set value {id:"minecraft:suspicious_stew",Count:1b} 3 | data modify storage tryashtar:dispense_everything item.tag.Effects[].EffectId set from entity @s EffectId 4 | data modify storage tryashtar:dispense_everything item.tag.Effects[0].EffectDuration set from entity @s EffectDuration 5 | # this clears the effect, /data remove does not 6 | data modify entity @s EffectId set value -1b 7 | tag @s add try_dis_sus 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/plant.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:small_flowers", 4 | "#minecraft:saplings", 5 | "attached_melon_stem", 6 | "attached_pumpkin_stem", 7 | "beetroots", 8 | "brown_mushroom", 9 | "carrots", 10 | "chorus_flower", 11 | "chorus_plant", 12 | "cocoa", 13 | "lily_pad", 14 | "melon_stem", 15 | "nether_wart", 16 | "potatoes", 17 | "pumpkin_stem", 18 | "red_mushroom", 19 | "sugar_cane", 20 | "sweet_berry_bush", 21 | "wheat" 22 | ] 23 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/block_placement/rotate/north.mcfunction: -------------------------------------------------------------------------------- 1 | tp @s ~ ~ ~ 180 0 2 | summon armor_stand ~ ~-1.2 ~0.35 {Tags:["try_end_ind"],Marker:1b,Fire:32767s,NoGravity:1b,Invisible:1b,Pose:{Body:[91f,0f,0f],LeftArm:[0f,0f,120f],RightArm:[0f,0f,-120f]},ArmorItems:[{},{},{id:leather_chestplate,Count:1b,tag:{display:{color:0}}}]} 3 | summon armor_stand ~ ~-1.2 ~-0.35 {Tags:["try_end_ind"],Marker:1b,Fire:32767s,NoGravity:1b,Invisible:1b,Pose:{Body:[91f,0f,0f],LeftArm:[0f,0f,120f],RightArm:[0f,0f,-120f]},ArmorItems:[{},{},{id:leather_chestplate,Count:1b,tag:{display:{color:0}}}],Rotation:[180f,0f]} 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/sound/grass.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#minecraft:saplings", 4 | "#minecraft:leaves", 5 | "#minecraft:flowers", 6 | "grass_block", 7 | "sponge", 8 | "wet_sponge", 9 | "grass", 10 | "fern", 11 | "dead_bush", 12 | "brown_mushroom", 13 | "red_mushroom", 14 | "tnt", 15 | "sugar_cane", 16 | "vine", 17 | "mycelium", 18 | "lily_pad", 19 | "hay_block", 20 | "tall_grass", 21 | "large_fern", 22 | "grass_path", 23 | "dried_kelp_block" 24 | ] 25 | } -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_head/move_blocks.mcfunction: -------------------------------------------------------------------------------- 1 | ### clones the sequence of blocks determined to be pushable forward by one 2 | 3 | tag @s add try_ext_push 4 | execute align xyz as @e[dx=0] positioned as @s run tp @s ^ ^ ^1 5 | execute positioned ^ ^ ^-1 if entity @s[distance=0.0001..] run clone ~ ~ ~ ~ ~ ~ ^ ^ ^1 6 | scoreboard players remove @s try_ext_temp2 1 7 | execute if score @s try_ext_temp2 matches -1 run setblock ~ ~ ~ petrified_oak_slab[type=double] 8 | execute if score @s try_ext_temp2 matches 0.. positioned ^ ^ ^-1 run function tryashtar.extended_pistons:piston_head/move_blocks 9 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/stairs/top.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/stairs/top/east 2 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/stairs/top/west 3 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/stairs/top/south 4 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/stairs/top/north 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/generous_waterlog.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "alternative", 3 | "terms": [ 4 | { 5 | "condition": "location_check", 6 | "predicate": { 7 | "fluid": { 8 | "fluid": "water" 9 | } 10 | } 11 | }, 12 | { 13 | "condition": "location_check", 14 | "predicate": { 15 | "fluid": { 16 | "fluid": "flowing_water", 17 | "state": { 18 | "level": 8 19 | } 20 | } 21 | } 22 | } 23 | ] 24 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/dead_small_coral.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "dead_tube_coral", 4 | "dead_brain_coral", 5 | "dead_bubble_coral", 6 | "dead_fire_coral", 7 | "dead_horn_coral", 8 | "dead_tube_coral_fan", 9 | "dead_brain_coral_fan", 10 | "dead_bubble_coral_fan", 11 | "dead_fire_coral_fan", 12 | "dead_horn_coral_fan", 13 | "dead_tube_coral_wall_fan", 14 | "dead_brain_coral_wall_fan", 15 | "dead_bubble_coral_wall_fan", 16 | "dead_fire_coral_wall_fan", 17 | "dead_horn_coral_wall_fan" 18 | ] 19 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/terracotta.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "terracotta", 4 | "white_terracotta", 5 | "orange_terracotta", 6 | "magenta_terracotta", 7 | "light_blue_terracotta", 8 | "yellow_terracotta", 9 | "lime_terracotta", 10 | "pink_terracotta", 11 | "gray_terracotta", 12 | "light_gray_terracotta", 13 | "cyan_terracotta", 14 | "purple_terracotta", 15 | "blue_terracotta", 16 | "brown_terracotta", 17 | "green_terracotta", 18 | "red_terracotta", 19 | "black_terracotta" 20 | ] 21 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/block_placement/rotate/west.mcfunction: -------------------------------------------------------------------------------- 1 | tp @s ~ ~ ~ 90 0 2 | summon armor_stand ~0.35 ~-1.2 ~ {Tags:["try_end_ind"],Marker:1b,Fire:32767s,NoGravity:1b,Invisible:1b,Pose:{Body:[91f,0f,0f],LeftArm:[0f,0f,120f],RightArm:[0f,0f,-120f]},ArmorItems:[{},{},{id:leather_chestplate,Count:1b,tag:{display:{color:0}}}],Rotation:[-90f,0f]} 3 | summon armor_stand ~-0.35 ~-1.2 ~ {Tags:["try_end_ind"],Marker:1b,Fire:32767s,NoGravity:1b,Invisible:1b,Pose:{Body:[91f,0f,0f],LeftArm:[0f,0f,120f],RightArm:[0f,0f,-120f]},ArmorItems:[{},{},{id:leather_chestplate,Count:1b,tag:{display:{color:0}}}],Rotation:[90f,0f]} 4 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/ender_chest/create.mcfunction: -------------------------------------------------------------------------------- 1 | summon chest_minecart ~ ~0.1 ~ {Tags:["try_end_id","try_end_box"],CustomName:"\"Ender Chest\"",DisplayState:{Name:"ender_chest"},DisplayOffset:10,CustomDisplayTile:1b,NoGravity:1b,Invulnerable:1b} 2 | execute positioned ~ ~0.1 ~ run team join try_end_nclp @e[type=chest_minecart,tag=try_end_box,distance=..0.0001,limit=1] 3 | execute at 0-0-6019-0-845fed run summon area_effect_cloud ~ ~ ~ {Tags:["try_end_id","try_end_mark"],CustomName:"\"Ender Chest Marker\"",Duration:-1,Age:-2147483648,WaitTime:-2147483648} 4 | function tryashtar.ender_chests:ender_chest/welcome 5 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/block_placement/rotate/east.mcfunction: -------------------------------------------------------------------------------- 1 | tp @s ~ ~ ~ 270 0 2 | summon armor_stand ~0.35 ~-1.2 ~ {Tags:["try_end_ind"],Marker:1b,Fire:32767s,NoGravity:1b,Invisible:1b,Pose:{Body:[91f,0f,0f],LeftArm:[0f,0f,120f],RightArm:[0f,0f,-120f]},ArmorItems:[{},{},{id:leather_chestplate,Count:1b,tag:{display:{color:0}}}],Rotation:[-90f,0f]} 3 | summon armor_stand ~-0.35 ~-1.2 ~ {Tags:["try_end_ind"],Marker:1b,Fire:32767s,NoGravity:1b,Invisible:1b,Pose:{Body:[91f,0f,0f],LeftArm:[0f,0f,120f],RightArm:[0f,0f,-120f]},ArmorItems:[{},{},{id:leather_chestplate,Count:1b,tag:{display:{color:0}}}],Rotation:[90f,0f]} 4 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/button/floor.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/button/floor/east 2 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/button/floor/west 3 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/button/floor/south 4 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/button/floor/north 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/saddle.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | 3 | execute align xyz as @e[type=#tryashtar.dispense_everything:horselike,predicate=!tryashtar.dispense_everything:baby,dy=0,nbt={Tame:1b},nbt=!{SaddleItem:{}},sort=nearest,limit=1] run function tryashtar.dispense_everything:behavior/special/extra/saddle_horse 4 | execute if score #success try_dis_bid matches 0 align xyz as @e[type=pig,predicate=!tryashtar.dispense_everything:baby,dy=0,nbt=!{Saddle:1b},sort=nearest,limit=1] at @s run function tryashtar.dispense_everything:behavior/special/extra/saddle_pig 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/cauldron/glass_bottle.mcfunction: -------------------------------------------------------------------------------- 1 | playsound item.bottle.fill block @a 2 | execute if block ~ ~ ~ cauldron[level=1] run setblock ~ ~ ~ cauldron[level=0] 3 | execute if block ~ ~ ~ cauldron[level=2] run setblock ~ ~ ~ cauldron[level=1] 4 | execute if block ~ ~ ~ cauldron[level=3] run setblock ~ ~ ~ cauldron[level=2] 5 | data modify storage tryashtar:dispense_everything item set value {id:"minecraft:potion",Count:1b,tag:{Potion:"minecraft:water"}} 6 | data modify entity @s Item set value {id:"minecraft:potion",Count:1b,tag:{Potion:"minecraft:water"}} 7 | tag @s add try_dis_ok 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/stairs/bottom.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/stairs/bottom/east 2 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/stairs/bottom/west 3 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/stairs/bottom/south 4 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/stairs/bottom/north 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/shulker_box.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "shulker_box", 4 | "white_shulker_box", 5 | "orange_shulker_box", 6 | "magenta_shulker_box", 7 | "light_blue_shulker_box", 8 | "yellow_shulker_box", 9 | "lime_shulker_box", 10 | "pink_shulker_box", 11 | "gray_shulker_box", 12 | "light_gray_shulker_box", 13 | "cyan_shulker_box", 14 | "purple_shulker_box", 15 | "blue_shulker_box", 16 | "brown_shulker_box", 17 | "green_shulker_box", 18 | "red_shulker_box", 19 | "black_shulker_box" 20 | ] 21 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/decoration.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:groups/head", 4 | "#tryashtar.dispense_everything:groups/wall_head", 5 | "#minecraft:flower_pots", 6 | "#minecraft:buttons", 7 | "#minecraft:rails", 8 | "comparator", 9 | "end_rod", 10 | "ladder", 11 | "lever", 12 | "redstone_torch", 13 | "redstone_wall_torch", 14 | "redstone_wire", 15 | "repeater", 16 | "scaffolding", 17 | "torch", 18 | "tripwire", 19 | "tripwire_hook", 20 | "wall_torch" 21 | ] 22 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/button/ceiling.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/button/ceiling/east 2 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/button/ceiling/west 3 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/button/ceiling/south 4 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/button/ceiling/north 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/11.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.11 5 | playsound music_disc.11 record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_11.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_11"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/13.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.13 5 | playsound music_disc.13 record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_13.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_13"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/recipes/chest_station.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "crafting_shaped", 3 | "pattern": [ 4 | " D ", 5 | "PEP", 6 | " H " 7 | ], 8 | "key": { 9 | "D": { 10 | "item": "minecraft:diamond" 11 | }, 12 | "P": { 13 | "item": "minecraft:popped_chorus_fruit" 14 | }, 15 | "E": { 16 | "item": "minecraft:ender_chest" 17 | }, 18 | "H": { 19 | "item": "minecraft:hopper" 20 | } 21 | }, 22 | "result": { 23 | "item": "minecraft:knowledge_book", 24 | "count": 1 25 | } 26 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/cat.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.cat 5 | playsound music_disc.cat record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_cat.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_cat"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/far.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.far 5 | playsound music_disc.far record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_far.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_far"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/trapdoor/open/top.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/open/top/east 2 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/open/top/west 3 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/open/top/south 4 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/open/top/north 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "glass", 4 | "white_stained_glass", 5 | "orange_stained_glass", 6 | "magenta_stained_glass", 7 | "light_blue_stained_glass", 8 | "yellow_stained_glass", 9 | "lime_stained_glass", 10 | "pink_stained_glass", 11 | "gray_stained_glass", 12 | "light_gray_stained_glass", 13 | "cyan_stained_glass", 14 | "purple_stained_glass", 15 | "blue_stained_glass", 16 | "brown_stained_glass", 17 | "green_stained_glass", 18 | "red_stained_glass", 19 | "black_stained_glass" 20 | ] 21 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/mall.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.mall 5 | playsound music_disc.mall record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_mall.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_mall"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/stal.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.stal 5 | playsound music_disc.stal record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_stal.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_stal"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/wait.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.wait 5 | playsound music_disc.wait record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_wait.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_wait"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/ward.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.ward 5 | playsound music_disc.ward record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_ward.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_ward"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/black.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 29 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players operation green try_end_col += add try_end_col 5 | scoreboard players set add try_end_col 33 6 | scoreboard players operation add try_end_col *= mult try_end_col 7 | scoreboard players operation blue try_end_col += add try_end_col 8 | scoreboard players operation max try_end_col += add try_end_col 9 | scoreboard players operation count try_end_col += mult try_end_col 10 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/cyan.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 22 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players set add try_end_col 156 5 | scoreboard players operation add try_end_col *= mult try_end_col 6 | scoreboard players operation green try_end_col += add try_end_col 7 | scoreboard players operation blue try_end_col += add try_end_col 8 | scoreboard players operation max try_end_col += add try_end_col 9 | scoreboard players operation count try_end_col += mult try_end_col 10 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/chirp.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.chirp 5 | playsound music_disc.chirp record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_chirp.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_chirp"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/strad.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.strad 5 | playsound music_disc.strad record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_strad.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_strad"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/trapdoor/closed/top.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/closed/top/east 2 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/closed/top/west 3 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/closed/top/south 4 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/closed/top/north 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/support/kelp.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "alternative", 3 | "terms": [ 4 | { 5 | "condition": "location_check", 6 | "predicate": { 7 | "block": { 8 | "block": "kelp" 9 | } 10 | } 11 | }, 12 | { 13 | "condition": "location_check", 14 | "predicate": { 15 | "block": { 16 | "block": "kelp_plant" 17 | } 18 | } 19 | }, 20 | { 21 | "condition": "reference", 22 | "name": "tryashtar.dispense_everything:block_check/up/full" 23 | } 24 | ] 25 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/light_gray.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 157 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players operation green try_end_col += add try_end_col 5 | scoreboard players operation max try_end_col += add try_end_col 6 | scoreboard players set add try_end_col 151 7 | scoreboard players operation add try_end_col *= mult try_end_col 8 | scoreboard players operation blue try_end_col += add try_end_col 9 | scoreboard players operation count try_end_col += mult try_end_col 10 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/view_stats.mcfunction: -------------------------------------------------------------------------------- 1 | ### show the stats of the base the player is looking at 2 | 3 | title @s actionbar "" 4 | summon area_effect_cloud ^ ^ ^1 {Tags:["try_ext_info"]} 5 | execute as @e[type=area_effect_cloud,tag=try_ext_base,distance=..5,sort=furthest] facing entity @s feet positioned ^ ^ ^1 if entity @e[type=area_effect_cloud,tag=try_ext_info,distance=..0.2,limit=1] positioned ^ ^ ^-1 positioned ~ ~-1.8 ~ run title @a[distance=..0.5] actionbar [{"text":"Max Length: "},{"score":{"name":"@s","objective":"try_ext_pist"}},{"text":" | ","color":"gray"},{"text":"Push Strength: "},{"score":{"name":"@s","objective":"try_ext_temp3"}}] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/east/2x1.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..72] run summon painting ~ ~ ~ {Facing:1b,Motive:"pool"} 5 | execute if entity @s[y_rotation=72..144] run summon painting ~ ~ ~ {Facing:1b,Motive:"courbet"} 6 | execute if entity @s[y_rotation=144..216] run summon painting ~ ~ ~ {Facing:1b,Motive:"sea"} 7 | execute if entity @s[y_rotation=216..288] run summon painting ~ ~ ~ {Facing:1b,Motive:"sunset"} 8 | execute if entity @s[y_rotation=288..360] run summon painting ~ ~ ~ {Facing:1b,Motive:"creebet"} 9 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/west/2x1.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..72] run summon painting ~ ~ ~ {Facing:3b,Motive:"pool"} 5 | execute if entity @s[y_rotation=72..144] run summon painting ~ ~ ~ {Facing:3b,Motive:"courbet"} 6 | execute if entity @s[y_rotation=144..216] run summon painting ~ ~ ~ {Facing:3b,Motive:"sea"} 7 | execute if entity @s[y_rotation=216..288] run summon painting ~ ~ ~ {Facing:3b,Motive:"sunset"} 8 | execute if entity @s[y_rotation=288..360] run summon painting ~ ~ ~ {Facing:3b,Motive:"creebet"} 9 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/blocks.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.blocks 5 | playsound music_disc.blocks record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_blocks.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_blocks"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/horizontal.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/horizontal/west 3 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/horizontal/east 4 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/horizontal/north 5 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/horizontal/south 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/trapdoor/open/bottom.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/open/bottom/east 2 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/open/bottom/west 3 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/open/bottom/south 4 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/open/bottom/north 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/north/2x1.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..72] run summon painting ~ ~ ~ {Facing:2b,Motive:"pool"} 5 | execute if entity @s[y_rotation=72..144] run summon painting ~ ~ ~ {Facing:2b,Motive:"courbet"} 6 | execute if entity @s[y_rotation=144..216] run summon painting ~ ~ ~ {Facing:2b,Motive:"sea"} 7 | execute if entity @s[y_rotation=216..288] run summon painting ~ ~ ~ {Facing:2b,Motive:"sunset"} 8 | execute if entity @s[y_rotation=288..360] run summon painting ~ ~ ~ {Facing:2b,Motive:"creebet"} 9 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/south/2x1.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..72] run summon painting ~ ~ ~ {Facing:0b,Motive:"pool"} 5 | execute if entity @s[y_rotation=72..144] run summon painting ~ ~ ~ {Facing:0b,Motive:"courbet"} 6 | execute if entity @s[y_rotation=144..216] run summon painting ~ ~ ~ {Facing:0b,Motive:"sea"} 7 | execute if entity @s[y_rotation=216..288] run summon painting ~ ~ ~ {Facing:0b,Motive:"sunset"} 8 | execute if entity @s[y_rotation=288..360] run summon painting ~ ~ ~ {Facing:0b,Motive:"creebet"} 9 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/music_disc/mellohi.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | setblock ~ ~ ~ jukebox[has_record=true] 3 | data modify block ~ ~ ~ RecordItem set from storage tryashtar:dispense_everything item 4 | stopsound @a record music_disc.mellohi 5 | playsound music_disc.mellohi record @a ~ ~ ~ 4 6 | title @a actionbar {"translate":"record.nowPlaying","with":[{"translate":"item.minecraft.music_disc_mellohi.desc"}],"color":"green"} 7 | execute align xyz run summon area_effect_cloud ~0.5 ~0.5 ~0.5 {CustomName:'{"translate":"block.minecraft.jukebox"}',Tags:["try_dis_disc","try_dis_disc_mellohi"],Duration:7200} 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/metal.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "bell", 4 | "brewing_stand", 5 | "cauldron", 6 | "chain_command_block", 7 | "command_block", 8 | "diamond_block", 9 | "emerald_block", 10 | "gold_block", 11 | "heavy_weighted_pressure_plate", 12 | "hopper", 13 | "iron_bars", 14 | "iron_block", 15 | "iron_door", 16 | "iron_trapdoor", 17 | "jigsaw", 18 | "lantern", 19 | "lapis_block", 20 | "light_weighted_pressure_plate", 21 | "redstone_block", 22 | "repeating_command_block", 23 | "structure_block" 24 | ] 25 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/trapdoor/closed/bottom.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/closed/bottom/east 2 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/closed/bottom/west 3 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/closed/bottom/south 4 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/trapdoor/closed/bottom/north 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/concrete_powder.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "white_concrete_powder", 4 | "orange_concrete_powder", 5 | "magenta_concrete_powder", 6 | "light_blue_concrete_powder", 7 | "yellow_concrete_powder", 8 | "lime_concrete_powder", 9 | "pink_concrete_powder", 10 | "gray_concrete_powder", 11 | "light_gray_concrete_powder", 12 | "cyan_concrete_powder", 13 | "purple_concrete_powder", 14 | "blue_concrete_powder", 15 | "brown_concrete_powder", 16 | "green_concrete_powder", 17 | "red_concrete_powder", 18 | "black_concrete_powder" 19 | ] 20 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/block_placement/setup_station.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set @s try_end_col 0 2 | scoreboard players set @s try_end_lock 0 3 | scoreboard players set @s try_end_time 32767 4 | 5 | execute if block ~ ~ ~ command_block[facing=east] run function tryashtar.ender_chests:block_placement/rotate/east 6 | execute if block ~ ~ ~ command_block[facing=south] run function tryashtar.ender_chests:block_placement/rotate/south 7 | execute if block ~ ~ ~ command_block[facing=west] run function tryashtar.ender_chests:block_placement/rotate/west 8 | execute if block ~ ~ ~ command_block[facing=north] run function tryashtar.ender_chests:block_placement/rotate/north 9 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_arm/place_wall.mcfunction: -------------------------------------------------------------------------------- 1 | ### places a cobblestone wall with proper connections 2 | 3 | execute if entity @s[y_rotation=0] run setblock ~ ~ ~ cobblestone_wall[north=true,south=true] 4 | execute if entity @s[y_rotation=180] run setblock ~ ~ ~ cobblestone_wall[north=true,south=true] 5 | execute if entity @s[y_rotation=90] run setblock ~ ~ ~ cobblestone_wall[east=true,west=true] 6 | execute if entity @s[y_rotation=270] run setblock ~ ~ ~ cobblestone_wall[east=true,west=true] 7 | execute if entity @s[x_rotation=-90] run setblock ~ ~ ~ cobblestone_wall[up=true] 8 | execute if entity @s[x_rotation=90] run setblock ~ ~ ~ cobblestone_wall[up=true] 9 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/material/merged/replaceable.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "#tryashtar.dispense_everything:material/air", 4 | "#tryashtar.dispense_everything:material/structural_air", 5 | "#tryashtar.dispense_everything:material/replaceable_plant", 6 | "#tryashtar.dispense_everything:material/replaceable_water_plant", 7 | "#tryashtar.dispense_everything:material/water", 8 | "#tryashtar.dispense_everything:material/bubble_column", 9 | "#tryashtar.dispense_everything:material/lava", 10 | "#tryashtar.dispense_everything:material/top_snow", 11 | "#tryashtar.dispense_everything:material/fire" 12 | ] 13 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/vine.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #dir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/merge/vine/west 2 | execute if score #dir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/merge/vine/east 3 | execute if score #dir try_dis_bid matches 3..4 run function tryashtar.dispense_everything:behavior/special/merge/vine/up 4 | execute if score #dir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/merge/vine/north 5 | execute if score #dir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/merge/vine/south 6 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/.meta/on_entered_world.mcfunction: -------------------------------------------------------------------------------- 1 | ### doesn't use #minecraft:load because it runs before the singleplayer player joins 2 | ### if this is the first install, inform everyone that it worked 3 | 4 | execute unless score #ender_chests try_end_col matches 1 run tellraw @a [{"text":"tryashtar's Dyeable Ender Chests:\n","color":"aqua"},{"text":"Successfully installed!","color":"green"}] 5 | execute unless score #ender_chests try_end_col matches 1 run gamerule commandBlockOutput false 6 | scoreboard players set #ender_chests try_end_col 1 7 | 8 | scoreboard players add #max try_end_lock 1 9 | scoreboard players operation @s try_end_lock = #max try_end_lock 10 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/banner_sign/ground.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | 3 | execute if score #horizdir try_dis_bid matches 1 run function tryashtar.dispense_everything:behavior/special/shared/banner_sign/ground/east 4 | execute if score #horizdir try_dis_bid matches 2 run function tryashtar.dispense_everything:behavior/special/shared/banner_sign/ground/west 5 | execute if score #horizdir try_dis_bid matches 5 run function tryashtar.dispense_everything:behavior/special/shared/banner_sign/ground/south 6 | execute if score #horizdir try_dis_bid matches 6 run function tryashtar.dispense_everything:behavior/special/shared/banner_sign/ground/north 7 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/glazed_terracotta.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "white_glazed_terracotta", 4 | "orange_glazed_terracotta", 5 | "magenta_glazed_terracotta", 6 | "light_blue_glazed_terracotta", 7 | "yellow_glazed_terracotta", 8 | "lime_glazed_terracotta", 9 | "pink_glazed_terracotta", 10 | "gray_glazed_terracotta", 11 | "light_gray_glazed_terracotta", 12 | "cyan_glazed_terracotta", 13 | "purple_glazed_terracotta", 14 | "blue_glazed_terracotta", 15 | "brown_glazed_terracotta", 16 | "green_glazed_terracotta", 17 | "red_glazed_terracotta", 18 | "black_glazed_terracotta" 19 | ] 20 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/lectern.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | scoreboard players set #success try_dis_bid 2 3 | 4 | playsound item.book.put block @a 5 | execute if block ~ ~ ~ lectern[facing=north] run setblock ~ ~ ~ lectern[facing=north,has_book=true] 6 | execute if block ~ ~ ~ lectern[facing=south] run setblock ~ ~ ~ lectern[facing=south,has_book=true] 7 | execute if block ~ ~ ~ lectern[facing=east] run setblock ~ ~ ~ lectern[facing=east,has_book=true] 8 | execute if block ~ ~ ~ lectern[facing=west] run setblock ~ ~ ~ lectern[facing=west,has_book=true] 9 | data modify block ~ ~ ~ Book set from storage tryashtar:dispense_everything item 10 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_arm/place_sticky_wall.mcfunction: -------------------------------------------------------------------------------- 1 | ### places a cobblestone wall with proper connections 2 | 3 | execute if entity @s[y_rotation=0] run setblock ~ ~ ~ mossy_cobblestone_wall[north=true,south=true] 4 | execute if entity @s[y_rotation=180] run setblock ~ ~ ~ mossy_cobblestone_wall[north=true,south=true] 5 | execute if entity @s[y_rotation=90] run setblock ~ ~ ~ mossy_cobblestone_wall[east=true,west=true] 6 | execute if entity @s[y_rotation=270] run setblock ~ ~ ~ mossy_cobblestone_wall[east=true,west=true] 7 | execute if entity @s[x_rotation=-90] run setblock ~ ~ ~ mossy_cobblestone_wall[up=true] 8 | execute if entity @s[x_rotation=90] run setblock ~ ~ ~ mossy_cobblestone_wall[up=true] 9 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/directional/up.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #special try_dis_bid matches 103 run setblock ~ ~ ~ barrel[facing=up] 2 | execute if score #special try_dis_bid matches 104 run setblock ~ ~ ~ dispenser[facing=up] 3 | execute if score #special try_dis_bid matches 105 run setblock ~ ~ ~ dropper[facing=up] 4 | execute if score #special try_dis_bid matches 106 run setblock ~ ~ ~ end_rod[facing=up] 5 | execute if score #special try_dis_bid matches 107 run setblock ~ ~ ~ observer[facing=up] 6 | execute if score #special try_dis_bid matches 108 run setblock ~ ~ ~ piston[facing=up] 7 | execute if score #special try_dis_bid matches 109 run setblock ~ ~ ~ sticky_piston[facing=up] 8 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/prevent_transfers.mcfunction: -------------------------------------------------------------------------------- 1 | execute if block ~1 ~ ~ hopper[facing=west] run data merge block ~1 ~ ~ {TransferCooldown:20} 2 | execute if block ~-1 ~ ~ hopper[facing=east] run data merge block ~-1 ~ ~ {TransferCooldown:20} 3 | execute if block ~ ~1 ~ hopper[facing=down] run data merge block ~ ~1 ~ {TransferCooldown:20} 4 | execute if block ~ ~-1 ~ hopper run data merge block ~ ~-1 ~ {TransferCooldown:20} 5 | execute if block ~ ~ ~1 hopper[facing=north] run data merge block ~ ~ ~1 {TransferCooldown:20} 6 | execute if block ~ ~ ~-1 hopper[facing=south] run data merge block ~ ~ ~-1 {TransferCooldown:20} 7 | execute positioned ~ ~-1 ~ run tp @e[type=hopper_minecart,distance=..1] ~ ~-1.1 ~ 8 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_arm/mark_break.mcfunction: -------------------------------------------------------------------------------- 1 | ### ran when one of the arm blocks is missing 2 | ### try to delete its item and mark this spot to pull the head back to 3 | 4 | execute unless score @s try_ext_temp2 matches ..-1 run scoreboard players set @s try_ext_temp2 -1 5 | execute if entity @s[tag=!try_ext_stick] run kill @e[type=item,nbt={Item:{id:"minecraft:cobblestone_wall",Count:1b},Age:0s,PickupDelay:10s},distance=..2,limit=1] 6 | execute if entity @s[tag=try_ext_stick] run kill @e[type=item,nbt={Item:{id:"minecraft:mossy_cobblestone_wall",Count:1b},Age:0s,PickupDelay:10s},distance=..2,limit=1] 7 | kill @e[type=item,nbt={Item:{id:"minecraft:petrified_oak_slab"},Age:0s,PickupDelay:10s},distance=..2,limit=2] 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/directional/down.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #special try_dis_bid matches 103 run setblock ~ ~ ~ barrel[facing=down] 2 | execute if score #special try_dis_bid matches 104 run setblock ~ ~ ~ dispenser[facing=down] 3 | execute if score #special try_dis_bid matches 105 run setblock ~ ~ ~ dropper[facing=down] 4 | execute if score #special try_dis_bid matches 106 run setblock ~ ~ ~ end_rod[facing=down] 5 | execute if score #special try_dis_bid matches 107 run setblock ~ ~ ~ observer[facing=down] 6 | execute if score #special try_dis_bid matches 108 run setblock ~ ~ ~ piston[facing=down] 7 | execute if score #special try_dis_bid matches 109 run setblock ~ ~ ~ sticky_piston[facing=down] 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/directional/east.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #special try_dis_bid matches 103 run setblock ~ ~ ~ barrel[facing=east] 2 | execute if score #special try_dis_bid matches 104 run setblock ~ ~ ~ dispenser[facing=east] 3 | execute if score #special try_dis_bid matches 105 run setblock ~ ~ ~ dropper[facing=east] 4 | execute if score #special try_dis_bid matches 106 run setblock ~ ~ ~ end_rod[facing=east] 5 | execute if score #special try_dis_bid matches 107 run setblock ~ ~ ~ observer[facing=east] 6 | execute if score #special try_dis_bid matches 108 run setblock ~ ~ ~ piston[facing=east] 7 | execute if score #special try_dis_bid matches 109 run setblock ~ ~ ~ sticky_piston[facing=east] 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/directional/west.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #special try_dis_bid matches 103 run setblock ~ ~ ~ barrel[facing=west] 2 | execute if score #special try_dis_bid matches 104 run setblock ~ ~ ~ dispenser[facing=west] 3 | execute if score #special try_dis_bid matches 105 run setblock ~ ~ ~ dropper[facing=west] 4 | execute if score #special try_dis_bid matches 106 run setblock ~ ~ ~ end_rod[facing=west] 5 | execute if score #special try_dis_bid matches 107 run setblock ~ ~ ~ observer[facing=west] 6 | execute if score #special try_dis_bid matches 108 run setblock ~ ~ ~ piston[facing=west] 7 | execute if score #special try_dis_bid matches 109 run setblock ~ ~ ~ sticky_piston[facing=west] 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/groups/glass_pane.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "glass_pane", 4 | "white_stained_glass_pane", 5 | "orange_stained_glass_pane", 6 | "magenta_stained_glass_pane", 7 | "light_blue_stained_glass_pane", 8 | "yellow_stained_glass_pane", 9 | "lime_stained_glass_pane", 10 | "pink_stained_glass_pane", 11 | "gray_stained_glass_pane", 12 | "light_gray_stained_glass_pane", 13 | "cyan_stained_glass_pane", 14 | "purple_stained_glass_pane", 15 | "blue_stained_glass_pane", 16 | "brown_stained_glass_pane", 17 | "green_stained_glass_pane", 18 | "red_stained_glass_pane", 19 | "black_stained_glass_pane" 20 | ] 21 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/directional/north.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #special try_dis_bid matches 103 run setblock ~ ~ ~ barrel[facing=north] 2 | execute if score #special try_dis_bid matches 104 run setblock ~ ~ ~ dispenser[facing=north] 3 | execute if score #special try_dis_bid matches 105 run setblock ~ ~ ~ dropper[facing=north] 4 | execute if score #special try_dis_bid matches 106 run setblock ~ ~ ~ end_rod[facing=north] 5 | execute if score #special try_dis_bid matches 107 run setblock ~ ~ ~ observer[facing=north] 6 | execute if score #special try_dis_bid matches 108 run setblock ~ ~ ~ piston[facing=north] 7 | execute if score #special try_dis_bid matches 109 run setblock ~ ~ ~ sticky_piston[facing=north] 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/directional/south.mcfunction: -------------------------------------------------------------------------------- 1 | execute if score #special try_dis_bid matches 103 run setblock ~ ~ ~ barrel[facing=south] 2 | execute if score #special try_dis_bid matches 104 run setblock ~ ~ ~ dispenser[facing=south] 3 | execute if score #special try_dis_bid matches 105 run setblock ~ ~ ~ dropper[facing=south] 4 | execute if score #special try_dis_bid matches 106 run setblock ~ ~ ~ end_rod[facing=south] 5 | execute if score #special try_dis_bid matches 107 run setblock ~ ~ ~ observer[facing=south] 6 | execute if score #special try_dis_bid matches 108 run setblock ~ ~ ~ piston[facing=south] 7 | execute if score #special try_dis_bid matches 109 run setblock ~ ~ ~ sticky_piston[facing=south] 8 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/cocoa_beans.mcfunction: -------------------------------------------------------------------------------- 1 | execute if block ~-1 ~ ~ #minecraft:jungle_logs if score #horizdir try_dis_bid matches 1 store success score #success try_dis_bid run setblock ~ ~ ~ cocoa[facing=west] 2 | execute if block ~1 ~ ~ #minecraft:jungle_logs if score #horizdir try_dis_bid matches 2 store success score #success try_dis_bid run setblock ~ ~ ~ cocoa[facing=east] 3 | execute if block ~ ~ ~-1 #minecraft:jungle_logs if score #horizdir try_dis_bid matches 5 store success score #success try_dis_bid run setblock ~ ~ ~ cocoa[facing=north] 4 | execute if block ~ ~ ~1 #minecraft:jungle_logs if score #horizdir try_dis_bid matches 6 store success score #success try_dis_bid run setblock ~ ~ ~ cocoa[facing=south] 5 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/snow.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | execute unless block ~ ~ ~ snow[layers=8] run scoreboard players set #success try_dis_bid 1 3 | execute if block ~ ~ ~ snow[layers=7] run setblock ~ ~ ~ snow[layers=8] 4 | execute if block ~ ~ ~ snow[layers=6] run setblock ~ ~ ~ snow[layers=7] 5 | execute if block ~ ~ ~ snow[layers=5] run setblock ~ ~ ~ snow[layers=6] 6 | execute if block ~ ~ ~ snow[layers=4] run setblock ~ ~ ~ snow[layers=5] 7 | execute if block ~ ~ ~ snow[layers=3] run setblock ~ ~ ~ snow[layers=4] 8 | execute if block ~ ~ ~ snow[layers=2] run setblock ~ ~ ~ snow[layers=3] 9 | execute if block ~ ~ ~ snow[layers=1] run setblock ~ ~ ~ snow[layers=2] 10 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/blue.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 60 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players set add try_end_col 68 5 | scoreboard players operation add try_end_col *= mult try_end_col 6 | scoreboard players operation green try_end_col += add try_end_col 7 | scoreboard players set add try_end_col 170 8 | scoreboard players operation add try_end_col *= mult try_end_col 9 | scoreboard players operation blue try_end_col += add try_end_col 10 | scoreboard players operation max try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/brown.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 131 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players operation max try_end_col += add try_end_col 5 | scoreboard players set add try_end_col 84 6 | scoreboard players operation add try_end_col *= mult try_end_col 7 | scoreboard players operation green try_end_col += add try_end_col 8 | scoreboard players set add try_end_col 50 9 | scoreboard players operation add try_end_col *= mult try_end_col 10 | scoreboard players operation blue try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/gray.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 71 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players set add try_end_col 79 5 | scoreboard players operation add try_end_col *= mult try_end_col 6 | scoreboard players operation green try_end_col += add try_end_col 7 | scoreboard players set add try_end_col 82 8 | scoreboard players operation add try_end_col *= mult try_end_col 9 | scoreboard players operation blue try_end_col += add try_end_col 10 | scoreboard players operation max try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/green.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 94 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players set add try_end_col 124 5 | scoreboard players operation add try_end_col *= mult try_end_col 6 | scoreboard players operation green try_end_col += add try_end_col 7 | scoreboard players operation max try_end_col += add try_end_col 8 | scoreboard players set add try_end_col 22 9 | scoreboard players operation add try_end_col *= mult try_end_col 10 | scoreboard players operation blue try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/lime.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 128 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players set add try_end_col 199 5 | scoreboard players operation add try_end_col *= mult try_end_col 6 | scoreboard players operation green try_end_col += add try_end_col 7 | scoreboard players operation max try_end_col += add try_end_col 8 | scoreboard players set add try_end_col 31 9 | scoreboard players operation add try_end_col *= mult try_end_col 10 | scoreboard players operation blue try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/red.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 176 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players operation max try_end_col += add try_end_col 5 | scoreboard players set add try_end_col 46 6 | scoreboard players operation add try_end_col *= mult try_end_col 7 | scoreboard players operation green try_end_col += add try_end_col 8 | scoreboard players set add try_end_col 38 9 | scoreboard players operation add try_end_col *= mult try_end_col 10 | scoreboard players operation blue try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/magenta.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 199 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players operation max try_end_col += add try_end_col 5 | scoreboard players set add try_end_col 78 6 | scoreboard players operation add try_end_col *= mult try_end_col 7 | scoreboard players operation green try_end_col += add try_end_col 8 | scoreboard players set add try_end_col 189 9 | scoreboard players operation add try_end_col *= mult try_end_col 10 | scoreboard players operation blue try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/orange.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 249 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players operation max try_end_col += add try_end_col 5 | scoreboard players set add try_end_col 128 6 | scoreboard players operation add try_end_col *= mult try_end_col 7 | scoreboard players operation green try_end_col += add try_end_col 8 | scoreboard players set add try_end_col 29 9 | scoreboard players operation add try_end_col *= mult try_end_col 10 | scoreboard players operation blue try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/pink.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 243 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players operation max try_end_col += add try_end_col 5 | scoreboard players set add try_end_col 139 6 | scoreboard players operation add try_end_col *= mult try_end_col 7 | scoreboard players operation green try_end_col += add try_end_col 8 | scoreboard players set add try_end_col 170 9 | scoreboard players operation add try_end_col *= mult try_end_col 10 | scoreboard players operation blue try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/purple.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 137 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players set add try_end_col 50 5 | scoreboard players operation add try_end_col *= mult try_end_col 6 | scoreboard players operation green try_end_col += add try_end_col 7 | scoreboard players set add try_end_col 184 8 | scoreboard players operation add try_end_col *= mult try_end_col 9 | scoreboard players operation blue try_end_col += add try_end_col 10 | scoreboard players operation max try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/white.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 249 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players set add try_end_col 255 5 | scoreboard players operation add try_end_col *= mult try_end_col 6 | scoreboard players operation green try_end_col += add try_end_col 7 | scoreboard players operation max try_end_col += add try_end_col 8 | scoreboard players set add try_end_col 254 9 | scoreboard players operation add try_end_col *= mult try_end_col 10 | scoreboard players operation blue try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/yellow.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 254 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players operation max try_end_col += add try_end_col 5 | scoreboard players set add try_end_col 216 6 | scoreboard players operation add try_end_col *= mult try_end_col 7 | scoreboard players operation green try_end_col += add try_end_col 8 | scoreboard players set add try_end_col 61 9 | scoreboard players operation add try_end_col *= mult try_end_col 10 | scoreboard players operation blue try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/tags/blocks/support/east_any_4.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | "sticky_piston", 4 | "piston", 5 | "oak_door", 6 | "ladder", 7 | "iron_door", 8 | "oak_trapdoor", 9 | "spruce_trapdoor", 10 | "birch_trapdoor", 11 | "jungle_trapdoor", 12 | "acacia_trapdoor", 13 | "dark_oak_trapdoor", 14 | "skeleton_wall_skull", 15 | "wither_skeleton_wall_skull", 16 | "zombie_wall_head", 17 | "player_wall_head", 18 | "creeper_wall_head", 19 | "dragon_wall_head", 20 | "anvil", 21 | "chipped_anvil", 22 | "damaged_anvil", 23 | "iron_trapdoor", 24 | "spruce_door", 25 | "birch_door", 26 | "jungle_door", 27 | "acacia_door", 28 | "dark_oak_door", 29 | "end_rod" 30 | ] 31 | } -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/dye_station/dye_calculations/colors/light_blue.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set add try_end_col 58 2 | scoreboard players operation add try_end_col *= mult try_end_col 3 | scoreboard players operation red try_end_col += add try_end_col 4 | scoreboard players set add try_end_col 179 5 | scoreboard players operation add try_end_col *= mult try_end_col 6 | scoreboard players operation green try_end_col += add try_end_col 7 | scoreboard players set add try_end_col 218 8 | scoreboard players operation add try_end_col *= mult try_end_col 9 | scoreboard players operation blue try_end_col += add try_end_col 10 | scoreboard players operation max try_end_col += add try_end_col 11 | scoreboard players operation count try_end_col += mult try_end_col 12 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/east/2x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..60] run summon painting ~ ~ ~ {Facing:1b,Motive:"match"} 5 | execute if entity @s[y_rotation=60..120] run summon painting ~ ~ ~ {Facing:1b,Motive:"bust"} 6 | execute if entity @s[y_rotation=120..180] run summon painting ~ ~ ~ {Facing:1b,Motive:"stage"} 7 | execute if entity @s[y_rotation=180..240] run summon painting ~ ~ ~ {Facing:1b,Motive:"void"} 8 | execute if entity @s[y_rotation=240..300] run summon painting ~ ~ ~ {Facing:1b,Motive:"skull_and_roses"} 9 | execute if entity @s[y_rotation=300..360] run summon painting ~ ~ ~ {Facing:1b,Motive:"wither"} 10 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/north/2x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..60] run summon painting ~ ~ ~ {Facing:2b,Motive:"match"} 5 | execute if entity @s[y_rotation=60..120] run summon painting ~ ~ ~ {Facing:2b,Motive:"bust"} 6 | execute if entity @s[y_rotation=120..180] run summon painting ~ ~ ~ {Facing:2b,Motive:"stage"} 7 | execute if entity @s[y_rotation=180..240] run summon painting ~ ~ ~ {Facing:2b,Motive:"void"} 8 | execute if entity @s[y_rotation=240..300] run summon painting ~ ~ ~ {Facing:2b,Motive:"skull_and_roses"} 9 | execute if entity @s[y_rotation=300..360] run summon painting ~ ~ ~ {Facing:2b,Motive:"wither"} 10 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/south/2x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..60] run summon painting ~ ~ ~ {Facing:0b,Motive:"match"} 5 | execute if entity @s[y_rotation=60..120] run summon painting ~ ~ ~ {Facing:0b,Motive:"bust"} 6 | execute if entity @s[y_rotation=120..180] run summon painting ~ ~ ~ {Facing:0b,Motive:"stage"} 7 | execute if entity @s[y_rotation=180..240] run summon painting ~ ~ ~ {Facing:0b,Motive:"void"} 8 | execute if entity @s[y_rotation=240..300] run summon painting ~ ~ ~ {Facing:0b,Motive:"skull_and_roses"} 9 | execute if entity @s[y_rotation=300..360] run summon painting ~ ~ ~ {Facing:0b,Motive:"wither"} 10 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/painting/west/2x2.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 2 2 | playsound entity.painting.place block @a 3 | 4 | execute if entity @s[y_rotation=0..60] run summon painting ~ ~ ~ {Facing:3b,Motive:"match"} 5 | execute if entity @s[y_rotation=60..120] run summon painting ~ ~ ~ {Facing:3b,Motive:"bust"} 6 | execute if entity @s[y_rotation=120..180] run summon painting ~ ~ ~ {Facing:3b,Motive:"stage"} 7 | execute if entity @s[y_rotation=180..240] run summon painting ~ ~ ~ {Facing:3b,Motive:"void"} 8 | execute if entity @s[y_rotation=240..300] run summon painting ~ ~ ~ {Facing:3b,Motive:"skull_and_roses"} 9 | execute if entity @s[y_rotation=300..360] run summon painting ~ ~ ~ {Facing:3b,Motive:"wither"} 10 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/extra/repair_golem.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | execute store result score #health2 try_dis_bid run data get entity @s Health 100 3 | scoreboard players operation #health try_dis_bid = #health2 try_dis_bid 4 | execute store result entity @s Health float 0.01 run scoreboard players add #health try_dis_bid 2500 5 | execute store result score #health try_dis_bid run data get entity @s Health 100 6 | execute store success score #success try_dis_bid unless score #health try_dis_bid = #health2 try_dis_bid 7 | execute if score #success try_dis_bid matches 1 run playsound entity.iron_golem.repair block @a ~ ~ ~ 1 1 8 | execute if score #success try_dis_bid matches 1 run scoreboard players set #success try_dis_bid 2 9 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/left/east.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=east,type=left] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=east,type=left,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=east,type=left] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=east,type=left,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/left/west.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=west,type=left] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=west,type=left,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=west,type=left] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=west,type=left,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/left/north.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=north,type=left] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=north,type=left,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=north,type=left] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=north,type=left,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/left/south.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=south,type=left] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=south,type=left,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=south,type=left] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=south,type=left,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/right/east.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=east,type=right] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=east,type=right,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=east,type=right] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=east,type=right,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/right/west.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=west,type=right] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=west,type=right,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=west,type=right] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=west,type=right,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/right/north.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=north,type=right] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=north,type=right,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=north,type=right] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=north,type=right,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/right/south.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=south,type=right] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=south,type=right,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=south,type=right] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=south,type=right,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/single/east.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=east,type=single] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=east,type=single,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=east,type=single] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=east,type=single,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/single/west.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=west,type=single] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=west,type=single,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=west,type=single] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=west,type=single,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/single/north.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=north,type=single] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=north,type=single,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=north,type=single] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=north,type=single,waterlogged=true] 6 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/shared/chest/single/south.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #success try_dis_bid 1 2 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=south,type=single] 3 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 75 run setblock ~ ~ ~ chest[facing=south,type=single,waterlogged=true] 4 | execute unless predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=south,type=single] 5 | execute if predicate tryashtar.dispense_everything:waterlog if score #special try_dis_bid matches 76 run setblock ~ ~ ~ trapped_chest[facing=south,type=single,waterlogged=true] 6 | -------------------------------------------------------------------------------- /ExtendedPistons/data/tryashtar.extended_pistons/functions/piston_base/upgrades/restore_ui.mcfunction: -------------------------------------------------------------------------------- 1 | ### restore the UI items, account for upgrade item added while the UI was gone 2 | 3 | execute if block ~ ~ ~ dispenser{Items:[{Slot:0b,id:"minecraft:piston"}]} run scoreboard players add @s try_ext_pist 1 4 | execute if block ~ ~ ~ dispenser{Items:[{Slot:1b,id:"minecraft:gold_ingot"}]} run scoreboard players add @s try_ext_pup 1 5 | execute if block ~ ~ ~ dispenser{Items:[{Slot:2b,id:"minecraft:iron_ingot"}]} run scoreboard players add @s try_ext_pdn 1 6 | 7 | execute if score @s try_ext_pist matches 1.. run replaceitem block ~ ~ ~ container.0 piston 8 | execute if score @s try_ext_pup matches 1.. run replaceitem block ~ ~ ~ container.1 gold_ingot 9 | execute if score @s try_ext_pdn matches 1.. run replaceitem block ~ ~ ~ container.2 iron_ingot 10 | -------------------------------------------------------------------------------- /DyeableEnderChests/data/tryashtar.ender_chests/functions/.meta/load.mcfunction: -------------------------------------------------------------------------------- 1 | ### UUID 0-0-6019-0-845fed 2 | 3 | # DELETE THIS WHEN NBT RECIPES ARE ADDED 4 | advancement revoke @s only tryashtar.ender_chests:recipes/unlock_hack 5 | recipe take @a tryashtar.ender_chests:chest_station 6 | 7 | summon area_effect_cloud ~ 50000 ~ {UUIDLeast:8675309L,UUIDMost:24601L,CustomName:"\"Dyeable Ender Chest Spawn Marker\"",Duration:-1,Age:-2147483648,WaitTime:-2147483648} 8 | 9 | scoreboard objectives add try_end_col dummy "Chest Color" 10 | scoreboard objectives add try_end_time dummy "Chest Timer" 11 | scoreboard objectives add try_end_lock dummy "Chest Lock" 12 | scoreboard players set #scale try_end_col 256 13 | scoreboard players set #scale2 try_end_col 65536 14 | 15 | team add try_end_nclp "Ender Chest Collision" 16 | team modify try_end_nclp collisionRule never 17 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/predicates/support/item_frame/down.json: -------------------------------------------------------------------------------- 1 | { 2 | "condition": "alternative", 3 | "terms": [ 4 | { 5 | "condition": "location_check", 6 | "predicate": { 7 | "block": { 8 | "block": "cauldron" 9 | } 10 | } 11 | }, 12 | { 13 | "condition": "location_check", 14 | "predicate": { 15 | "block": { 16 | "block": "scaffolding", 17 | "state": { 18 | "bottom": false 19 | } 20 | } 21 | } 22 | }, 23 | { 24 | "condition": "inverted", 25 | "term": { 26 | "condition": "reference", 27 | "name": "tryashtar.dispense_everything:block_check/down/any" 28 | } 29 | } 30 | ] 31 | } -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/end_portal/check_portal.mcfunction: -------------------------------------------------------------------------------- 1 | execute if block ~2 ~ ~-1 end_portal_frame[facing=west,eye=true] if block ~2 ~ ~ end_portal_frame[facing=west,eye=true] if block ~2 ~ ~1 end_portal_frame[facing=west,eye=true] if block ~1 ~ ~2 end_portal_frame[facing=north,eye=true] if block ~ ~ ~2 end_portal_frame[facing=north,eye=true] if block ~-1 ~ ~2 end_portal_frame[facing=north,eye=true] if block ~-2 ~ ~1 end_portal_frame[facing=east,eye=true] if block ~-2 ~ ~ end_portal_frame[facing=east,eye=true] if block ~-2 ~ ~-1 end_portal_frame[facing=east,eye=true] if block ~-1 ~ ~-2 end_portal_frame[facing=south,eye=true] if block ~ ~ ~-2 end_portal_frame[facing=south,eye=true] if block ~1 ~ ~-2 end_portal_frame[facing=south,eye=true] run function tryashtar.dispense_everything:behavior/special/merge/end_portal/create_portal 2 | -------------------------------------------------------------------------------- /DispenseEverything/data/tryashtar.dispense_everything/functions/behavior/special/merge/end_portal.mcfunction: -------------------------------------------------------------------------------- 1 | scoreboard players set #finished try_dis_bid 1 2 | scoreboard players set #success try_dis_bid 2 3 | 4 | playsound block.end_portal_frame.fill block @a 5 | execute align xyz run particle smoke ~0.5 ~0.8125 ~0.5 0.1 0 0.1 0 16 6 | execute if block ~ ~ ~ end_portal_frame[facing=north] run function tryashtar.dispense_everything:behavior/special/merge/end_portal/north 7 | execute if block ~ ~ ~ end_portal_frame[facing=south] run function tryashtar.dispense_everything:behavior/special/merge/end_portal/south 8 | execute if block ~ ~ ~ end_portal_frame[facing=east] run function tryashtar.dispense_everything:behavior/special/merge/end_portal/east 9 | execute if block ~ ~ ~ end_portal_frame[facing=west] run function tryashtar.dispense_everything:behavior/special/merge/end_portal/west 10 | --------------------------------------------------------------------------------