Git Product home page Git Product logo

Comments (9)

Ivan-1F avatar Ivan-1F commented on July 21, 2024

设置为 _ 即可禁用:/carpet bannedMobs _

禁用蝙蝠的话用 /carpet bannedMobs bat 就行

from ivan-carpet-addition.

991200448 avatar 991200448 commented on July 21, 2024

又测试了一下 发现这个指令bannedMobs好像没效果,只禁了zombie,carpet.conf为bannedMobs zombie,但是zombie会生成

from ivan-carpet-addition.

Ivan-1F avatar Ivan-1F commented on July 21, 2024

这个功能刚刚进行了重构,拆分为三个规则:

  • 生物生成限制模式 (mobSpawningRestrictionMode)
  • 生物黑名单 (mobBlackList)
  • 生物白名单 (mobWhiteList)

如果你想禁用某种生物的话,把 mobSpawningRestrictionMode 设置为 blacklist,并在 mobBlackList 中设置需要禁用的生物

你可以先从最新的 GitHub Actions 下载使用,我会在经过进一步的测试后发布

from ivan-carpet-addition.

Ivan-1F avatar Ivan-1F commented on July 21, 2024

GitHub Actions 链接:

from ivan-carpet-addition.

991200448 avatar 991200448 commented on July 21, 2024

启动了指令,但是怪还是会生成,是不是限制刷怪的代码那出了点问题

from ivan-carpet-addition.

Ivan-1F avatar Ivan-1F commented on July 21, 2024

返回值是false代表刷怪失败,设置返回值后就强行切断接下来的刷怪逻辑了

我这里 1.14.4~1.17 都测试过了没问题,如果不能正常工作的话请提供一下 MC 版本、carpet.conf 和加载的Mod列表

from ivan-carpet-addition.

991200448 avatar 991200448 commented on July 21, 2024

版本1.16.5

carpet.conf:
mobBlackList bat
mobSpawningRestrictionMode blacklist

mod:就用了三个模组测试
ivan-carpet-addition-1.3.0+build.98.jar
[Fabric-API] fabric-api-0.30.3+1.16.jar
fabric-carpet-1.16.5-1.4.27+v210217.jar

from ivan-carpet-addition.

Ivan-1F avatar Ivan-1F commented on July 21, 2024

是还会自然生成吗?开一个超平坦世界试试,看看有没有抑制效果

目前这个版本还有一个改动:在更改设置后不会清除已有的生物了,如果需要清除的话可以先用kill

from ivan-carpet-addition.

991200448 avatar 991200448 commented on July 21, 2024

我就是开了超平坦测试的,没效果,往未加载的区块跑还是会生成怪,你可以加我qq我可以测试结果给你看,qq就是我名字

from ivan-carpet-addition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.