Skip to content

Add CraftTweaker support and eating particles for Golden Chicken - #69

Merged
MagicJinn merged 3 commits into
mainfrom
slop/golden-chicken-crafttweaker-805a
Oct 16, 2026
Merged

MagicJinn merged 3 commits into
mainfrom
slop/golden-chicken-crafttweaker-805a

Conversation

@MagicJinn

Copy link
Copy Markdown
Owner

Fixes #38

Golden Chicken conversion recipes can now be configured with CraftTweaker instead of mixins, and chewing an item shows eating particles of whatever it just ate.

CraftTweaker

Default recipe is unchanged: oreGold -> 3 gold ingots, 30-60 seconds.

import mods.randomthings.GoldenChicken;

GoldenChicken.removeAll();
GoldenChicken.addRecipe(<ore:clusterGold>, <minecraft:gold_ingot> * 8, 100, 100);
GoldenChicken.addRecipe(<ore:oreGold>, <minecraft:gold_ingot> * 3);
GoldenChicken.addRecipe(<ore:oreGold>, <minecraft:gold_ingot> * 3, 400);
GoldenChicken.removeRecipe(<ore:oreGold>);

addRecipe(input, output, minTicks, maxTicks) uses output stack size for the drop count. One time argument sets a fixed chew duration.

Eating particles

While digesting, the chicken spawns ITEM_CRACK particles of the eaten item at about half a player's eating particle density (2-3 particles every 4 ticks, eat sound every 8 ticks). A small burst plays when it picks the item up.

Other

  • JEI category for Golden Chicken recipes, catalyst is the Golden Egg
  • Chicken now follows players holding a valid recipe input instead of seeds
  • Wiki and changelog updated

Testing

./gradlew compileJava succeeds. In-game particle and CraftTweaker script checks were not run in this environment (no Minecraft client).

Open in Web Open in Cursor 

Golden Chicken conversion recipes can now be added and removed with
CraftTweaker (mods.randomthings.GoldenChicken). While chewing, the
chicken spawns item-crack particles of the eaten item at about half
the density of player eating particles.

Co-authored-by: MagicJinn <MagicJinn@mail.com>
@MagicJinn
MagicJinn marked this pull request as ready for review August 29, 2026 22:03
@MagicJinn
MagicJinn merged commit 8cf2bc9 into main Oct 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Golden Chinken control

2 participants