Search the Community
Showing results for tags 'beginner'.
-
I am a beginner modder, with around 50 hours of experience being guided by tutorials and chat-gpt. My mod is almost done, but I want to make the plants specifically require sunlight to encourage players to establish structure above ground. After looking at the vanilla code for a few hours, I'm still...
-
Hi, I need suggestions. I am a beginner in Minecraft Modding. I would like to apply custom effects to some armors, something like: more chance to drop seeds, change zombie awareness, drop more pieces of wood when chopping logs, and things like that. How would you recommend me to do it, is there...
-
Hey so I'm really new to Java/Minecraft, coding, as I've followed a few tutorials on YouTube for the Minecraft side of java, But I've been trying to figure out how I can make a custom coal block to be smeltable? I have the "coal" object itself ready and working, but I haven't been able to find a way...
-
For a while now I have been following a tutorial on YouTube for DataGen that I am using for my mod. I have come across an error that I wanted to check on here before acting on anything that could mess up my progress. The error is as follows: Caused by: java.lang.IllegalStateException: No way...
-
Hi, I'm currently coding an entity that I want to stop moving every time it attacks, but the entity attribute modifiers I'm trying to use don't work, and I'm trying to figure out how to utilize it correctly. AttributeModifier STOP_MOVING = new AttributeModifier( UUID.fromString("58c86...
-
I have been following a tutorial for DataGen for my Minecraft Mod and I have come across an error. Caused by: java.lang.IllegalStateException: No way of obtaining recipe droidsancientrelics:lemon_juice I am not sure why this has happened for the Lemon Juice specifically, as no error is present...
-
Hey, I'm trying to run minecraft on a dedicated server with mods, but it can't start the world. Does anybody have a solution? Log: https://mclo.gs/fysk3AV
-
1.20.1 DataGen: Help with multiple items for a recipe.
DroidCrafter23 posted a topic in Modder Support
I have been following this tutorial for my mod, though I am wondering how I add multiple items in the ModRecipeProvider class. ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.LEMON_JUICE.get(), 4) .requires(ModItems.LEMON.get()) .save(pWrite... -
Hello! So I made a custom bed, but the issue is that Villagers don't recognise it and don't sleep in it? Do you know how can I make it work?if Mixins are the answer can you teach me how I can make them work in 1.20.1 and in my case Thank you!
-
I have been working on my mod for some time now and I am wanting to add a drink item, I am new to modding and am currently self teaching myself java as I follow tutorials. I am hoping that the code would not need a massive reworking. public static final FoodProperties LEMON_JUICE = new FoodPrope...
-
I have recently received support for my upcoming mod, which I have implemented but have received multiple errors giving the same output. I am not sure what to do as I have found out the meaning of java.lang.IllegalStateException and java.lang.ExceptionInInititializerError, though this has not helped...
-
Hello, I want to create an item that when used, generates a structure. (structure don't generates naturally in world) Now I am having trouble generating a structure (jigsaw). The code below works, BUT the structure does not appear in the world until I re-enter it. This is a significant flaw t...
-
I've recently tried to get into modding minecraft using a tutorial. I've followed the tutorial completely so far to the best of my ability, yet I get this error: Exception in thread "main" java.lang.IllegalStateException: Failed to find system mod: minecraft My best guess is that it can't...
-
I was watching: `Forge Modding Tutorial - Minecraft 1.20.1: CUSTOM BIOMES | #43` by KaupenJoe on Youtube, but when i've finished the tutorial and tried to launch the game, i have an error on Intellij... I'me giving you my github: Build.gradle Gradle.properties Settings.gra...
-
My issue is as simple and probably stupid as the title. So, I make add-on for mod missing loot table. I found wiki for dependencies and in an effort to use less effort wondered if it was necessary to make an extra convoluted dependency structure to simply call to some items. I will continue to...
-
I am coding the mod using Intellij community edition with the Adoptium sdk 17 download, all the models i have made using Blockbench, the minecraft version is 1.20.4 and the forge version is 49.0.30. I am trying to make a medieval furnace and i have made the model exceed the 1 block so i have made 3...
-
The crash logs have been easy to read up until this point, I cannot seem to find what the issue is. Tried disabling some of the mods noted at the bottom of the crash log but it had no effect, same crash with the same crash log. Tried exporting only my mods, resources, and shaders, and still had the...
-
I cannot find the answer anywhere public static void onPlayerConsumeXp(PlayerXpEvent.PickupXp event){ if(event.getEntity().getMainHandItem().getAllEnchantments().get(*value i need*) != null){ int shorthand = event.getEntity().getMainHandItem().getAllEnchantments().get(*value i need*);...
-
Hello forgers, Can someone help me with with player detection functionality. I want the client to check if there is a player within 10 chunks of my character (same chunk included). So i need a way to constantly check if there is a player nearby. Maybe using the onClientTick event but i don't know...