Skip to content

API reference Obsidian.API.Containers

BrewingStand class

A brewing stand's block entity, whose slots vanilla's brewing menu numbers: the three bottles (0 to 2), the ingredient (3) and the fuel (4). The server brews in it while its chunk ticks.

public sealed class BrewingStand : ResultContainer

In Obsidian.API.

Constructors

public BrewingStand();

Properties

public Vector BlockPosition { get; set; }

BrewTime

public int BrewTime { get; set; }

The ticks the brew in progress has left, from BrewingStand.TotalBrewTime down; 0 when nothing brews.

Fuel

public int Fuel { get; set; }

How many more brews the fuel used so far lasts, up to BrewingStand.TotalFuel.

public string Id { get; }

SpeedMultiplier

public float SpeedMultiplier { get; set; }

How much faster than normal the fuel used last brews, from its minecraft:brewing_fuel.

TotalBrewTime

public int TotalBrewTime { get; set; }

How long the brew in progress takes in all: 400 ticks, divided by the fuel's speed multiplier.

TotalFuel

public int TotalFuel { get; set; }

How many brews the fuel used last lasts in all (20 for blaze powder), from its minecraft:brewing_fuel.

Methods

public override ItemStack GetResult();public override void SetResult(ItemStack result);

Fields

FirstBottleSlot

public const int FirstBottleSlot = 0;

The first of the three bottle slots.

FuelSlot

public const int FuelSlot = 4;

The fuel slot.

IngredientSlot

public const int IngredientSlot = 3;

The ingredient slot.

On this page