Here is one Way. You add these To your EntityMagma.java File :3
public boolean interact(EntityPlayer entityplayer)
{
entityplayer.addChatMessage("<"+this.getEntityString()+"> Ima Firin' Ma Lazor !!!");
return true;
}
And here is another way !
public boolean interact(EntityPlayer entityplayer)
{
ModLoader.getMinecraftInstance().thePlayer.addChatMessage("I love Minecraft :3");
return true;
}
My mob spawn at day, and I want it to become another mob (I made) at night so here's my code
public void onLivingUpdate()
{
if (worldObj.isDaytime() && !worldObj.multiplayerWorld)
{
float f = getEntityBrightness(1.0F);
if (f < 0.5F)
{
//I Think it need a code here so it transforms to my other entity
}
}
super.onLivingUpdate();
}
I would be very grateful if someone could help me with this:
At day i have a mob(that is not on fire), not aggressive unless you attack(like pigzombies or spider)
=
I have managed that but now comes the tricky part:
At night the first mob, changes texture pack or it becomes another entity that is agressive
but when it becomes day again it changes back.
If you couldn't understand my idea then reply or if you can help me, plz do it!
Can you please make a tutorial, on how to add your own sound to Minecraft (with AudioMod). I've searched on the Internet but I can't find it. I even tryied myself but after installed ModLoader and AudioMod and I decompile it gives me 42 errors about the AudioMod classes.
I would really appreciate if you could make only a fast one and just explain the important thing to add sounds
Not positive on this but everyone seems to have the same problem on flowers were the grey block appears. What i figured and i think will work is if you switch image to the top so like my code looks like this.
so what i am guessing its the same as the flower with the sappling so you gotta move the image above RegisterBlock so if that helps let me know if not then hopefully u figure it out soon.
x2Robbie2x I tried to watch the tutorials u gave for the Gui but i can't find what i'm searching for :sad.gif:
Could you plz make a tutorial where you show us how to make our own type of Container
(What i mean is a block that when you right click it => it open a GUI where you can store things (like a chest))
I tried myself for 2 hours and the one thing i couldn't solve was:how to chose the place (on my own GUI picture) where i can store things
Hey i got a problem:
When i did what u did to the entity (the code for it to hold a sword), it didn't work for me.
So i tried the same way as the pigmen but it didn't work either!
well i get no errors but my entity doesn't hold a sword in his hand and that annoys me
0
Have you made the tut?
If yes can u plz give me a link i've searched for a tutorial like that for 1 month
0
can you help me then plz?
look at my post (4 posts up)
Ty
0
I need help to do that a monster changes to another monster(like entity1 changes to entity2) when it becomes daytime
I also need help on how to put a name above your mob (like in beta 1.9 the villagers had a name above their head: Certificated...)
Ty in advance
0
replace:
with:
0
Nice Ty but plz fix this:
In minecraft 1.1
doesn't work
it underlines:
0
My mob spawn at day, and I want it to become another mob (I made) at night so here's my code
Can someone plz help?
I would be verry grateful if you did!
Ty in advance
0
I would be very grateful if someone could help me with this:
At day i have a mob(that is not on fire), not aggressive unless you attack(like pigzombies or spider)
=
I have managed that but now comes the tricky part:
At night the first mob, changes texture pack or it becomes another entity that is agressive
but when it becomes day again it changes back.
If you couldn't understand my idea then reply
or if you can help me, plz do it!
0
Ok ty, good to know :biggrin.gif:
But could you still make a tutorial on how to add your own sounds?
Ty in advance
Oh and thank you for the reply :smile.gif:
0
Can you please make a tutorial, on how to add your own sound to Minecraft (with AudioMod). I've searched on the Internet but I can't find it. I even tryied myself but after installed ModLoader and AudioMod and I decompile it gives me 42 errors about the AudioMod classes.
I would really appreciate if you could make only a fast one and just explain the important thing to add sounds
Please answer this post.
Ty in advance.
0
It worked for me!
Ty verry much
0
Could you plz make a tutorial where you show us how to make our own type of Container
(What i mean is a block that when you right click it => it open a GUI where you can store things (like a chest))
I tried myself for 2 hours and the one thing i couldn't solve was: how to chose the place (on my own GUI picture) where i can store things
0
Instead of that amulet that spawn the blockium monster consumes the staff
Can you make a tutorial on how to make it consume another item
ex: Like a "Staff" that when you right click shots a "fireball" and consumes a "fire rune"
0
When i did what u did to the entity (the code for it to hold a sword), it didn't work for me.
So i tried the same way as the pigmen but it didn't work either!
well i get no errors but my entity doesn't hold a sword in his hand and that annoys me
this is what i got now
Hope you can help me
Ty in advance
0
Love you for that.
I have a suggestion: Can you make the mobs more advanced cause you can see them hold a weapon but he doesn't attack with it :/
Can you try that plz?
Ty in advance...
Oh and like I said love you tutorials!