diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..c32412a --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,4 @@ +# changes + +## v0.0.1: Celestia season 1 +- do later \ No newline at end of file diff --git a/build.gradle b/build.gradle index 66710fb..85c7439 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ loom { splitEnvironmentSourceSets() mods { - "modid" { + "celestium" { sourceSet sourceSets.main sourceSet sourceSets.client } diff --git a/src/main/java/com/smithy/Celestium.java b/src/main/java/com/smithy/Celestium.java index 289eda8..cff13d1 100644 --- a/src/main/java/com/smithy/Celestium.java +++ b/src/main/java/com/smithy/Celestium.java @@ -17,6 +17,6 @@ public class Celestium implements ModInitializer { // However, some things (like resources) may still be uninitialized. // Proceed with mild caution. - LOGGER.info("Hello Fabric world!"); + LOGGER.info("beer!!!!!"); } } \ No newline at end of file diff --git a/src/main/java/com/smithy/mixin/CelestiumMixin.java b/src/main/java/com/smithy/mixin/CelestiumMixin.java index 7d6bae1..b948047 100644 --- a/src/main/java/com/smithy/mixin/CelestiumMixin.java +++ b/src/main/java/com/smithy/mixin/CelestiumMixin.java @@ -5,11 +5,14 @@ import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; +import com.smithy.Celestium; @Mixin(MinecraftServer.class) public class CelestiumMixin { @Inject(at = @At("HEAD"), method = "loadWorld") private void init(CallbackInfo info) { // This code is injected into the start of MinecraftServer.loadWorld()V + Celestium.LOGGER.info("beef!!!!!"); } + } \ No newline at end of file diff --git a/src/main/resources/data/amethyst_imbuement/recipes/optional/glistering_tome.json b/src/main/resources/data/amethyst_imbuement/recipes/optional/glistering_tome.json new file mode 100644 index 0000000..e604fc6 --- /dev/null +++ b/src/main/resources/data/amethyst_imbuement/recipes/optional/glistering_tome.json @@ -0,0 +1,28 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:all_mods_loaded", + "values": [ + "patchouli" + ] + }, + { + "condition": "amethyst_imbuement:enabled", + "id": "optional/glistering_tome" + } + ], + + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "minecraft:book" + }, + { + "item": "minecraft:amethyst_shard" + } + ], + "result": { + "item": "amethyst_imbuement:glistering_tome" + } + } + \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/cheatchest.mcfunction b/src/main/resources/data/celestium/functions/cheatchest.mcfunction new file mode 100644 index 0000000..0eb686a --- /dev/null +++ b/src/main/resources/data/celestium/functions/cheatchest.mcfunction @@ -0,0 +1 @@ +give @p minecraft:white_shulker_box{display:{Name:'{"text":"End Game"}'},BlockEntityTag:{Items:[{Slot:0b,id:"minecraft:netherite_helmet",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:4,id:"protection"},{lvl:4,id:"blast_protection"},{lvl:4,id:"fire_protection"},{lvl:4,id:"projectile_protection"},{lvl:1,id:"aqua_affinity"},{lvl:3,id:"respiration"}]}},{Slot:1b,id:"minecraft:netherite_leggings",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:4,id:"protection"},{lvl:4,id:"blast_protection"},{lvl:4,id:"fire_protection"},{lvl:4,id:"projectile_protection"}]}},{Slot:2b,id:"minecraft:netherite_sword",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:5,id:"sharpness"},{lvl:5,id:"smite"},{lvl:5,id:"bane_of_arthropods"},{lvl:2,id:"fire_aspect"},{lvl:2,id:"knockback"},{lvl:3,id:"looting"}]}},{Slot:3b,id:"minecraft:netherite_pickaxe",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:5,id:"efficiency"},{lvl:1,id:"silk_touch"}]}},{Slot:4b,id:"minecraft:trident",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:5,id:"loyalty"}]}},{Slot:5b,id:"minecraft:golden_carrot",Count:64b},{Slot:6b,id:"minecraft:golden_carrot",Count:64b},{Slot:7b,id:"minecraft:golden_carrot",Count:64b},{Slot:8b,id:"minecraft:golden_carrot",Count:64b},{Slot:9b,id:"minecraft:netherite_chestplate",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:4,id:"protection"},{lvl:4,id:"blast_protection"},{lvl:4,id:"fire_protection"},{lvl:4,id:"projectile_protection"}]}},{Slot:10b,id:"minecraft:netherite_boots",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:4,id:"protection"},{lvl:4,id:"blast_protection"},{lvl:4,id:"fire_protection"},{lvl:4,id:"projectile_protection"},{lvl:4,id:"feather_falling"},{lvl:3,id:"depth_strider"},{lvl:3,id:"soul_speed"}]}},{Slot:11b,id:"minecraft:netherite_axe",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:5,id:"sharpness"},{lvl:5,id:"smite"},{lvl:5,id:"bane_of_arthropods"},{lvl:5,id:"efficiency"}]}},{Slot:12b,id:"minecraft:netherite_pickaxe",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:5,id:"efficiency"},{lvl:3,id:"fortune"}]}},{Slot:13b,id:"minecraft:water_bucket",Count:1b},{Slot:14b,id:"minecraft:firework_rocket",Count:64b,tag:{Fireworks:{Flight:3}}},{Slot:15b,id:"minecraft:firework_rocket",Count:64b,tag:{Fireworks:{Flight:3}}},{Slot:16b,id:"minecraft:firework_rocket",Count:64b,tag:{Fireworks:{Flight:3}}},{Slot:17b,id:"minecraft:firework_rocket",Count:64b,tag:{Fireworks:{Flight:3}}},{Slot:18b,id:"minecraft:elytra",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"}]}},{Slot:19b,id:"minecraft:shield",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"}],BlockEntityTag:{Patterns:[{Pattern:"flo",Color:4},{Pattern:"mc",Color:0}]}}},{Slot:20b,id:"minecraft:netherite_shovel",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:5,id:"efficiency"}]}},{Slot:21b,id:"minecraft:netherite_axe",Count:1b,tag:{Enchantments:[{lvl:1,id:"mending"},{lvl:3,id:"unbreaking"},{lvl:5,id:"power"},{lvl:2,id:"punch"},{lvl:1,id:"infinity"},{lvl:1,id:"flame"}]}},{Slot:23b,id:"minecraft:cobblestone",Count:64b},{Slot:24b,id:"minecraft:cobblestone",Count:64b},{Slot:25b,id:"minecraft:cobblestone",Count:64b},{Slot:26b,id:"minecraft:cobblestone",Count:64b}]}} 1 \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/cookies.mcfunction b/src/main/resources/data/celestium/functions/cookies.mcfunction new file mode 100644 index 0000000..9dcb8dd --- /dev/null +++ b/src/main/resources/data/celestium/functions/cookies.mcfunction @@ -0,0 +1,2 @@ +tellraw @a {"text":"Here comes the cookie monster.","bold":true,"color":"dark_aqua","hoverEvent":{"action":"show_text","contents":[{"text":"He's here for your cookies.","italic":true,"color":"dark_purple"}]}} +give @a cookie 5 \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/fishy.mcfunction b/src/main/resources/data/celestium/functions/fishy.mcfunction new file mode 100644 index 0000000..7962d04 --- /dev/null +++ b/src/main/resources/data/celestium/functions/fishy.mcfunction @@ -0,0 +1,2 @@ +tellraw @a {"text":"Something smells... Fishy.","bold":true,"italic":true,"color":"blue","hoverEvent":{"action":"show_text","contents":[{"text":"Really fishy.","italic":true,"color":"dark_purple"}]}} +give @a cooked_cod 5 \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/freecash.mcfunction b/src/main/resources/data/celestium/functions/freecash.mcfunction new file mode 100644 index 0000000..de85247 --- /dev/null +++ b/src/main/resources/data/celestium/functions/freecash.mcfunction @@ -0,0 +1,2 @@ +tellraw @a {"text":"Free cash!","bold":true,"color":"dark_green","hoverEvent":{"action":"show_text","contents":[{"text":"Thanks Obama.","italic":true,"color":"dark_purple"}]}} +give @a diamond 8 \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/gamer.mcfunction b/src/main/resources/data/celestium/functions/gamer.mcfunction new file mode 100644 index 0000000..a340584 --- /dev/null +++ b/src/main/resources/data/celestium/functions/gamer.mcfunction @@ -0,0 +1,2 @@ +tellraw @a {"text":"Get _Gaemer'd","bold":true,"hoverEvent":{"action":"show_text","contents":[{"text":"Lmao","italic":true,"color":"dark_purple"}]}} +give @a paper{display:{Name:'{"text":"_Gaemer\'d","italic":false}'},HideFlags:1,Enchantments:[{id:"minecraft:knockback",lvl:2s},{id:"minecraft:vanishing_curse",lvl:1s}]} 1 \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/lies.mcfunction b/src/main/resources/data/celestium/functions/lies.mcfunction new file mode 100644 index 0000000..be33751 --- /dev/null +++ b/src/main/resources/data/celestium/functions/lies.mcfunction @@ -0,0 +1,2 @@ +tellraw @a {"text":"Lies!","bold":true,"color":"dark_red","hoverEvent":{"action":"show_text","contents":[{"text":"The cake is a lie!","italic":true,"color":"dark_purple"}]}} +give @a cake 1 \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/loop.mcfunction b/src/main/resources/data/celestium/functions/loop.mcfunction new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/data/celestium/functions/norush.mcfunction b/src/main/resources/data/celestium/functions/norush.mcfunction new file mode 100644 index 0000000..9899515 --- /dev/null +++ b/src/main/resources/data/celestium/functions/norush.mcfunction @@ -0,0 +1,2 @@ +tellraw @a {"text":"Slow the fuck down!","bold":true,"color":"gold","hoverEvent":{"action":"show_text","contents":[{"text":"Looks like the rush is over.","italic":true,"color":"dark_purple"}]}} +gamerule randomTickSpeed 3 \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/rain.mcfunction b/src/main/resources/data/celestium/functions/rain.mcfunction new file mode 100644 index 0000000..df790ae --- /dev/null +++ b/src/main/resources/data/celestium/functions/rain.mcfunction @@ -0,0 +1,2 @@ +tellraw @a {"text":"It is raining.","bold":true,"color":"dark_aqua","hoverEvent":{"action":"show_text","contents":[{"text":"Don't get wet, now.","italic":true,"color":"dark_purple"}]}} +weather rain 1200 \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/rushtime.mcfunction b/src/main/resources/data/celestium/functions/rushtime.mcfunction new file mode 100644 index 0000000..dfb5ace --- /dev/null +++ b/src/main/resources/data/celestium/functions/rushtime.mcfunction @@ -0,0 +1,3 @@ +tellraw @a {"text":"It's rush hour!","bold":true,"color":"gold","hoverEvent":{"action":"show_text","contents":[{"text":"Things seem to be RACING, THEY'RE RACING!","italic":true,"color":"dark_purple"}]}} +gamerule randomTickSpeed 300 +schedule function gpack:norush 120s \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/sight.mcfunction b/src/main/resources/data/celestium/functions/sight.mcfunction new file mode 100644 index 0000000..d0d71de --- /dev/null +++ b/src/main/resources/data/celestium/functions/sight.mcfunction @@ -0,0 +1,2 @@ +tellraw @a {"text":"I see...","bold":true,"color":"dark_aqua","hoverEvent":{"action":"show_text","contents":[{"text":"Clearly, now, the rain is gone.","italic":true,"color":"dark_purple"}]}} +give @a ender_eye 1 \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/steaks.mcfunction b/src/main/resources/data/celestium/functions/steaks.mcfunction new file mode 100644 index 0000000..466e9d0 --- /dev/null +++ b/src/main/resources/data/celestium/functions/steaks.mcfunction @@ -0,0 +1,2 @@ +tellraw @a {"text":"The Steaks are high...","bold":true,"italic":true,"hoverEvent":{"action":"show_text","contents":[{"text":"They really are...","italic":true,"color":"dark_purple"}]}} +give @a cooked_beef 16 \ No newline at end of file diff --git a/src/main/resources/data/celestium/functions/time.mcfunction b/src/main/resources/data/celestium/functions/time.mcfunction new file mode 100644 index 0000000..c84b442 --- /dev/null +++ b/src/main/resources/data/celestium/functions/time.mcfunction @@ -0,0 +1,2 @@ +tellraw @a {"text":"The time has come...","bold":true,"italic":true,"color":"dark_purple","hoverEvent":{"action":"show_text","contents":[{"text":"It truly has.","italic":true,"color":"dark_purple"}]}} +give @a clock 1 \ No newline at end of file diff --git a/src/main/resources/data/celestium/recipes/amethyst_shard.json b/src/main/resources/data/celestium/recipes/amethyst_shard.json new file mode 100644 index 0000000..79ff209 --- /dev/null +++ b/src/main/resources/data/celestium/recipes/amethyst_shard.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "minecraft:amethyst_block" + } + ], + "result": { + "item": "minecraft:amethyst_shard", + "count": 4 + } + } + \ No newline at end of file diff --git a/src/main/resources/data/minecraft/loot_tables/blocks/blackstone.json b/src/main/resources/data/minecraft/loot_tables/blocks/blackstone.json new file mode 100644 index 0000000..edad135 --- /dev/null +++ b/src/main/resources/data/minecraft/loot_tables/blocks/blackstone.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:blackstone" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "minecraft:blocks/blackstone" +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/recipes/chain.json b/src/main/resources/data/minecraft/recipes/chain.json new file mode 100644 index 0000000..a896008 --- /dev/null +++ b/src/main/resources/data/minecraft/recipes/chain.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "I": { + "item": "minecraft:iron_ingot" + }, + "N": { + "item": "minecraft:iron_nugget" + } + }, + "pattern": [ + "N", + "I", + "N" + ], + "result": { + "item": "minecraft:chain", + "count": 8 + }, + "show_notification": true +} diff --git a/src/main/resources/data/minecraft/tags/functions/load.json b/src/main/resources/data/minecraft/tags/functions/load.json new file mode 100644 index 0000000..a0844a9 --- /dev/null +++ b/src/main/resources/data/minecraft/tags/functions/load.json @@ -0,0 +1,5 @@ +{ + "values": [ + +] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/functions/tick.json b/src/main/resources/data/minecraft/tags/functions/tick.json new file mode 100644 index 0000000..3994eb4 --- /dev/null +++ b/src/main/resources/data/minecraft/tags/functions/tick.json @@ -0,0 +1,5 @@ +{ + "values": [ + + ] +} \ No newline at end of file