Trinkets and Baubles

Trinkets and Baubles

15M Downloads

Hi I found something wrong, but I don't understand how it happened and I was hoping you could fix it

mcmso opened this issue ยท 5 comments

commented

Describe the bug
A clear and concise description of what the bug is.
Installing SweetMagic and Trinkets+and+Baubles at the same time can cause this problem
It causes the witch in Sweet Magic to not spawn properly
Screenshots
If applicable, add screenshots to help explain your problem.

Version (please complete the following information):

  • Version [Trinkets+and+Baubles-0.31.4]
    Version SweetMagic-1.3.1-beta1.1.jar
    Additional context
    Add any other context about the problem here.
commented

i think this is a duplicate of #62

commented

Yes, It's the same issue

commented

If @mcmso wants to Test what I suggested in the other issue, that could help me out a bit.
Try spawning a Frost Skull using a spawn egg and letting me know if it causes a crash or not, If it doesn't crash, then it's most likely on Sweet Magic's End

commented

If @mcmso wants to Test what I suggested in the other issue, that could help me out a bit. Try spawning a Frost Skull using a spawn egg and letting me know if it causes a crash or not, If it doesn't crash, then it's most likely on Sweet Magic's End

image
What doesn't seem to happen when Frost Skull is generated

commented

If it doesn't crash when spawning Frost Skulls, then Yeah, Looks like it's on Sweet Magics side, they seem to be missing overrides in the methods they're using when trying to give entities their basic attributes.
when I looked at Sweet Magics source, some entities were fine, but most were missing the overrides.

I'm using a Vanilla Minecraft Method to Check if the entity is a Boss or not, It crashes during that check because Sweet Magic overrides that check in their entity and replaces it with a check for how much health their entity has, but the entity is lacking the Max Health Attribute either for the previously mentioned missing overrides, or something else, resulting in a null pointer.

the reason they're not spawning is probably because in your configs you have it set so forge removes erroring entities, so they just don't spawn, instead of crashing the game, Spawn Eggs bypass that, resulting in a crash instead.