Everything posted by UM3 F0R TH3 W1N
-
How to get my item to be dropped from grass? - 1.12.2
so like this: MinecraftForge.EVENT_BUS.register(SeedsFromGrassEvent.class);
-
How to get my item to be dropped from grass? - 1.12.2
alright, thanks soo much for the help, sorry for me being a noob but I've got the hang of it now, i'm currently in the process of testing it and im hoping it works, however don't I need to call this method in my main class or something
-
How to get my item to be dropped from grass? - 1.12.2
hello?
-
How to get my item to be dropped from grass? - 1.12.2
so, this works: package com.turtywurty.minecraftmadness.events.seeds; import net.minecraftforge.event.world.BlockEvent.HarvestDropsEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; public class SeedsFromGrassEvent { @SubscribeEvent public void getSeedsFromGrass(HarvestDropsEvent event) { event.getDrops(); } } so what do I do now, we're getting somewhere now lol
-
How to get my item to be dropped from grass? - 1.12.2
nvm im stupid
-
How to get my item to be dropped from grass? - 1.12.2
//but HarvestDropEvents h = new HarvestDropEvents(); h.getDrops(); //doesn't work either
-
How to get my item to be dropped from grass? - 1.12.2
a bit but as I said, I took a break, so ive forgotten a lot of it also: HarvestDropsEvent.getDrops(); doesn't work either
-
How to get my item to be dropped from grass? - 1.12.2
package com.turtywurty.minecraftmadness.events.seeds; import java.util.List; import net.minecraft.item.ItemStack; import net.minecraftforge.event.world.BlockEvent; import net.minecraftforge.event.world.BlockEvent.HarvestDropsEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; public class SeedsFromGrassEvent { @SubscribeEvent public void getSeedsFromGrass(HarvestDropsEvent event) { getDrops(); } } but getDrops(); has an error saying that I need to create the method
-
How to get my item to be dropped from grass? - 1.12.2
I tried, it wont let me
-
How to get my item to be dropped from grass? - 1.12.2
package com.turtywurty.minecraftmadness.events.seeds; import java.util.List; import net.minecraft.item.ItemStack; import net.minecraftforge.event.world.BlockEvent; import net.minecraftforge.event.world.BlockEvent.HarvestDropsEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; public class SeedsFromGrassEvent { public final List<ItemStack> drops; @SubscribeEvent public void getSeedsFromGrass(HarvestDropsEvent event) { } public List<ItemStack> getDrops() { return drops; } }
-
How to get my item to be dropped from grass? - 1.12.2
it doesn't let me call it
-
How to get my item to be dropped from grass? - 1.12.2
so I need to create a method called getDrops()?
-
How to get my item to be dropped from grass? - 1.12.2
and theres no methods that it lets me use
-
How to get my item to be dropped from grass? - 1.12.2
that doesn't make sense anyways ^
-
How to get my item to be dropped from grass? - 1.12.2
well that's not important so ok
-
How to get my item to be dropped from grass? - 1.12.2
that's my package name not my domain name, I use it for all my mods but ok
-
How to get my item to be dropped from grass? - 1.12.2
what domain name lol
-
How to get my item to be dropped from grass? - 1.12.2
so what do I need to put inside of my Event class? this is what I currently have: package com.turtywurty.minecraftmadness.events.seeds; import net.minecraftforge.event.world.BlockEvent; import net.minecraftforge.event.world.BlockEvent.HarvestDropsEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; public class SeedsFromGrassEvent { @SubscribeEvent public void getSeedsFromGrass(HarvestDropsEvent event) { } }
-
How to get my item to be dropped from grass? - 1.12.2
thx
-
How to get my item to be dropped from grass? - 1.12.2
this may sound stupid, but can you remind me of how to do that pls lol, ive took a break from programming and just got back into it, so ive forgotten a lot
-
How to get my item to be dropped from grass? - 1.12.2
oh you can? thx, i'll look into it now
-
How to get my item to be dropped from grass? - 1.12.2
Hello fellow modders, I have made some seeds for my crop and I wanted to know how I can get these seeds to be dropped from grass! I know this is possible as I have seen it done before however I am clueless of how it is done. Can anyone help me doing this as I would love to have this in my mod. Many thanks in advance!
- fixed
-
Spawn Eggs in own Creative Tab?? - 1.12.2
ik this post might be totally dead now but I still haven't managed to do it so help would be highly appreciated
-
How to smelt ores that have meta? 1.12.2
Hey fellow modders, this is probs an easy one but I have some ores in my mod that contain meta and I want them to be able to be smelted. how can I make the recipe?
IPS spam blocked by CleanTalk.