FANDOM


CS1 Custom Stuff 1

Information presented below this line is outdated syntax or information used for Custom Stuff 1. It will not work with Custom Stuff 2.

Containers are a new mechanism introduced in Custom Stuff 2.3.0. Containers allow for some basic mechanisms (presently only furnaces) to be created with Custom Stuff. Like recipes, containers are their own file type and have their own folder in /.minecraft/config/. The file extension for containers is ".container", and their folder is called /customContainers/.

To be used by a block, the block must reference the container's name with the container attribute. If you're using a furnace-type container, the block must also call the appropriate GUI with a function trigger. When using a normal-type container, you can use blocks with that container to store or recall data with various world functions.

Container Attributes

There are presently only four attributes associated with this file type.

Global Container Attributes

The first two attributes must be set in all .container files. They are:

name
The name attribute defines the container's name. This is the value referenced by the container attribute of blocks.

type
The type attribute defines the container's type. Presently, only 'furnace' and 'normal' types are available, though more may be added in the future.

Furnace Container Attributes

These two attributes are used only if the Type attribute is set to furnace.

speed
The speed at which the furnace processes items. The default furnace has a speed of 200 measured in ticks (about 20 ticks are in a second). Decreasing this number decreases the time it takes to smelt an item. Compare to the Fuel Efficiency of items in the vanilla game.

usedrecipes
Which recipes are processed by the furnace. By default, the value is vanilla, which denotes any smelting recipe already present in the game, plus any smelting recipe added with Custom Stuff that has "vanilla" as its 'furnace used' parameter. You can set your own by changing these attributes. You can also have multiple values, separated with a comma.

Example Furnace Container

Here's an example of a 'furnace' that's been created as a freezer using custom smelting recipes.

name="freezer";
type="furnace";
speed=300;
usedrecipes="freezer";

As you can see, this 'furnace' will only process smelting recipes designated to be used by a freezer, so normal items that require heat won't be processed by this device.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.