From fb1077fc8c31528180df2fa680a6b41b394ab9de Mon Sep 17 00:00:00 2001 From: nimsolated Date: Fri, 13 Mar 2026 21:37:27 -0700 Subject: [PATCH] update: 1.4.1 --- elements/BonemealRecipe.mod.json | 48 ---------- elements/ShitSpawnLogic.mod.json | 7 -- ...tRecipe2.mod.json => SkullRecipe.mod.json} | 26 ++--- elements/WitherSkeletonSkullRecipe.mod.json | 48 ++++++++++ nims_random_bullshit.mcreator | 95 ++++++------------- .../procedures/ShitSpawnLogicProcedure.java | 41 -------- .../nims_random_bullshit/lang/en_us.json | 6 +- .../recipes/bonemeal_recipe.json | 13 --- .../recipes/shit_recipe_2.json | 13 --- .../recipes/skull_recipe.json | 21 ++++ .../recipes/wither_skeleton_skull_recipe.json | 21 ++++ 11 files changed, 136 insertions(+), 203 deletions(-) delete mode 100644 elements/BonemealRecipe.mod.json delete mode 100644 elements/ShitSpawnLogic.mod.json rename elements/{ShitRecipe2.mod.json => SkullRecipe.mod.json} (52%) create mode 100644 elements/WitherSkeletonSkullRecipe.mod.json delete mode 100644 src/main/java/net/mcreator/nimsrandombullshit/procedures/ShitSpawnLogicProcedure.java delete mode 100644 src/main/resources/data/nims_random_bullshit/recipes/bonemeal_recipe.json delete mode 100644 src/main/resources/data/nims_random_bullshit/recipes/shit_recipe_2.json create mode 100644 src/main/resources/data/nims_random_bullshit/recipes/skull_recipe.json create mode 100644 src/main/resources/data/nims_random_bullshit/recipes/wither_skeleton_skull_recipe.json diff --git a/elements/BonemealRecipe.mod.json b/elements/BonemealRecipe.mod.json deleted file mode 100644 index a0e9828..0000000 --- a/elements/BonemealRecipe.mod.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "_fv": 73, - "_type": "recipe", - "definition": { - "recipeType": "Crafting", - "recipeRetstackSize": 3, - "group": "", - "cookingBookCategory": "MISC", - "xpReward": 0.0, - "cookingTime": 200, - "craftingBookCategory": "MISC", - "recipeShapeless": true, - "recipeSlots": [ - { - "value": "CUSTOM:Shit" - }, - { - "value": "" - }, - { - "value": "" - }, - { - "value": "" - }, - { - "value": "" - }, - { - "value": "" - }, - { - "value": "" - }, - { - "value": "" - }, - { - "value": "" - } - ], - "recipeReturnStack": { - "value": "Items.DYE#15" - }, - "name": "bonemeal_recipe", - "namespace": "mod" - } -} \ No newline at end of file diff --git a/elements/ShitSpawnLogic.mod.json b/elements/ShitSpawnLogic.mod.json deleted file mode 100644 index c1a0d9c..0000000 --- a/elements/ShitSpawnLogic.mod.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "_fv": 73, - "_type": "procedure", - "definition": { - "procedurexml": "entity_ticksShitCounterADDShitCounter1ANDEQMODShitCounter60000LTRANDOM0.125TRUECUSTOM:Shit20" - } -} \ No newline at end of file diff --git a/elements/ShitRecipe2.mod.json b/elements/SkullRecipe.mod.json similarity index 52% rename from elements/ShitRecipe2.mod.json rename to elements/SkullRecipe.mod.json index 8957409..18d5acb 100644 --- a/elements/ShitRecipe2.mod.json +++ b/elements/SkullRecipe.mod.json @@ -8,41 +8,41 @@ "cookingBookCategory": "MISC", "xpReward": 0.0, "cookingTime": 200, - "craftingBookCategory": "MISC", - "recipeShapeless": true, + "craftingBookCategory": "EQUIPMENT", + "recipeShapeless": false, "recipeSlots": [ { - "value": "CUSTOM:BrokenGlass" + "value": "Items.BONE" }, { - "value": "" + "value": "Items.BONE" }, { - "value": "" + "value": "Items.BONE" }, { - "value": "" + "value": "Items.BONE" }, { - "value": "" + "value": "Items.IRON_HELMET" }, { - "value": "" + "value": "Items.BONE" }, { - "value": "" + "value": "Items.BONE" }, { - "value": "" + "value": "Items.BONE" }, { - "value": "" + "value": "Items.BONE" } ], "recipeReturnStack": { - "value": "CUSTOM:Shit" + "value": "Blocks.SKULL#0" }, - "name": "shit_recipe_2", + "name": "skull_recipe", "namespace": "mod" } } \ No newline at end of file diff --git a/elements/WitherSkeletonSkullRecipe.mod.json b/elements/WitherSkeletonSkullRecipe.mod.json new file mode 100644 index 0000000..61e66f2 --- /dev/null +++ b/elements/WitherSkeletonSkullRecipe.mod.json @@ -0,0 +1,48 @@ +{ + "_fv": 73, + "_type": "recipe", + "definition": { + "recipeType": "Crafting", + "recipeRetstackSize": 1, + "group": "", + "cookingBookCategory": "MISC", + "xpReward": 0.0, + "cookingTime": 200, + "craftingBookCategory": "EQUIPMENT", + "recipeShapeless": false, + "recipeSlots": [ + { + "value": "Items.COAL#0" + }, + { + "value": "Items.COAL#0" + }, + { + "value": "Items.COAL#0" + }, + { + "value": "Items.COAL#0" + }, + { + "value": "Blocks.SKULL#0" + }, + { + "value": "Items.COAL#0" + }, + { + "value": "Items.COAL#0" + }, + { + "value": "Items.COAL#0" + }, + { + "value": "Items.COAL#0" + } + ], + "recipeReturnStack": { + "value": "Blocks.SKULL#1" + }, + "name": "wither_skeleton_skull_recipe", + "namespace": "mod" + } +} \ No newline at end of file diff --git a/nims_random_bullshit.mcreator b/nims_random_bullshit.mcreator index 8012e21..86cc61b 100644 --- a/nims_random_bullshit.mcreator +++ b/nims_random_bullshit.mcreator @@ -795,54 +795,6 @@ }, "path": "~/Shit" }, - { - "name": "ShitSpawnLogic", - "type": "procedure", - "compiles": true, - "locked_code": false, - "registry_name": "shit_spawn_logic", - "metadata": { - "files": [ - "src/main/java/net/mcreator/nimsrandombullshit/procedures/ShitSpawnLogicProcedure.java" - ], - "dependencies": [ - { - "name": "entity", - "type": "entity" - }, - { - "name": "x", - "type": "number" - }, - { - "name": "y", - "type": "number" - }, - { - "name": "z", - "type": "number" - }, - { - "name": "world", - "type": "world" - } - ] - }, - "path": "~/Shit" - }, - { - "name": "BonemealRecipe", - "type": "recipe", - "compiles": true, - "locked_code": false, - "registry_name": "bonemeal_recipe", - "metadata": { - "files": [ - "src/main/resources/data/nims_random_bullshit/recipes/bonemeal_recipe.json" - ] - }, - "path": "~/Shit" - }, { "name": "ShitRecipe", "type": "recipe", @@ -856,19 +808,6 @@ }, "path": "~/Shit" }, - { - "name": "ShitRecipe2", - "type": "recipe", - "compiles": true, - "locked_code": false, - "registry_name": "shit_recipe_2", - "metadata": { - "files": [ - "src/main/resources/data/nims_random_bullshit/recipes/shit_recipe_2.json" - ] - }, - "path": "~/Shit" - }, { "name": "GoldenBerries", "type": "item", @@ -1912,7 +1851,7 @@ } ] }, - "path": "~/Mailbox" + "path": "~/Tux" }, { "name": "TuxPlaybackConditionWalking", @@ -1933,6 +1872,32 @@ ] }, "path": "~/Tux" + }, + { + "name": "SkullRecipe", + "type": "recipe", + "compiles": true, + "locked_code": false, + "registry_name": "skull_recipe", + "metadata": { + "files": [ + "src/main/resources/data/nims_random_bullshit/recipes/skull_recipe.json" + ] + }, + "path": "~/Other" + }, + { + "name": "WitherSkeletonSkullRecipe", + "type": "recipe", + "compiles": true, + "locked_code": false, + "registry_name": "wither_skeleton_skull_recipe", + "metadata": { + "files": [ + "src/main/resources/data/nims_random_bullshit/recipes/wither_skeleton_skull_recipe.json" + ] + }, + "path": "~/Other" } ], "variable_elements": [], @@ -1968,11 +1933,11 @@ "tab_element_order": {}, "language_map": { "en_us": { - "gui.nims_random_bullshit.mailbox_name_entry_gui.button_done": "Done", "item.nims_random_bullshit.star_wand": "Star Wand", + "gui.nims_random_bullshit.mailbox_name_entry_gui.button_done": "Done", "gui.nims_random_bullshit.ore_miner_gui.button_mine": "Mine", - "block.nims_random_bullshit.penta_condensed_netherrack": "Penta-condensed Netherrack", "item.nims_random_bullshit.magic_dust": "Magic Dust", + "block.nims_random_bullshit.penta_condensed_netherrack": "Penta-condensed Netherrack", "enchantment.nims_random_bullshit.passive_income_enchantment": "Passive Income", "gui.nims_random_bullshit.label_copy_machine_gui.button_copy": "Copy", "gui.nims_random_bullshit.mailbox_gui.outbox_x_coord": "0", @@ -1980,8 +1945,8 @@ "block.nims_random_bullshit.label_copy_machine": "Label Copy Machine", "effect.nims_random_bullshit.summoned_entity_effect": "Summoned Entity", "gui.nims_random_bullshit.mailbox_name_entry_gui.mailbox_name_field": "", - "item.nims_random_bullshit.ghoul_spawn_egg": "Ghoul Spawn Egg", "item.nims_random_bullshit.shipping_label": "Shipping Label", + "item.nims_random_bullshit.ghoul_spawn_egg": "Ghoul Spawn Egg", "gui.nims_random_bullshit.mailbox_gui.label_y": "Y:", "gui.nims_random_bullshit.mailbox_gui.label_z": "Z:", "item.nims_random_bullshit.tux_spawn_egg": "Tux Spawn Egg", diff --git a/src/main/java/net/mcreator/nimsrandombullshit/procedures/ShitSpawnLogicProcedure.java b/src/main/java/net/mcreator/nimsrandombullshit/procedures/ShitSpawnLogicProcedure.java deleted file mode 100644 index d74b0b1..0000000 --- a/src/main/java/net/mcreator/nimsrandombullshit/procedures/ShitSpawnLogicProcedure.java +++ /dev/null @@ -1,41 +0,0 @@ -package net.mcreator.nimsrandombullshit.procedures; - -import net.minecraftforge.fml.common.Mod; -import net.minecraftforge.eventbus.api.SubscribeEvent; -import net.minecraftforge.eventbus.api.Event; -import net.minecraftforge.event.entity.living.LivingEvent; - -import net.minecraft.world.level.LevelAccessor; -import net.minecraft.world.item.ItemStack; -import net.minecraft.world.entity.item.ItemEntity; -import net.minecraft.world.entity.Entity; -import net.minecraft.server.level.ServerLevel; - -import net.mcreator.nimsrandombullshit.init.NimsRandomBullshitModItems; - -import javax.annotation.Nullable; - -@Mod.EventBusSubscriber -public class ShitSpawnLogicProcedure { - @SubscribeEvent - public static void onEntityTick(LivingEvent.LivingTickEvent event) { - execute(event, event.getEntity().level(), event.getEntity().getX(), event.getEntity().getY(), event.getEntity().getZ(), event.getEntity()); - } - - public static void execute(LevelAccessor world, double x, double y, double z, Entity entity) { - execute(null, world, x, y, z, entity); - } - - private static void execute(@Nullable Event event, LevelAccessor world, double x, double y, double z, Entity entity) { - if (entity == null) - return; - entity.getPersistentData().putDouble("ShitCounter", (entity.getPersistentData().getDouble("ShitCounter") + 1)); - if (entity.getPersistentData().getDouble("ShitCounter") % 6000 == 0 && Math.random() < 0.125) { - if (world instanceof ServerLevel _level) { - ItemEntity entityToSpawn = new ItemEntity(_level, x, y, z, new ItemStack(NimsRandomBullshitModItems.SHIT.get())); - entityToSpawn.setPickUpDelay(20); - _level.addFreshEntity(entityToSpawn); - } - } - } -} diff --git a/src/main/resources/assets/nims_random_bullshit/lang/en_us.json b/src/main/resources/assets/nims_random_bullshit/lang/en_us.json index 4f933d2..64cbbd7 100644 --- a/src/main/resources/assets/nims_random_bullshit/lang/en_us.json +++ b/src/main/resources/assets/nims_random_bullshit/lang/en_us.json @@ -1,9 +1,9 @@ { - "gui.nims_random_bullshit.mailbox_name_entry_gui.button_done": "Done", "item.nims_random_bullshit.star_wand": "Star Wand", + "gui.nims_random_bullshit.mailbox_name_entry_gui.button_done": "Done", "gui.nims_random_bullshit.ore_miner_gui.button_mine": "Mine", - "block.nims_random_bullshit.penta_condensed_netherrack": "Penta-condensed Netherrack", "item.nims_random_bullshit.magic_dust": "Magic Dust", + "block.nims_random_bullshit.penta_condensed_netherrack": "Penta-condensed Netherrack", "enchantment.nims_random_bullshit.passive_income_enchantment": "Passive Income", "gui.nims_random_bullshit.label_copy_machine_gui.button_copy": "Copy", "gui.nims_random_bullshit.mailbox_gui.outbox_x_coord": "0", @@ -11,8 +11,8 @@ "block.nims_random_bullshit.label_copy_machine": "Label Copy Machine", "effect.nims_random_bullshit.summoned_entity_effect": "Summoned Entity", "gui.nims_random_bullshit.mailbox_name_entry_gui.mailbox_name_field": "", - "item.nims_random_bullshit.ghoul_spawn_egg": "Ghoul Spawn Egg", "item.nims_random_bullshit.shipping_label": "Shipping Label", + "item.nims_random_bullshit.ghoul_spawn_egg": "Ghoul Spawn Egg", "gui.nims_random_bullshit.mailbox_gui.label_y": "Y:", "gui.nims_random_bullshit.mailbox_gui.label_z": "Z:", "item.nims_random_bullshit.tux_spawn_egg": "Tux Spawn Egg", diff --git a/src/main/resources/data/nims_random_bullshit/recipes/bonemeal_recipe.json b/src/main/resources/data/nims_random_bullshit/recipes/bonemeal_recipe.json deleted file mode 100644 index 8d7cad2..0000000 --- a/src/main/resources/data/nims_random_bullshit/recipes/bonemeal_recipe.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "category": "misc", - "ingredients": [ - { - "item": "nims_random_bullshit:shit" - } - ], - "result": { - "item": "minecraft:bone_meal", - "count": 3 - } -} \ No newline at end of file diff --git a/src/main/resources/data/nims_random_bullshit/recipes/shit_recipe_2.json b/src/main/resources/data/nims_random_bullshit/recipes/shit_recipe_2.json deleted file mode 100644 index ad5fff0..0000000 --- a/src/main/resources/data/nims_random_bullshit/recipes/shit_recipe_2.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "category": "misc", - "ingredients": [ - { - "item": "nims_random_bullshit:broken_glass" - } - ], - "result": { - "item": "nims_random_bullshit:shit", - "count": 1 - } -} \ No newline at end of file diff --git a/src/main/resources/data/nims_random_bullshit/recipes/skull_recipe.json b/src/main/resources/data/nims_random_bullshit/recipes/skull_recipe.json new file mode 100644 index 0000000..c438b89 --- /dev/null +++ b/src/main/resources/data/nims_random_bullshit/recipes/skull_recipe.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "equipment", + "pattern": [ + "aaa", + "aba", + "aaa" + ], + "key": { + "a": { + "item": "minecraft:bone" + }, + "b": { + "item": "minecraft:iron_helmet" + } + }, + "result": { + "item": "minecraft:skeleton_skull", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/nims_random_bullshit/recipes/wither_skeleton_skull_recipe.json b/src/main/resources/data/nims_random_bullshit/recipes/wither_skeleton_skull_recipe.json new file mode 100644 index 0000000..4066de6 --- /dev/null +++ b/src/main/resources/data/nims_random_bullshit/recipes/wither_skeleton_skull_recipe.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "equipment", + "pattern": [ + "aaa", + "aba", + "aaa" + ], + "key": { + "a": { + "item": "minecraft:coal" + }, + "b": { + "item": "minecraft:skeleton_skull" + } + }, + "result": { + "item": "minecraft:wither_skeleton_skull", + "count": 1 + } +} \ No newline at end of file