Jump to content

hydroflame

Members
  • Posts

    1511
  • Joined

  • Last visited

Everything posted by hydroflame

  1. yeah, basicly use the tessellator instead of the renderer reference, the renderer reference uses a lot of insanelly non conventionnal techniques to render the block and dont disable lighting and yes TESR and ISBRH work very differently
  2. [lmgtfy]java dynamically override method[/lmgtfy]
  3. start by looking at the wiki, theres a couple of tut on them
  4. well extended properties get saved automaticly (or you need to implement read/write to nbt method in your IExtendedProperties) and for client access, youll have to use packets to send the values
  5. like i said, its becasue getServerElement doesnt return anything so it never send the message to the client to open the gui, your other 2 gui have containers so once the container is opened the server send the message to the client to open X gui
  6. oh i know, you are doing a !world.isRemote before you open your gui but getServerElemetn doesnt return anything for ControllerPC so it doesnt send the message to the client to open the gui, just remove the !world.isRemote
  7. did you register your guihandler ?
  8. what i mean is, if you println inside the drawScreen function, do you see those inside your logs ?
  9. is the gui being opened correctly ?
  10. yeah, but its a pain to program :\ if we wanted good animation wed need like a colladae reader or something
  11. ok first, how to read logs what youre looking for isnt what you stated what youre looking for is thsi: so lets start by what this means all the "at package.name.classname.method(File.java: line#)" is called the stack trace, it says where and how the program crash. in your case it says: meaning you called a method with soemthign that shouldn't be its followed by: which explain why its not a legal argument and with the stack trace: its in file java.util.Random in methdo nextInt in the file Random.java at line 300 and thsi method is called from: which is YOUR class (always assume that everything under java.* is correct and working, always assume that YOU are not using the code properlly) so its in file EventManager.java at line 57 and its in method addOreSpawn which btw is called from: generateSurface line 24 in file EventManager, but we assume that your code is fucking up ... line 57 of EventManager (well actually 57+- 2 lines): int posX = blockXPos + random.nextInt(maxX); int posY = minY + random.nextInt(diffBtwnMinMaxY); int posZ = blockZPos + random.nextInt(maxZ); remember i dont have line numbers and im not goign to count them so one of these receives a number under 0 (remember earlier: n must be positive) you can clearly see that by doign a println right before calling those System.out.println("value of maxX: "+maxX); int posX = blockXPos + random.nextInt(maxX); System.out.println("value of diffBtwnMinMaxY: "+diffBtwnMinMaxY); int posY = minY + random.nextInt(diffBtwnMinMaxY); System.out.println("value of maxZ: "+maxZ); int posZ = blockZPos + random.nextInt(maxZ); now if you run thsi the logs will look like this: so you know that yes you are fucking up somewhere btw i made up those numbers, i dont know what the actual output will be since you know you are sending negative numbers to the method nextInt you have to find why you are arriving at these resutl and how to fix it gl hf
  12. well ... yeah.... you are supposed to , you cant save it client side anyway whats suppose to happen anyway ?
  13. meh, he could still dynamicly override the method you stated above.
  14. i read the whole post and i have NO idea what this mod is doing....... no pics ? no video? ... oh ... ok well my personal list is f long but heres a few key point 1 spells/leveling system (my mod is doign that but you want to know so here it is) 2 can we PLEASE have a sky dimention, not like the aether where they added like billions of new stuff, just a simple sky dimention i just want to build a sky castle and chill there 3 crops are boooooring, can we have like 150 type of plants, make a butload of recipes with them n all. 4 same for animals, minecraft has virtually NO interraction between all its living, the only 2 interraction are: every mobs want to kill you and wolf hunt passives... woupidou ... (birds, squirrel, more sea creatures (literally theres ONLY the squid in the sea)) 5 steve left hand does NOTHING! give me a shield or wtv (yeah im taking care of that in my mod but wtv) 6 steve looks dull, i can change my skin sure but after im geared up in armor i look like everyone else :\ 7 obsidian op 8 oh hey a server.. but the ore are ALL mined out ... f great 9 sign-shop sucks and are the worst interface ever (yeah i have a good alternative in my mod too) 10 stop using commands... it makes everything 20 times slower to do (der i want to know how much gold i have... better type '/gold current' everytime i want to know hint: HUD!!!) 11 i got more but im tired so can you post pic at least ?
  15. before and after your breakpoint release and grab the mouse: Mouse.setGrabbed(false); //breakpoint Mouse.setGrabbed(true); or alt+tab or windows key or any combinaison of key that will unlock the mouse anyway
  16. do they all have the same block class ? like is that a multiblock, because then i could understand why you would not want to create a new block... anyway you can always reimplement the method that gotolink talked about or if you're using the Block class withotu anything else you can always just override the method gotolink pointed dynamicly, you wouldnt need to create a new class. or ISimpleBlockRenderingHandler
  17. possible: yes animated:no.... thats a wavefront and wavefront are not animatable
  18. yes, because that EXACTLY what you told the program to do this.addSlotToContainer(new SlotCentrifugeInput(this, invPlayer, 0, 58, 20)); this line translates to "yo mc, make me a new slot in this container, make it id 0 at position 58,20 and make it id 0 of the IInventory invPlayer" invPlayer is the inventory of the player... so yeah what youre coding and what is happenin make perfect sens
  19. why would you need a video about rendering a wavefront file ? its literally 2 lines of code IModelCustom model = AdvanceLoader.loadModel("filename.obj"); model.renderAll(); then you need to explain where to physicly place it ... thats it ...
  20. 1 dont edit base class !! 2 thsi wont work in mutliplayer
  21. im pretty sure if you need to sent a entityPlayer you are doing it wrong
×
×
  • Create New...

Important Information

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