Jump to content

ASHninja1997

Forge Modder
  • Posts

    30
  • Joined

  • Last visited

Everything posted by ASHninja1997

  1. Hi So I have tried looking up how to override main (or base) classes a couple times a found nothing. Is there ANY sort of method in forge that will allow me to override any main/base classes? I gave a short and to the point answer, if you need more information please ask. Thanks, ~ASHninja1997
  2. Wait I figured it out. I deleted the onNeighborBlockChange in the portalBlock class. trial by error . But like i said before thank you so much for helping me improve.
  3. Are you still available to help me. I understand if you don't as in my past posts I look cheap (believe me i wouldn't want to help copy and pasters either). I not being impatient, just wondering .
  4. Yes I must admit I do, do that. I didn't want to spend a lot of time writing a whole new teleporter class when I don't need to modify it, I just needed a class separated from the original. I don't like be cheap by copying code because I like people who write original content. I didn't exactly think that copying the vanilla teleporter class would be cheap but I now understand that. Thank you for helping me realize this. I will try better in the present and future.
  5. If your accusing me of copy and pasting some one else's code your wrong. I watch "how to" videos and LEARN from that. Scratchforfun is the person who I learn from. We all have to start somewhere. If you know a solution I would be glad to hear it in a "teaching" or show a step by step explanation (code not necessary). I don't like people who copy and paste, I watch tutorials so please don't get the two mixed up.
  6. Sorry for the delay. I thought this problem occurred a lot on the forums and didn't think I need to post the code. But I tend forget the necessity of it. PortalBlock I don't know if this has anything to do with it or not, but your the Expert . TeleporterClass If you have any more questions, I will gladly answer them . Thank you for your help and time.
  7. Custom Portal Block Disappears when Placed Next to Another One. This happens even when setting the block in the world using code (generating a portal for instance). I am having trouble trying to fix this. I guess there doesn't rely need to be any other explanation why I need this to be fixed but questions are always welcome considering I am asking for help.
  8. Wait! I used this code and solved it if (par2 == 0 && par1 == 3) return furnaceIconFront; return par1 == 1 ? this.furnaceIconTop : (par1 == 0 ? this.furnaceIconTop : (par1 != par2 ? this.blockIcon : this.furnaceIconFront));
  9. Hello! So I am having this same problem as well....I tried the getIcon() method fix suggested by CJLetsGame. The custom furnace texture loaded correctly in the inventory. But, my problem is that when the block is placed it registers the side icons as the top and bottom icons. I double checked exactly what I was replacing and found out that the getIcon() method as used above was different then mine (different minecraft version I am assuming). Here is what my getIcon() method looks like. @SideOnly(Side.CLIENT) /** * From the specified side and block metadata retrieves the blocks texture. Args: side, metadata */ public Icon getIcon(int par1, int par2) { return par1 == 1 ? this.furnaceIconTop : (par1 == 0 ? this.furnaceIconTop : (par1 != par2 ? this.blockIcon : this.furnaceIconFront)); } Seeing that it is different.....what should I do or change in order for the top and bottom icons to register correctly. I assume that I just need to register them in the getIcon() method. But, then again this is my first time looking at this code so i am not 100% sure. Thanks before hand
  10. YOU FIXED IT!!!! You are the man!! Man thank you so much, your awesome!!! I can not explain how happy I am, I have been having trouble with this for a couple of days then you come along and solve it. YES!!! Thank you so much!!
  11. Oops....sorry I forgot to add that class. GuiHandler
  12. Hello! So I watched the video again and got the GUI to load but right after it loads minecraft crashes. It said the error was [sTDERR] Caused by: java.lang.ClassCastException: Crystalorb.GUIEnergizer cannot be cast to net.minecraft.inventory.Container at Crystalorb.OrbEnergizer.onBlockActivated(OrbEnergizer.java:139) OrbEnergizer 139 par5EntityPlayer.openGui(Main.instance, 0, par1World, x, y, z); GUIEnergizer.class
  13. Hello! I am back again with yet another problem... So I was watching a video on how to make a custom furnace [1.5.2] (you have to start somewhere ) and I followed the tutorial till the end but I encountered a problem. I know what line is causing the error, but I don't understand what the error is saying to fix. Error ContainerEnergizer Class OrbEnergizer Class Line Error (Line 144) If you have anymore questions please ask.
  14. Ok. So I got some things to work...Still working on it though..... If I can't get something to work I will come back here. But, I think I solved the problem. I will tell you if I have.
  15. Ok, so I found the Explosion.Class in the net. minecraft.world package and looked at it. I remade my explosion method and it still didn't make a bigger explosion. How exactly would you increase the radius of the explosion so that it is bigger. Here is what I have so far. I am open to any suggestions .
  16. ! Yeah, I noticed that, but the weird thing is that The explosion still occurs where the TNT exploded. Also, if the offset wasn't there and the explosion occurred exactly where the TNT exploded I still can't seem to make a bigger explosion. I thought you made the explosion bigger by changing the Float value. But as I said before, I am still very new to this. I couldn't imagine how long it took you to get to your experience level.
  17. Hello! Basically, I am trying to create a bigger explosion when my TNT goes off, but I can't seem to get it to work correctly. I just need to make a much larger explosion. Looks like a simple thing that's right in front of me, I just can't see it.
  18. Ok, I got minecraft to start, but whenever I go into the decorations blocks tab where my new chest is located and scroll down just a little the game crashes. Here is the source of the error ItemOrbChestRender Error TileEntityRenderer.instance.renderTileEntityAt(new TileEntityOrbChest(), 0.0D, 0.0D, 0.0D, 0.0f);
  19. Sorry for the delaied reply. ClientProxy 12th line MinecraftForgeClient.registerItemRenderer(Main.orb_crystal_chest.blockID, new ItemOrbChestRender());
  20. I know its a NullPointerException and I found the line that caused the error.....but I just can't figure out what I am missing or what I forgot to installize. Based on what I have posted above do you think you might be able to figure it out?
  21. Oh, I am getting this error when I try to test the mod. It tries to upload, then it closes. Error
  22. So would I delete the TileEntityOrbChestRender class and in replace make a new class exactly like the TileEntitySpecialRenderer?
  23. Thank you . I will try this right now.
  24. Well to be precise I am very new to forge and Minecraft client modding. Now being as it may that I am new to client modding I do know Java (just in case you were going to say go learn Java then come back ). Basically, I am trying to create a new chest, but I am having some difficulty with the Rendering. Being that I am still learning, I will welcome any message you have to suggest. Thanks
×
×
  • Create New...

Important Information

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