Everything posted by JoachimTa
-
1.19 I need help getting my tags to work
Okay thank you, now I understand. Well I think I know the problem and I no longer need help thank you!
-
1.19 I need help getting my tags to work
That isnt in my code anymore, Luis helped me so. Please read the history of messages before trying to help, That I have gotten ridden of. I know that doesnt do shit. This is an updated version of my code
-
1.19 I need help getting my tags to work
I havent made a new itemstack, or i am assuming you are pointing out ItemToolTipEvent? Listen I know very little java, I have 1 year experience of javascript (Which is not the same ik), Also this is my first mod so I dont know what the methods do that are with forge. Please have some patience with me.
-
1.19 I need help getting my tags to work
- 1.19 I need help getting my tags to work
That is my compound tag method- 1.19 I need help getting my tags to work
Update: is this what you wanted?- 1.19 I need help getting my tags to work
this is what I understood, the Item gets checked for my enchantment before arriving so it only needs to be checked for the tag here. I dont understand the component.literal part?- 1.19 I need help getting my tags to work
I dont really understand, what do I add. Can you be a little bit more descriptive?- 1.19 I need help getting my tags to work
Yes I did that, Thank you! Whats the next step? Do I make a new compound tag, btw the soulpower is a float value.- 1.19 I need help getting my tags to work
Yes, but I dont know how this ItemStack thing works, so i dont know what to put in the parantheses- 1.19 I need help getting my tags to work
This is what I have done, I don't know if this was what you meant- 1.19 I need help getting my tags to work
Also should I make another class for this? Right now I have put it in soulStealEvent.java- 1.19 I need help getting my tags to work
Did you mean something like this?- 1.19 I need help getting my tags to work
Sorry I dont understand, What does # mean, and how do I call ItemStack with getOrCreateTagElement.- 1.19 I need help getting my tags to work
So when I kill a mob, its hp becomes a value i call soulpower, and that value is gonna be displayed on the weapon I killed it with that has the soul steal enchantment. Its gonna be displayed when I hover over my mouse on the sword in my inventory. All items with the soul steal enchantment is gonna have its own separate value based on how many mobs it has killed- 1.19 I need help getting my tags to work
I want it displayed as a tooltip.. I dont need tags then right?- 1.19 I need help getting my tags to work
Yeah, but I am trying to make so that it saves the entitys hp on the sword, so you can see it, should I not use nbt tags for it or?- 1.19 I need help getting my tags to work
How do I do this?, I am very new to modding in minecraft, and aren't I usign compoundTag or do I need to do it in another class?- 1.19 I need help getting my tags to work
I am making a mod where when you kill a mob you get its hp into soulpower, and I am trying to get it to be stored in a nbt tag on the enchanted weapon, everything works except the nbt Tag. I have tried with setTags but that gets rid of the enchantment.- I keep getting Exit code 0 and I've tried everything
Problem solved! just needed to delete config- I keep getting Exit code 0 and I've tried everything
I have looked at many forums looking for a solution and nothing worked, I tried reading the logs and still haven't found nothing. My modpack has 226 mods, and it has worked fine just until now, I haven't changed anything, it just appeared out of nowhere! logs: https://pastebin.com/WnBg0NjK- Exit code: 0
Thanks, it fixed it!- Exit code: 0
So I tried launching my mod with 214 mods and it launches just fine but as soon as it's done loading it crashes, I've tried reading the logs but couldn't find it. latest.log - 1.19 I need help getting my tags to work
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.