I got it to fix, but the new int's that I had to add, I have no clue what they mean. The mobs aren't seeming to spawn in game, unless I just haven't been able to see them.
I am having some serious issues with getting scaling to fit right. I am making a tile entity, and it is 1 x 2 x 1, but it is never the right size.
could you post how to get the scaling to work correctly to fit specific dimensions. I could do this, but I can't measure the actual size it is coming out as.
Rollback Post to RevisionRollBack
I don't cheat; I just conveniently write the rules.
src\minecraft\net\minecraft\src\mod_WTWM.java:3: package java.utiil does not exi
st
import java.utiil.Map;
^
src\minecraft\net\minecraft\src\mod_WTWM.java:21: cannot find symbol
symbol : class Map
location: class net.minecraft.src.mod_WTWM
public void AddRenderer(Map map)
^
src\minecraft\net\minecraft\src\mod_WTWM.java:17: cannot find symbol
symbol : method AddSpawn(java.lang.Class<net.minecraft.src.EntityWeirdo>,int,ne
t.minecraft.src.EnumCreatureType)
location: class net.minecraft.src.ModLoader
ModLoader.AddSpawn(EntityWeirdo.class, 100, EnumCreatureType.creature);
^
src\minecraft\net\minecraft\src\mod_WTWM.java:23: cannot find symbol
symbol : constructor RenderWeirdo(net.minecraft.src.ModelWeirdo,float)
location: class net.minecraft.src.RenderWeirdo
map.put(EntityWeirdo.class, new RenderWeirdo(new ModelWeirdo(), 0.5F));
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:11: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
head = new ModelRenderer(0, 0);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:20: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
body = new ModelRenderer(16, 16);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:29: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
rightarm = new ModelRenderer(40, 16);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:38: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
leftarm = new ModelRenderer(40, 16);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:47: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
rightleg = new ModelRenderer(0, 16);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:56: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
leftleg = new ModelRenderer(0, 16);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:65: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
I_NEED_A_NAME = new ModelRenderer(0, 0);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:74: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
neck = new ModelRenderer(0, 0);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:83: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
rarm_connector = new ModelRenderer(0, 0);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:92: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
larm_connector1 = new ModelRenderer(0, 0);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:104: cannot find symbol
symbol : method render(float,float,float,float,float,float)
location: class net.minecraft.src.ModelBiped
super.render(f, f1, f2, f3, f4, f5);
^
15 errors
==================
> Done in 6.57 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .
I got it to fix, but the new int's that I had to add, I have no clue what they mean. The mobs aren't seeming to spawn in game, unless I just haven't been able to see them.
sorry, been playing 1.8.1 for a bit (never really played minecraft till now) so have been out of the loop for a bit. I'm still going to wait (and should probably check again today) for the 1.8.1 MCP. I really don't want to have to go back and fix things I changed to make it work. I am also going to do some paper work for my mod since they have added a few things I was going to work into the game. I think I'll stay out of modding till then, but I will be back.
I'll still watch and help out on 1.7.3 (eclipse users!) where I can.
sorry, been playing 1.8.1 for a bit (never really played minecraft till now) so have been out of the loop for a bit. I'm still going to wait (and should probably check again today) for the 1.8.1 MCP. I really don't want to have to go back and fix things I changed to make it work. I am also going to do some paper work for my mod since they have added a few things I was going to work into the game. I think I'll stay out of modding till then, but I will be back.
I'll still watch and help out on 1.7.3 (eclipse users!) where I can.
A tile entity is not a "mob", but it doesn't need to be, it just needs to be able to read a model file. For example, the minecart is not a mob, but it clearly has its own model, and the mob spawner displays a rendering of the mob inside it, so it can definitely read the model files.
Rollback Post to RevisionRollBack
I don't cheat; I just conveniently write the rules.
Guess I was having too much fun building a castle with a moat and a water slide. Also made my first portal and died in the neither with all my good stuff when a gast fireballed the bridge I maded to collect glow dust (another first for me). Couldn't get out of teh lava so all my stuff was lost. :angry.gif:
Ya after that post I went and installed it while noticing that 1.9 is around the corner...
I've also been putting down some ideas for my NPCs and the AI, similar to the millinaire mod, mixed in with some of my taming ideas....
Ok i got the spawning the work now, do you think you can code your mob to:
Teleport
Spawn Other Mobs
Break/Build Blocks
Have little Particles coming out for it
and Hold Items?
You have to define better what you mean by Teleport. If you mean be at one place, then hte next instant 10 blocks away, I don't see why not. You can make your own AI parameters for why and when it teleports, then just change it's posx,posy and posz.
Again, with Spawn other mobs, the code is there. The same as with the teleport, you would have to do the AI for it.
I haven't gotten to mining yet, but I have seen it done. If it's just to destroy the block in front of it, you could just delete that block. Building would be the opposite, just add a block
Have particles is done with my tame code. you could just have it run the code every so many ticks
Holding/wielding items is possible. There is a method for that, though I don't remember what it is called. Check the skeleton entity.
You have to define better what you mean by Teleport. If you mean be at one place, then hte next instant 10 blocks away, I don't see why not. You can make your own AI parameters for why and when it teleports, then just change it's posx,posy and posz.
Again, with Spawn other mobs, the code is there. The same as with the teleport, you would have to do the AI for it.
I haven't gotten to mining yet, but I have seen it done. If it's just to destroy the block in front of it, you could just delete that block. Building would be the opposite, just add a block
Have particles is done with my tame code. you could just have it run the code every so many ticks
Holding/wielding items is possible. There is a method for that, though I don't remember what it is called. Check the skeleton entity.
What I mean by telepot, Like it would just walk around and just teleport like 50 blocks away from your character after a few seconds. But after you attack it everytime you hit it or get close to hitting it, it teleports behind or to the side of you to confuse you. Also, I don't really know how to make my own AI parameters,
I was looking at your keybinding tut and I noticed it was for a mob is there any way I could do it to where the mob was unable to move and I have complete control of it when I have a certain item equiped?
I was looking at your keybinding tut and I noticed it was for a mob is there any way I could do it to where the mob was unable to move and I have complete control of it when I have a certain item equiped?
I'm going to revisit my mount control code in a bit, after actually playing the game more and exploring the things you can do in more detail. I'm thinking of making the control more like the boat, but hopefully with a decelerate when you let go of the forward movement. This also removes the strafing.
Adding the "key" item to allow control can be done, but if you are talking equiping after being mounted, might be done in the onlivingupdate check for what the ridder has equiped. Think you can check for that.
I might more go with a use item on mount to get the control.
I know but I don't know where I'm supposed to put the ";". I used Eclipse but I just got it and I'm not sure how to check for errors.
Where ever there's an error, there will be a red underline. put your mouse over that and it will give ways to fix it.
But I don't see any red line.
The ModelYourname has been changed so
has to be
for every model piece.
There's another error that I'm having that I have no clue how to fix from 1.7 to 1.8
This is in mod_MobNameHere
I got it to fix, but the new int's that I had to add, I have no clue what they mean. The mobs aren't seeming to spawn in game, unless I just haven't been able to see them.
could you post how to get the scaling to work correctly to fit specific dimensions. I could do this, but I can't measure the actual size it is coming out as.
I don't cheat; I just conveniently write the rules.
Oops, did I steal your mod? Well, I'm lazy, so if I found the motivation to do so, you did something wrong as a developer.
Additional Buildcraft Objects: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2310397
I'm currently also working on Remain in Motion. http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2104611
I can't advertise the others....
My Patreon: https://www.patreon.com/DA3DSOUL
> Recompiling client...
"C:\Program Files\Java\jdk1.6.0_21\bin\javac.exe" -g -source 1.6 -target 1.6 -cl
asspath "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.ja
r;jars/bin/lwjgl_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecr
aft\net\minecraft\client\*.java src/minecraft\net\minecraft\isom\*.java src/mine
craft\net\minecraft\src\*.java conf/patches/*.java failed.
Return code : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_WTWM.java:3: package java.utiil does not exi
st
import java.utiil.Map;
^
src\minecraft\net\minecraft\src\mod_WTWM.java:21: cannot find symbol
symbol : class Map
location: class net.minecraft.src.mod_WTWM
public void AddRenderer(Map map)
^
src\minecraft\net\minecraft\src\mod_WTWM.java:17: cannot find symbol
symbol : method AddSpawn(java.lang.Class<net.minecraft.src.EntityWeirdo>,int,ne
t.minecraft.src.EnumCreatureType)
location: class net.minecraft.src.ModLoader
ModLoader.AddSpawn(EntityWeirdo.class, 100, EnumCreatureType.creature);
^
src\minecraft\net\minecraft\src\mod_WTWM.java:23: cannot find symbol
symbol : constructor RenderWeirdo(net.minecraft.src.ModelWeirdo,float)
location: class net.minecraft.src.RenderWeirdo
map.put(EntityWeirdo.class, new RenderWeirdo(new ModelWeirdo(), 0.5F));
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:11: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
head = new ModelRenderer(0, 0);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:20: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
body = new ModelRenderer(16, 16);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:29: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
rightarm = new ModelRenderer(40, 16);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:38: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
leftarm = new ModelRenderer(40, 16);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:47: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
rightleg = new ModelRenderer(0, 16);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:56: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
leftleg = new ModelRenderer(0, 16);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:65: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
I_NEED_A_NAME = new ModelRenderer(0, 0);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:74: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
neck = new ModelRenderer(0, 0);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:83: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
rarm_connector = new ModelRenderer(0, 0);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:92: cannot find symbol
symbol : constructor ModelRenderer(int,int)
location: class net.minecraft.src.ModelRenderer
larm_connector1 = new ModelRenderer(0, 0);
^
src\minecraft\net\minecraft\src\ModelWeirdo.java:104: cannot find symbol
symbol : method render(float,float,float,float,float,float)
location: class net.minecraft.src.ModelBiped
super.render(f, f1, f2, f3, f4, f5);
^
15 errors
==================
> Done in 6.57 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .
Can't seem to fix this, I'm doing whatever I can
eclipse won't work for me
actually I got it to work, but it's not telling me whats wrong
I don't cheat; I just conveniently write the rules.
Oops, did I steal your mod? Well, I'm lazy, so if I found the motivation to do so, you did something wrong as a developer.
Additional Buildcraft Objects: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2310397
I'm currently also working on Remain in Motion. http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2104611
I can't advertise the others....
My Patreon: https://www.patreon.com/DA3DSOUL
sorry, been playing 1.8.1 for a bit (never really played minecraft till now) so have been out of the loop for a bit. I'm still going to wait (and should probably check again today) for the 1.8.1 MCP. I really don't want to have to go back and fix things I changed to make it work. I am also going to do some paper work for my mod since they have added a few things I was going to work into the game. I think I'll stay out of modding till then, but I will be back.
I'll still watch and help out on 1.7.3 (eclipse users!) where I can.
OLD 1.7: http://www.minecraftforum.net/topic/529327-modloader173-adding-custom-mobs-and-more/ ---inLanoche says : USE ECLIPSE
I hate to say it, but MCP for 1.8.1 has been out for nearly a week now :tongue.gif:
Their wiki shows the current version, I'd recommend bookmarking it:
http://mcp.ocean-labs.de/index.php/MCP_Releases#MCP_4.x_2
A tile entity is not a "mob", but it doesn't need to be, it just needs to be able to read a model file. For example, the minecart is not a mob, but it clearly has its own model, and the mob spawner displays a rendering of the mob inside it, so it can definitely read the model files.
I don't cheat; I just conveniently write the rules.
Oops, did I steal your mod? Well, I'm lazy, so if I found the motivation to do so, you did something wrong as a developer.
Additional Buildcraft Objects: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2310397
I'm currently also working on Remain in Motion. http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2104611
I can't advertise the others....
My Patreon: https://www.patreon.com/DA3DSOUL
Teleport
Spawn Other Mobs
Break/Build Blocks
Have little Particles coming out for it
and Hold Items?
I don't cheat; I just conveniently write the rules.
Oops, did I steal your mod? Well, I'm lazy, so if I found the motivation to do so, you did something wrong as a developer.
Additional Buildcraft Objects: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2310397
I'm currently also working on Remain in Motion. http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2104611
I can't advertise the others....
My Patreon: https://www.patreon.com/DA3DSOUL
Guess I was having too much fun building a castle with a moat and a water slide. Also made my first portal and died in the neither with all my good stuff when a gast fireballed the bridge I maded to collect glow dust (another first for me). Couldn't get out of teh lava so all my stuff was lost. :angry.gif:
Ya after that post I went and installed it while noticing that 1.9 is around the corner...
I've also been putting down some ideas for my NPCs and the AI, similar to the millinaire mod, mixed in with some of my taming ideas....
Time to get back to the code.
OLD 1.7: http://www.minecraftforum.net/topic/529327-modloader173-adding-custom-mobs-and-more/ ---inLanoche says : USE ECLIPSE
You have to define better what you mean by Teleport. If you mean be at one place, then hte next instant 10 blocks away, I don't see why not. You can make your own AI parameters for why and when it teleports, then just change it's posx,posy and posz.
Again, with Spawn other mobs, the code is there. The same as with the teleport, you would have to do the AI for it.
I haven't gotten to mining yet, but I have seen it done. If it's just to destroy the block in front of it, you could just delete that block. Building would be the opposite, just add a block
Have particles is done with my tame code. you could just have it run the code every so many ticks
Holding/wielding items is possible. There is a method for that, though I don't remember what it is called. Check the skeleton entity.
OLD 1.7: http://www.minecraftforum.net/topic/529327-modloader173-adding-custom-mobs-and-more/ ---inLanoche says : USE ECLIPSE
What I mean by telepot, Like it would just walk around and just teleport like 50 blocks away from your character after a few seconds. But after you attack it everytime you hit it or get close to hitting it, it teleports behind or to the side of you to confuse you. Also, I don't really know how to make my own AI parameters,
I'm going to revisit my mount control code in a bit, after actually playing the game more and exploring the things you can do in more detail. I'm thinking of making the control more like the boat, but hopefully with a decelerate when you let go of the forward movement. This also removes the strafing.
Adding the "key" item to allow control can be done, but if you are talking equiping after being mounted, might be done in the onlivingupdate check for what the ridder has equiped. Think you can check for that.
I might more go with a use item on mount to get the control.
OLD 1.7: http://www.minecraftforum.net/topic/529327-modloader173-adding-custom-mobs-and-more/ ---inLanoche says : USE ECLIPSE