Jump to content

Oswejo

Members
  • Posts

    13
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Oswejo's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. This is my code for the render bear- my main problem is the nose and ears as they move but look rather weird when they move i will post a pic would load a picture but not sure how to as when i click the image button it does nothing. I also have a basic understanding of java but I did copy that tameable part as i was not sure how to do that.
  2. I have fixed the problem it was because i was in creative and it wouldn't change texture, but i have another question and this is how could i make my creatures movement more fluid rather than weird also how could i change it hit box as they seem to be miss matched
  3. I have set my mob to be tameable and have set it to have different texture but in my ClientProxy i am missing something and im not sure what it is RenderBear Code Client Proxy Code what do i type at the ? to get it to work as it keep setting it to null or i get an error
  4. Hello i am slight confused about how to make rare mob drops this is my code protected void dropRareDrop(int p_70600_1_) { switch (this.rand.nextInt(1)) { case 0: this.dropItem(MItems.Btooth, 1); break; } } also i would like to make it so that my Mob Bear changes texture and adds a collar when tame and changes texture when hit like a wolf. this is my render code
  5. I saw the mistake sorry for all the hassle and by both I meant public ArrayList<ItemStack> getDrops(World world, int x,int y, int z, int metadata, int fortune){ ArrayList<ItemStack> stack = getDrops(world, x, y, z, metadata, fortune);
  6. Ok i now understand what you mean by it calls itself but if How do i cahnge this as i need both of them for it to function so is it something wrong with my naming
  7. where is it doing this as it was all working before and now I'm just confusing myself
  8. After i Added a random drop amount when i destroy the block my game crashes. Crash report this is the Nest.class
  9. my code now is @Overrride public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune){ ArrayList<ItemStack> stack = super.getDrop(world, x, y, z, metadata, fortune); stack.add(new ItemStack(items.feather, 1)); stack.add(new ItemStack(items.stick, 1)); stack.add(new ItemStack(items.string, 1)); stack.add(new ItemStack(items.egg, 1)); Return stack; } So i get all the items but it also drops the block that I break and i don't want this to happen also is there a way of changing the drops for a set number to 1-5 drop. If so how would I code the Random amount dropped
  10. I would like it so that when you a block it can drop multiple item like when you mine redstone ore it drop more than one redstone, I also would like to make it so a block drop multiple different items like feathers and sticks. currently i am using: public Item getItemDropped(int par1, Random random,int par2) { return Item.feather; }
  11. Thanks for the help I didn't see that but now i look over it does help. I have started to clearly break stuff up now. thanks for all the help.
  12. I upload all of the text from the document that contains the crash report if this is not correct or is missing stuff could you please tell me what is missing and where this extra information can be found
  13. I have recently got a crash report and I partly understand it but I feel like there is something wrong wit the start up But I cant tell what is causing it as I understand basic java but can seem to see where it is pointing me. Crash Report Debug crash report or Latest crash report Thanks in Advance Edit: I have now changed the Spoiler to contain the whole crass report
×
×
  • Create New...

Important Information

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