Improved Mobs (Fabric)

Improved Mobs (Fabric)

170k Downloads

[bug] whitelist config

Looodon opened this issue ยท 7 comments

commented

Modloader

Forge 43.1.34

Minecraft version

1.19.2

Mod version

1.10.16

TenshiLib version

1.6.11

Description

  1. Mobs are not using their off hand items due to a config issue attached in the post under this one. Whitelisting "USEITEM" isn't allowing items to be thrown like potions. Using "NEUTRALAGGRO" whitelist while on trader llamas doesn't work either

  2. Also what is the function of "quality" in the config it says "Quality is a modifier applied to the weight." but english is my second language, what does that mean?

Steps to reproduce

  1. Turn "NEUTRALAGGRO" and "USEITEM" to whitelist
  2. Apply tags to the mobs
  3. The mob doesn't use off-hand item and trader llama doesn't NEUTRALAGGRO

Logs

EDIT: check last reply for info

commented

EDIT: (redacted, check last reply for info)

commented

EDIT: (redacted, check last reply for info)

commented

paste.gg is dead the recent days. if possible can you repost your config files and logs?

commented

EDIT: (redacted to not confuse, check last reply for info)

commented

i cant reproduce it. your first example which you said doesnt work works for me. i have whitelist set to false for everything and just added ["minecraft:zombie|REVERSE|USEITEM|HELDITEMS"] to the list and they do indeed use the items

note i just used husks in here cause they dont burn during day

Screenshot from 2022-12-28 12-50-37

2022-12-28_12 55 16

commented

Forge 43.1.34
Minecraft 1.19.2
Mod version 1.10.16
TenshiLib version 1.6.11

oh my god.. sorry for my mistake.... i wrote this a while ago.
So basically, the mod works in a way where ALL attributes apply to ALL mobs by default. I myself didn't want that to be the case so I changed all "flags as whitelists" from FALSE to TRUE so that none of them have the effects by default so that i input the only a few that i want to have the effects only.

>I redid the config to recreate the issue.. So what happens in this config below is:

1-Holds potions, lava bucket, etc in MAIN HAND but DOESN'T throw them
Drowned, Dryad, Zombie

2-Doesn't hold items in main hand:
Husks, Lampad

(NOTE: i used 2 non-vanilla mobs cuz they dont spawn with a main hand item by default)

>The Config:

"More Entities" = ["minecraft:drowned|ALL", "minecraft:husk|REVERSE|HELDITEMS|USEITEM", "minecraft:zombie|HELDITEMS|USEITEM", "greekfantasy:dryad|REVERSE|ATTRIBUTES|ARMOR|BLOCKBREAK|LADDER|STEAL|GUARDIAN|PARROT|TARGETVILLAGER|NEUTRALAGGRO", "greekfantasy:lampad|ATTRIBUTES|ARMOR|BLOCKBREAK|LADDER|STEAL|GUARDIAN|PARROT|TARGETVILLAGER|NEUTRALAGGRO"]

#Any of the following
#[ATTRIBUTES, ARMOR, HELDITEMS, BLOCKBREAK, USEITEM, LADDER, STEAL, GUARDIAN, PARROT, TARGETVILLAGER, NEUTRALAGGRO]
#added here will disable that feature.
#E.g. ["GUARDIAN"] will disable the guardian feature
"Flag Blacklist" = []
#Treat ATTRIBUTES flags as whitelist
"Attribute Whitelist" = true
#Treat ARMOR flags as whitelist
"Armor Equip Whitelist" = true
#Treat HELDITEMS flags as whitelist
"Held Equip Whitelist" = true
#Treat BLOCKBREAK flags as whitelist
"Breaker Whitelist" = true
#Treat USEITEM flags as whitelist
"Item Use Whitelist" = true
#Treat LADDER flags as whitelist
"Ladder Whitelist" = true
#Treat STEAL flags as whitelist
"Steal Whitelist" = true
#Treat GUARDIAN flags as whitelist
"Guardian Whitelist" = true
#Treat PARROT flags as whitelist
"Parrot Whitelist" = true
#Treat TARGETVILLAGER flags as whitelist
"Villager Whitelist" = true
#Treat NEUTRALAGGRO flags as whitelist
"Neutral Aggro Whitelist" = true

Now if all the above was FALSE then the mobs holding items would be able to throw them

commented

took way longer than it shouldve to find it...