Minecraft / Data Packs

Chickens randomly shed feathers

  • 4
  • 3
  • comment6
  • playlist_add
  • share
  • more_horiz
avatar MaximusArg1982
Level 8 : Apprentice Modder
0
IRL birds shed their feathers to replace them with new ones all the time, so why not in minecraft?

This datapack enables you to get feathers in a survival friendly, no cheats, no mods way without killing chickens.
I tested it on Vanilla versions release 1.14.4 and snapshot 19w36a.

How the pack works?
  • Chickens will drop a feather (spawn item with id minecraft:feather) at a random interval between 6000 to 12000 ticks (similar interval as vanilla eggs according to wiki, but with separated "timer").
  • Only works for vanilla minecraft:chicken entity, if you have a mod that spawns a different chicken entity, it will not be affected.
  • As with eggs, only adult chickens will shed feathers
  • Contrary to eggs case, jockey chickens do shed feathers
  • Interval is kind of configurable, either by modifying the constants in the init.mcfunction, or by changing the RNG's max value (see note below).
  • Allows tagging a/any/all chicken as ignored to prevent feather shedding, to do this add the tag "crfs_disable" to the desired chicken/s
Future versions ideas/improvements I intend to implement
  • Own control variables for RNG, currently there's a limitation from the RNG pack that uses a global RNG MaxValue variable, the pack overwrittes this variable and if the player do the same it affects this pack's functionality.
  • Make it so the chickens shed randomly 1 or 2 feathers instead of always 1
  • Add triggers to allow players to customize how it works (allow chicks to shed, jockeys, interval min/max, disable globally, playsound, etc)
  • Spawn the feather with motion tag so it will move away from the chicken just like eggs do.

Important Note:
This pack depends on the pseudo random number generator published by github user mcskware (link below)
If you don't install this RNG datapack the chickens will shed feathers at a fixed interval. The minimum (6000 default) ticks.

Credits and mentions
  mcskware github user for the prng datapack (https://github.com/mcskware/prng)
  voodobeard's pack (http://mc.voodoobeard.com/) for inspiration. Their pack don't spawn feathers, but replaces arbitrary vanilla spawned eggs
Progress100% complete
Game VersionMinecraft 1.14
Tags

6 replies

1
09/12/2019 3:01 am
Level 36 : Artisan Pixel Puncher
Technodono
Can't you add the random feather drop min a max to a scoreboard so that it is fully customizable, making it work like my limited lives datapack if you get what I mean
1
09/12/2019 7:12 am
Level 8 : Apprentice Modder
MaximusArg1982
That's exactly what I plan to do. It's right there, third point in my future ideas list :)
1
09/12/2019 6:22 pm
Level 36 : Artisan Pixel Puncher
Technodono
Oh ok
1
09/10/2019 6:40 pm
Level 19 : Journeyman Taco
___Whitefang___
Creative.
1
09/10/2019 1:35 pm
Level 1 : New Miner
Piterek14
Can you do the same but with cows and lethers?
1
09/10/2019 6:15 pm
Level 8 : Apprentice Modder
MaximusArg1982
It's absolutely possible, and pretty easy, just change the entity involved and the item dropped.
It's possible to do so with any mob, to drop any item.

Though I don't really want to :P
I wanted to add a helpful but non survival breaking mod.

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome