Posted August 15, 201411 yr I have a gui that displays fine but I want to access the variables from that class. I have successfully done this I think by looking at the horse gui, but now get a crash when I try to open it. I think it is due to: return new GUIBlockling(player.inventory, new InventoryBlockling("Inventory", 22), null); I had an error there before, but am not sure how to resolve it, sorry I am still trying to learn both java and modding.
August 15, 201411 yr I have absolutely no idea what arguments your GUIBlockling constructor expects as you do no show the code. We are not clairvoyant here. -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
August 16, 201411 yr Author Oh yeah, sorry: public GUIBlockling(InventoryPlayer inventoryPlayer, InventoryBlockling inv, EntityBlockling entityBlockling) {
August 16, 201411 yr Oh yeah, sorry: public GUIBlockling(InventoryPlayer inventoryPlayer, InventoryBlockling inv, EntityBlockling entityBlockling) { I still have no idea what you are doing with those arguments, and I'm sick of playing hide and seek, Maybe someone else can help you. -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.