TartaricAcid / TouhouLittleMaid

A minecraft forge mod about the maid
http://page.cfpa.team/TouhouLittleMaid/
MIT License
395 stars 66 forks source link

[Bug] 女仆背包黑名单不起作用 #481

Closed 1343008086 closed 7 months ago

1343008086 commented 7 months ago

Minecraft Version

What happened?

服务器环境

CatServer version 1.16.5-69069a9c (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT) Forge version 36.2.39 touhoulittlemaid-1.16.5-release-1.1.7

1.我在服务器中的config\touhou_little_maid-common文件设置了女仆背包黑名单,客户端没有设置黑名单

#These items cannot be placed in the maid backpack
MaidBackpackBlackList = ["supplementaries:sack","minecraft:apple"]

#These items cannot be placed in the maid backpack
MaidBackpackBlackList = ["sack","apple"]

2.原版方块、物品,或者是旅行者背包之类的物品,在config中设置了依然可以放进女仆的背包或者手上 image

3.我没在服务器日志文件找到关于车万女仆的错误(应该)

这是我服务器中完整的配置文件

[maid]
    #The item that can temptation maid
    #Use the registered name of the item directly or write tag name with # as prefix
    MaidTemptationItem = "minecraft:cake"
    #The max range of maid idle mode
    #Range: 3 ~ 32
    MaidIdleRange = 3
    #The item that can tamed maid
    #Use the registered name of the item directly or write tag name with # as prefix
    MaidTamedItem = "minecraft:cake"
    #These items cannot be placed in the maid backpack
    MaidBackpackBlackList = ["minecraft:apple", "supplementaries:sack"]
    #Maid can only play gomoku with her owner
    MaidGomokuOwnerLimit = true
    #The max range of maid sleep mode
    #Range: 3 ~ 32
    MaidSleepRange = 3
    #The max number of animals around when the maid breeds animals
    #Range: 6 ~ 65536
    FeedAnimalMaxNumber = 10
    #The maximum number of maids the player own
    #Range: > 0
    OwnerMaxMaidNum = 2
    #The entity that the maid will not recognize as targets for attack
    MaidAttackIgnore = []
    #The max range of maid work mode
    #Range: 3 ~ 64
    MaidWorkRange = 6
    #The max range of maid's Non-Home mode
    #Range: 3 ~ 32
    MaidNonHomeRange = 6
    #The item that can NTR maid
    #Use the registered name of the item directly or write tag name with # as prefix
    MaidNtrItem = "minecraft:structure_void"
    #The entity that the maid will not hurt when in ranged attack
    MaidRangedAttackIgnore = []
    #Maid can switch models freely
    MaidChangeModel = false

[chair]
    #Chair can be destroyed by anyone
    ChairCanDestroyedByAnyone = true
    #Chair can switch models freely
    ChairChangeModel = false

[misc]
    #Give a soul spell item for player first join
    GiveSoulSpell = false
    #Shrine Lamp Effect Cost (Power Point/Per Hour)
    #Range: 0.0 ~ 1.7976931348623157E308
    ShrineLampEffectCost = 0.9
    #Maid fairy's spawn probability (zombie is 100, enderman is 10)
    #Range: > 0
    MaidFairySpawnProbability = 5
    #Loss power point after player death
    #Range: 0.0 ~ 5.0
    PlayerDeathLossPowerPoint = 1.0
    #Shrine Lamp Max Storage Power Point
    #Range: 0.0 ~ 1.7976931348623157E308
    ShrineLampMaxStorage = 50.0
    #Maid fairy's power point
    #Range: 0.0 ~ 5.0
    MaidFairyPowerPoint = 0.16
    #The following biome do not spawn maid fairy
    MaidFairyBlacklistBiome = ["nether", "the_end", "none", "mushroom"]
    #Give the Memorizable Gensokyo book item for player first join
    GivePatchouliBook = false
    #Shrine Lamp Max Range Of Absorb Power Point
    #Range: > 0
    ShrineLampMaxRange = 5
[vanilla]
    #Whether to replace the vanilla xp orb texture with the point items.
    ReplaceXPTexture = true
    #Whether to replace the vanilla slime model with the yukkuri.
    ReplaceSlimeModel = true
    #Whether to replace the vanilla bottle of xp texture with the point items.
    ReplaceXPBottleTexture = true
    #Whether to replace the vanilla totem texture with the life point.
    ReplaceTotemTexture = true

Relevant log output

No response

Contact Details

在此联系

1343008086 commented 7 months ago

我在纯forge客户端无其他mod的环境使用车万女仆,也设置了女仆背包的黑名单,依然没有作用,我在日志也没有找到关于车万女仆的错误

TartaricAcid commented 7 months ago

1.16.5 这个功能不起作用,因为禁止某某物品进入背包的功能是 minecraft 在 1.17 才添加的功能

TartaricAcid commented 7 months ago

我回头给 1.16.5 加个提醒

1343008086 commented 7 months ago

我回头给 1.16.5 加个提醒

那没有任何办法了吗,既然潜影盒都不能放进去,应该能实现的吧

1343008086 commented 7 months ago

1.16.5 这个功能不起作用,因为禁止某某物品进入背包的功能是 minecraft 在 1.17 才添加的功能

女仆能带着其他mod的存储方块真的很抽象,这些背包之类的mod本来都是每个玩家限制拥有数量的,放女仆身上立马没事

1343008086 commented 7 months ago

我回头给 1.16.5 加个提醒

或者能不能做个兼容,我这用的是旅行者背包