Jump to content

marstone

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by marstone

  1. thanks, I was thinking that was where I would have to do it, but was not sure how minecraft handled variables as a whole. Already have those stubbed out, so will finish them out to save the data. Thanks again.
  2. I have been reading through alot of stuff on this, but am confused on how to do this. I need to save an x,y,z, location for a mob, so it will hold through unloading and loading of an area, or server reboot. So question is, is the variables in the class held over, or do I have to save and reload in some form?? Thanks, mind is alittle mushy right now so alittle help is needed.
  3. risking a flame here, but I have been reading a few posts by this guy now. Each one, ask for help, then bitch at what is offered. I have to give props to those guys answering the questions. You guys don't deserve the abuse.
  4. I can't help you as I am in the same boat. Kind of stuck on a mod until I can learn the mobs again. Had it going in 1.4.7, but not so much in 1.6.2. . . If anyone has an up to date tutorial on how to make a very basic mob and get them to render, it would be very appreciated. I think I just need the new render stuff.
  5. yea, found the name. it is tilledfield. Block.tilledField.blockID instead of 60. Now on to collecting items dropped when breaking the crops.
  6. okay, got that working, using the world placeblock method right now. Can anyone tell me what the actual block name of the farmland is? It is item id 60 but would like to program it correctly using "Block.?farmLand?.blockID" instead of hardcoding the 60 in. When I change my villager from a block to an actual mob, I will try sending the hoe event to see if it will add the animation of the surface breaking like when a player hoes the ground. Thanks guys, now on to working out more logic, then putting it under a mob.
  7. okay, yeah the x,y,z is known from the search of blocks that can be tilled. Will give setblock a try. Thanks for the idea, I am still way to new to this and finding things in JD doesn't come natural to my brain (yet). as for the hoe event, maybe (I even looked at the hoe for how it worked and missed it). Since it is a block or later a mob I wouldn't have a EntityPlayer to pass to the function.
  8. I have been looking around for how to get a mob (right now just a block for testing) to till and plant wheat. Will have harvest and put in an inventory later. Just working on the start for now. Well, I have the code done so it will check the nearby blocks out to 4 in each direction to see if it is dirt or grass. I can't find how to till the ground, would it just be destroy the block and replace with a farmland? Sadly, I haven't found the functions for doing that either. I just don't know where to look for the functions, have looked in the JavaDocs but I don't see the logic in many of the groupings yet. A snippet would be great or just a function name that I can look up, anything for this poor old guy. Thanks. Marstone
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.