Jump to content

ASHninja1997

Forge Modder
  • Posts

    30
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    Be extraordinary!

ASHninja1997's Achievements

Tree Puncher

Tree Puncher (2/8)

-1

Reputation

  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 .
×
×
  • Create New...

Important Information

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