[bug] whitelist config
Looodon opened this issue ยท 7 comments
Modloader
Forge 43.1.34
Minecraft version
1.19.2
Mod version
1.10.16
TenshiLib version
1.6.11
Description
-
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
-
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
- Turn "NEUTRALAGGRO" and "USEITEM" to whitelist
- Apply tags to the mobs
- The mob doesn't use off-hand item and trader llama doesn't NEUTRALAGGRO
Logs
EDIT: check last reply for info
paste.gg is dead the recent days. if possible can you repost your config files and logs?
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