Tschipcraft / spawnanimations

Hostile mobs dig out of the ground or poof into existence when they spawn!
https://tschipcraft.ddns.net/spawnanimations.html
Other
11 stars 2 forks source link

Not working with modded entities #11

Closed Blunder-G closed 1 year ago

Blunder-G commented 1 year ago

Describe the bug

I don't know if it should work or that's not supported in the first place but it doesn't work even though I add modded entities inside the tags. So i am not sure if this is a bug or enhancement (or feature suggestion) Is there a way to make it work with modded entities?

Steps to reproduce

  1. Download a mod that adds a new mob (I am using Forge modloader)
  2. Add any mob from that mod to the dig up animations list
  3. Zip the file and use that datapack in game

Expected behavior

No response

Additional context

No response

Tschipcraft commented 1 year ago

That should work. Maybe you didn't specify the right id with <mod_name>:<entity_name> inside the dig up animation tag list? Could you send me what mod you tried it with and the modified tag list?

Blunder-G commented 1 year ago

I sended you the whole datapack that i used. You can check if i did anything wrong and the moded mobs that i included in the tag list

Desktop.zip

(Don't mind the missing files, i am using the mod version of this datapack. That's why i only included the parts that i changed)

Tschipcraft commented 1 year ago

Thanks, I'll take a look at it.

Tschipcraft commented 1 year ago

Looks like you forgot one closing quotation mark (") at the end of the tag list after infernalexp:blindsight.

{
  "//comment": "Entities specified here will dig themselves up when a player is near or other exclusion criteria are met. You can add your own entities here",
  "replace": false,
  "values": [
    "minecraft:zombie",
    "minecraft:husk",
    "minecraft:drowned",
    "minecraft:skeleton",
    "minecraft:stray",
    "minecraft:spider",
    "minecraft:cave_spider",
    "minecraft:creeper",
    "minecraft:wither_skeleton",
    "minecraft:zombified_piglin",
    "minecraft:enderman",
    "minecraft:giant",
    "minecraft:magma_cube",
    "minecraft:slime",
    "tinyskeletons:baby_skeleton",
    "tinyskeletons:baby_stray",
    "tinyskeletons:baby_wither_skeleton",
    "alexsmobs:centipede_body",
    "alexsmobs:centipede_head",
    "alexsmobs:centipede_tail",
    "alexsmobs:murmur",
    "alexsmobs:rocky_roller",
    "cloudstorage:badloon",
    "cloudstorage:bloviator",
    "alexsmobs:skelewag",
    "alexsmobs:guster",
    "infernalexp:shroomloin",
    "infernalexp:embody",
    "infernalexp:voline",
    "infernalexp:blindsight,
    "alexsmobs:mimicube"
  ]
}
Blunder-G commented 1 year ago

It was my fault, sorry. It worked after i fixed it

Tschipcraft commented 1 year ago

No problem, glad you were able to fix it!