20 public const NETWORK_ID = ProtocolInfo::CONTAINER_SET_DATA_PACKET;
22 public const PROPERTY_FURNACE_SMELT_PROGRESS = 0;
23 public const PROPERTY_FURNACE_REMAINING_FUEL_TIME = 1;
24 public const PROPERTY_FURNACE_MAX_FUEL_TIME = 2;
25 public const PROPERTY_FURNACE_STORED_XP = 3;
26 public const PROPERTY_FURNACE_FUEL_AUX = 4;
28 public const PROPERTY_BREWING_STAND_BREW_TIME = 0;
29 public const PROPERTY_BREWING_STAND_FUEL_AMOUNT = 1;
30 public const PROPERTY_BREWING_STAND_FUEL_TOTAL = 2;
39 public static function create(
int $windowId,
int $property,
int $value) : self{
41 $result->windowId = $windowId;
42 $result->property = $property;
43 $result->value = $value;
48 $this->windowId = $in->getByte();
54 $out->putByte($this->windowId);
60 return $handler->handleContainerSetData($this);