Jump to content

thebest108

Members
  • Posts

    503
  • Joined

  • Last visited

Everything posted by thebest108

  1. Oh sorry, ill upload it when I get back home
  2. Anyone?
  3. I have a simple non living entity, but it randomly goes up or down making the player standing on it fall Does anyone know a fix for this?
  4. Let me start this off with WRONG! Do @Override public AxisAlignedBb getBoundingBox(){ return yourboundingbox; } Simple as that Btw, do you know anyways to get entities to be less fidgety?
  5. A new field that would be an entity It would be that entity that currently has the ItemStack in their inventory When the item is dropped or in a chest or etc it would be null
  6. Step 1: Make a random ItemStack Step 2: set its id to your items shifted id Step 3: Make a new entityItem Step 4: set its ItemStack to the ItemStack you made before Step 5: spawn the entityItem You are now educated
  7. How would I render a non living entity to look like a block, similar to falling sand/gravel
  8. I know how to do 1.4 but 1.2?
  9. Well you could do a switch based on damage value
  10. So your saying, glass panes are tile entities
  11. Wrong forum, ask a coding question or face lex's wrath
  12. Hmm I have ic2's source code so I'll look around and see if I can find it
  13. I did not know that mnm but for that I give you a thank you
  14. Did you remember to do GameRegistry.addTileEntity() In your mod file?
  15. No don't install that heap of mods, just delete the 3 ic2 folders that have integration in their name
  16. Just checked entire class and there is none
  17. Anyone know of a method for onUpdate when it's in the armor slot?
  18. Don't us netbeans, your overcomplicating things
  19. 2 things A: The problem could be your tile entity, please show its code B: remember to do GameRegistry.registerTileEnitiy in your mod file, otherwise nbt saving won't work
  20. Bearded Octo nemesis is a program made by immibis its on his mc forum You open it and it just asks for an input file, output file, and Mcp folder It's really not that hard
  21. I've tried many ways like if(nbt.getInteger("Charge")<item.maxPower)) or by checking the items damage but i cant get it working, does anyone know how batboxes know when to stop charging
  22. How do you fuck up a switch , tutorial copycat I suppose
  23. It may have something to do with the color hex multiplier Or your picture file isn't 256x256 Or it's because you didn't do setBlockName which YOU MUST DO!!! Otherwise any new blocks you add will share the same properties
  24. So you want to decompile a mod eh? Step 1 Get bearded Octo nemesis, it will deobsfucate the code (Note: The input and output folder both need to be zips) Step 2 Get jdgui and open the output zip with it Step 3 in jdgui in file there should be an option called save all sources, press it Step 4 open the zip jdgui makes, and drag all it's contents into your src package from eclipse Step 5 Your done! Now pat yourself on the back and give me a thank you since this is hard to obtain information Notes/Warnings Note: in bearded Octo nemesis, the Mcp folder is used for the deobsfucation so choose the folder appropriately Note: go into the properties of beard Octo nemesis and disable security on it(you need to do this otherwise your computer won't give it access to the input file, and it'll spit out an access denied error) Note: This is not perfect, there will be quite a few errors in the code when you dump it into eclipse, fix them appropriately!
  25. There is a thing called enum helper which lets you make a material in 1 line of code, you should look into it
×
×
  • Create New...

Important Information

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