Jump to content

MeowCatSunny

Members
  • Posts

    14
  • Joined

  • Last visited

MeowCatSunny's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. this turned to be more complicated then the mod itself
  2. im in git repo and made the file a git gui how would i send this to you?
  3. this should work - https://fastupload.io/37gtwqSDc5Q7c9i
  4. give me more information because the crafting recipe wont work
  5. Java Class Code : package com.example.examplemod.items; import net.minecraft.item.Item; import net.minecraft.potion.EffectInstance; import net.minecraft.potion.Effects; import net.minecraft.item.Food; import net.minecraft.item.ItemGroup; public class Sliced_Cucumber extends Item { private static EffectInstance sliced_cucumberEffect = new EffectInstance(Effects.SPEED, 0, 0); private static Food sliced_cucumberFood = new Food.Builder().hunger(1).saturation(1.2f).effect(() -> sliced_cucumberEffect, 1f).setAlwaysEdible().build(); private static Properties sliced_cucumberProperties = new Properties().group(ItemGroup.FOOD).food(sliced_cucumberFood); public Sliced_Cucumber() { super(sliced_cucumberProperties); } }
  6. just did that and i cannot craft that item when i get in the game
  7. how would i be able to get more players on my server? i use voting sites and still only get a few
  8. this is my new code. { "type": "minecraft:crafting_shaped", "pattern": [ "X", "X", "#" ], "key": { "#": { "item": "minecraft:stick" }, "X": { "item": "mymod:cucumber" } }, "result": { "items": "mymod:sliced_cucumber" } } im still getting errors. Caused by: net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: mymod:recipes/SlicedCucumber.json Caused by: java.lang.RuntimeException: Why did the advancements not load yet?! Execution failed for task ':runClient'. > Process 'command 'C:\Users\user\Desktop\Minecraft Mods Workspace Windows\Workspace\OpenJDK14\bin\java.exe'' finished with non-zero exit value -1
  9. im currently using { "type": "minecraft:crafting_shaped", "pattern": [ "X", "X", "#" ], "key": { "#": { "item": "minecraft:stick" }, "X": { "item": "MyMod:Cucumber" } }, "result": { "items": "MyMod:Sliced_Cucumber" } } which is giving me an error message and crashing my game when i go into the world. What do i do. Error messages : Caused by: net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: mymod:recipes/Cucumber_slice.json Caused by: java.lang.RuntimeException: Why did the advancements not load yet?! Execution failed for task ':runClient'. > Process 'command 'C:\Users\user\Desktop\Minecraft Mods Workspace Windows\Workspace\OpenJDK14\bin\java.exe'' finished with non-zero exit value -1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.