-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
Well the item disappear and nothing is put in my custom inv' .. Do you want my source code for testing?
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
But where is the problem so ?
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
I check if he is full, and if he is, my inv' start to be fill.
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
http://pastebin.com/QmrxFqSM & http://pastebin.com/vf29ctvP
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
Do you have a code balise ? And there is the code: http://pastebin.com/R8haLqXw
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
Oh yeah, I always that mistakes, so my inv is a 21 slot inv and when i stand throught an item with my inventory player full, the item doesnt go in ly new inv'
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
Like that: public static final int INV_SIZE = 21; I put 21 'cause if I put 20, I have got: [22:34:19] [server thread/ERROR] [FML]: Exception caught during firing event cpw.mods.fml.common.gameevent.TickEvent$PlayerTickEvent@2a4458e2: java.lang.ArrayIndexOutOfBoundsException: 20 at com.google.kujaff42530.moddofus.inventoryPlayer.MinefusInventoryPlayer.getStackInSlot(MinefusInventoryPlayer.java:39) ~[MinefusInventoryPlayer.class:?] It doesn't work with 21
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
I've change that line, but I meant, on my container class, I've only put 20 times this line: this.addSlotToContainer(new Slot(inventoryMinefus, 9, 152, 119)); (and i ve changed the slot id for each slot), well so do you know how to fix it ?
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
But I've only 20 slots
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
I've uptdate my code: http://pastebin.com/hDVKkPH7, it does that: [21:40:22] [server thread/INFO] [sTDOUT]: [com.google.kujaff42530.moddofus.eventHandlers.MinefusEventHandler:itemPickedUp:96]: Event Works! [21:40:22] [server thread/INFO] [sTDOUT]: [com.google.kujaff42530.moddofus.eventHandlers.MinefusEventHandler:itemPickedUp:102]: first Slot empty player inv:-1 [21:40:22] [server thread/INFO] [sTDOUT]: [com.google.kujaff42530.moddofus.eventHandlers.MinefusEventHandler:itemPickedUp:106]: first Slot empty minefus inv:63 [21:40:22] [server thread/INFO] [sTDOUT]: [com.google.kujaff42530.moddofus.eventHandlers.MinefusEventHandler:itemPickedUp:110]: item nameGrass Block It write 63 has the first empty slot but my container goes to 20 at max, so I don't understand.. (I'm french so sorry for my english)
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
It came from this: public final MinefusInventoryPlayer minefusInventory = new MinefusInventoryPlayer(); and there is my class http://pastebin.com/Bn02Ed81
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
Well, I've made changes my new code: http://pastebin.com/5A1DrHK7 but it doesn't work: my logs: [20:44:54] [server thread/INFO] [sTDOUT]: [com.google.kujaff42530.moddofus.eventHandlers.MinefusEventHandler:itemPickedUp:96]: Event Works! [20:44:54] [server thread/INFO] [sTDOUT]: [com.google.kujaff42530.moddofus.eventHandlers.MinefusEventHandler:itemPickedUp:101]: first Slot empty player inv:-1 [20:44:54] [server thread/INFO] [sTDOUT]: [com.google.kujaff42530.moddofus.eventHandlers.MinefusEventHandler:itemPickedUp:105]:first Slot empty minefus inv:-1
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
Ok thanks ! I've make the changes, my new code: http://pastebin.com/PJjkJukT
-
[1.7.10] Put the dropped items in my new inv' when the player inventory is full
Hi, I've tried to put automatically the items which I want to pick up in my new inventory but it doesn't work. My code: http://pastebin.com/dW7eh9iH
-
[1.7.10] ExtendedEntityProperties
Oh Tanks God! You've saved me! Thanks for all!
IPS spam blocked by CleanTalk.