Skip to content

Cookie Jar

encode42 edited this page Aug 16, 2024 · 16 revisions
Visualization of a cookie jar with various states of cookies

The cookie jar is used to store up to 512 cookies or estrogen chip cookies. Cookie types cannot be mixed within a single cookie jar. It can be accessed by using (right-clicking) with a cookie or empty hand, or through conventional inventory interaction methods such as funnels and chutes. When broken, all stored cookies will be dropped.

It features unique sounds for placing, inserting cookies, breaking, and hitting. This block was primarily programmed and contributed by Naomi, with major bug fixes and contributions by TheRobbie73.

Obtaining

Crafting

Ingredients Recipe
Glass Pane +
Zinc Nugget
Visualization of the cookie jar's crafting recipe

Usage

When used, one cookie or estrogen chip cookie will be taken from the player's held item stack and inserted into the cookie jar. As long as one cookie of either type is in the cookie jar, only other cookies of that same type can be inserted. To access the stored cookies, use (right-click) the cookie jar with an empty hand, which will extract one of the stored cookies into the player's inventory. By default, up to 512 cookies can be inserted into the cookie jar before it is full. This is visually displayed through the cookie jar's block model. The cookie jar will refuse the insertion of new items if full.

Alternatively, all conventional inventory interaction methods work to insert and extract items from the cookie jar. This includes hoppers, droppers, funnels, chutes, ME systems, RS systems, and more. This may be useful when compactly mass producing estrogen chip cookies without using other mods with mass single-item storage.

When broken, all items within the cookie jar will be dropped as individual items, along with the cookie jar itself.

Texture

The amount of stored cookies are displayed through nine states which use the stored cookie item model. Its blockstate, block model, item model, and textures are linked respectively.

Sounds

The place, cookie insertion, failed cookie insertion, break, step, and hit sound effects were recorded and edited by erora. They are heavily-edited composites of sounds produced by dropping cookies into a large glass jar and Minecraft's glass sounds.

The cookie insertion sound effect pitch varies depending on how full the cookie jar is. It ranges from 75% completely empty to 125% completely full.

Generic

Sound Subtitles Source Description Resource location Translation key Volume Pitch Attenuation distance
1 2 3 None Blocks Once the block has broken estrogen.jar_break None 1.0 1.0 16
1 2 3 None Blocks When the block is placed estrogen.jar_place None 1.0 1.0 16
1 2 3 None Blocks While the block is in the process of being broken estrogen.jar_step None 0.25 1.0 16
1 2 3 None Entity-Dependent Falling on the block with fall damage estrogen.jar_step None 0.5 1.0 16
1 2 3 None Entity-Dependent Walking on the block estrogen.jar_step None 0.15 1.0 16

Unique

Sound Subtitles Source Description Resource location Translation key Volume Pitch Attenuation distance
1 2 3 None Blocks Unsuccessfully inserting item estrogen.jar_full None 1.0 1.0 16
1 2 3 None Blocks Inserting cookies estrogen.jar_step None 1.0 0.75 - 1.25 16

Advancements

Icon Advancement In-game description Actual requirements
Representation of the advancement in-game Accept & Continue This mod requires cookies to work properly. Please inset the into the jar Insert a cookie or estrogen chip cookie into the jar.

History

Version Changes
4.3.0 (unreleased) New sound effects recorded by erora.
Fixed item inventory desync.
4.2.7 Created recipe to craft the cookie jar.
4.2.0 Added to the mod.