
M1kep
Members-
Posts
49 -
Joined
-
Last visited
Everything posted by M1kep
-
Off topic: gotta love when the mod replies, it's like an official formatted response On topic: thank you for you explanation I'll make sure to look into that link, also what's kotlin?
-
So what are the advantages and disadvantages of using Scala to write a mod?
-
Oh, ok makes sense So can you post the code your having problems with?
-
Ohhhhhhh......I though we were talking about the player? There are tutorials regarding TickHandlers out there. Is there a reason why you did not want to go that route?
-
What is the need to do that? Will it make a noticeable difference?
-
uhhhh.... What?
-
I would do it using events: @ForgeSubscribe public void VersionChecker(EntityJoinWorldEvent ev) { if (ev.entity instanceof EntityPlayer) { if (!VersionCheckerClass.isUpToDate) { //Get player and send chat message } } } But that's just my opinion
-
Okie dokie, will do
-
I still can't seem to find tr converter you talk of....
-
Lol, well that's probably what was giving me trouble
-
I can't seem to find the video you are talking about, think you could post a link?
-
Ok, well, if it starts making any sense to you just let me know, please :DD And thank you for all of your help so far
-
ok, so villages, they are using "components" and what not, so how do i go about getting those to generate? Because in his tutorial he uses world.setBlockWithNotify
-
Is this the video your talking about?
-
Ok! Thank you so much If i have any more questions ill post here
-
Ive looked into the classes, I dont understand how to make a class that will generate a village Can you point me in the right direction?
-
uhhhh..... what? Can you please explain?
-
Ok, so Im attempting to generate a village and im running into some problems, i cant seem to figure out what the Array Of Bytes is for and also i dont really see how to go about generating the village, heres my code: @Override public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { IChunkProvider chunk = par2World.getChunkProvider(); MapGenVillage gen = new MapGenVillage(); byte[] par5ArrayOfByte; gen.generate(chunk, par2World, 10, 10, par5ArrayOfByte); return par1ItemStack; } Any idea??
-
Thank you do you mind if I pm you when I get to that point?
-
Hi, so im trying to generate a world gen structure whenever i use an item. for example, if i right click with my item i want it to generate a mine shaft right there. Does anybody have any tips for where to start?
-
Calling function on game start OUTSIDE the main mod class
M1kep replied to Dawars's topic in Modder Support
Hmmm, I really wish I was next to my computer right now so that I could try and help some more, but for now I don't know what to say I'm really sorry :'( -
Calling function on game start OUTSIDE the main mod class
M1kep replied to Dawars's topic in Modder Support
Can you post the actual crash log? -
Calling function on game start OUTSIDE the main mod class
M1kep replied to Dawars's topic in Modder Support
Well, if your looking to do the @init you need to use FMLPreInitialisatiomevent, not FMLInitiliaztionEvent -
Cant create item stack in Event Hook Container Class, please help
M1kep replied to M1kep's topic in Modder Support
Ok, so to start off thank you But now theres another problem that i have NO IDEA where to start The game crashes weather i right click with a bone, or my item. Here's the crash log Here is my Event Class: And my Main Class: -
Cant create item stack in Event Hook Container Class, please help
M1kep replied to M1kep's topic in Modder Support
I was following a tutorial when learning forge And ok ill look at what you have to say and see if i can figure it out.