March 18, 20178 yr Author Ok so inside ItemTarget on use when the NBT is called or created and the values have been set the NBT is SET. so now in the ai during in game, after the ai aknoledges the values the first time , after reusing the iteTarget in a different location and having new values set to its nbt and being reinputted into the entity the ai does not register the new nbt values of the item target AI
March 18, 20178 yr Author almost feel like i should pass the itemStackHandler as an argument of AI Task
March 18, 20178 yr Author ok, for some reason it was an issue, i believe it works now but now i have to call the Item Stack and its nbt and nbt values in continue and update task, is there a shorhand method to this
March 19, 20178 yr Author I still am confused why is it not right to have targetXYZ inside the AITask class to hold information from retrived nbt values of an item.
March 19, 20178 yr Author Ok yea back to same issue improved the code and its now a one timer https://github.com/Clowcadia/MinecraftForge/blob/f58832dc4f01a47d79d81cd1702c3562077cf539/1.11/NPCTesting/src/main/java/com/clowcadia/test/containers/ContainerBasic.java
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.