HomeJavaDatapacksArt's CLA (NLAM)
Art's CLA (NLAM)
DatapacksJava

Art's CLA (NLAM)

by Artecie · on Modrinth

A datapack that allows chickens to lay anything with some restrictions to reduce abuse and server lag. Based on helmo2019's Chickens Lay Anything.

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Data pack only.

⬇ Download for 1.21–1.21.3⬇ Download for 1.20–1.20.6
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Art's CLA (NLAM) — screenshot 1

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_by_chicken. 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

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.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more