Art's CLA (NLAM) 图标

Art's CLA (NLAM)

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/arts-cla
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3

平台: datapack

标签: game-mechanics library mobs

资源介绍

Art's CLA - Chickens Lay Anything
No longer actively maintained.

Purpose

Art's CLA lets server admins (or, the player in single-player worlds) use a loot table to have chickens lay any item or block in its item state. This won't place blocks to build random constructions (although, that does sound interesting).

Directions for Use

Setup

  1. Install this datapack.
  2. Install additional datapack with a chickenslayanything:laid_by_chicken loot table. (There is a rather unimpressive default in this pack.)
  3. Ensure that the secondary datapack is enabled after this pack so its loot table overrides the default.

    Adding the Loot Table

    Adding a loot table is done by adding a loot table, which can be added by another datapack that add _chickenslayanything:laid_bychicken. The file is located at:

data/
  chickenslayanything/
    loot_table/
      laid_by_chicken.json

In-Game Usage

  1. Place a hopper (or multiples).
  2. Get a chicken to stay on the hoppers using your method of choice.
  3. Keep other chickens at least 16 blocks away.

Notes

Code Basis

This datapack is a modification of helmo2019's Chickens Lay Anything. My additions only add some abuse protection.

Abuse Reduction

Since chickens are easy to breed, allowing them to lay valuable items could easily be abused. To prevent this, the chickens have to be at least 16 blocks apart, or they just lay eggs.

Allowing chickens to drop items all over isn't generally problematic, but loot tables that produce a large number of items could begin to cause random lag spikes from entity processing. This is addressed by ensuring the drops aren't left on the surface - they have to be on a hopper.

Version Numbering

Please note that the version numbering has changed twice. First to indicate compatibility with MC versions, then to indicate pack changes within the same MC version. Current version numbering is v- (e.g. v1.1.0-1.21.3 is version 1.1.0 of the pack and was written using MC 1.21.3).

Known Issues

  • Prior to v1.1.0-1.21.3, chickens standing on the edge of two hoppers (possibly other similar cases) will ay an egg rather than the expected items. This was caused by the egg being laid over the hopper which was not set to cooldown. The logic says if a chciken is standing on a hopper, disable it so the egg stays available for turning into items. The fix was to disable all hoppers in a 3 by 3 grid.
  • Prior to "v1.21.3 - Distance Check Fixed", the check for minimum distance to another chicken was accidentally disabled during testing.

Support and Links

Bug Reporting and Update Notifications

To report bugs and to keep up to date with new versions and additional packs from me, please join our Discord.

Links

Check out my other packs on Modrinth.

Help support ongoing development at Patreon or Ko-Fi.

Watch development (generally troubleshooting) and gameplay with the packs in use on my Twitch Channel.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Simple Armorstand Walk Animation

价格:0 墨喵币
下载量:0

查看详情
CustomTAB

价格:0 墨喵币
下载量:0

查看详情
The Starved Stalker

价格:0 墨喵币
下载量:0

查看详情
HarvestEXP

价格:0 墨喵币
下载量:0

查看详情