Skip to content

Add Magnetic Golden Carrot - #5340

Open
TarLaboratories wants to merge 7 commits into
1.20.1from
tar/add-spoilable-carrot
Open

Add Magnetic Golden Carrot#5340
TarLaboratories wants to merge 7 commits into
1.20.1from
tar/add-spoilable-carrot

Conversation

@TarLaboratories

Copy link
Copy Markdown
Contributor

What

Adds the magnetic golden carrot, which is made from a normal golden carrot in a polarizer, gives Haste for 10 minutes and spoils back into a golden carrot after 30 minutes.
Also adds test spoilables that are only available in development and removes spoilable behavior from random items such as structure blocks

Implementation Details

Also fixes a bug that prevented spoilables from stacking properly

AI Usage

no

Outcome

we have an example spoilable, and people can use structure blocks in dev

How Was This Tested

in-game

@TarLaboratories
TarLaboratories requested a review from a team as a code owner August 23, 2026 14:38
@TarLaboratories TarLaboratories added type: feature New feature or request bundled for a 0.X.0 Update 1.20.1 Release: Major - 0.X.0 Releases focused on Content, changes to gameplay; While maintaining mostly API stability. labels Aug 23, 2026
@github-actions github-actions Bot added the Tests: Passed Game Tests have passed on this PR label Aug 23, 2026
Comment thread src/main/java/com/gregtechceu/gtceu/common/CommonProxy.java Outdated

public static ItemEntry<ComponentItem> MAGNETIZED_CARROT = REGISTRATE
.item("magnetized_golden_carrot", ComponentItem::create)
.lang("Magnetic Golden Carrot")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either change the item id to magnetic_golden_carrot or the translated name to "Magnetized Golden Carrot". Either way, they should match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Release: Major - 0.X.0 Releases focused on Content, changes to gameplay; While maintaining mostly API stability. Tests: Passed Game Tests have passed on this PR type: feature New feature or request bundled for a 0.X.0 Update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants