Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Virtual Furnace Item

Shane Bee edited this page Feb 5, 2024 · 1 revision

Virtual Furnace Item

Virtual Furnace Items allow players to walk around with a portable furnace.
Simply right clicking whilst holding the item will open up a furnace a player can use anywhere.
The furnace hiding inside the item will continue ticking as long as the server is running.

This is a bit more complicated so let's break it down.
Syntax:

[a] [(glowing)] virtual furnace item as %itemtype% with (inventory|gui) name %string% [[and ]with cook speed multiplier %number%] [[and ]with fuel speed multiplier %number%]

Glowing = If the item will glow like an enchanted item.
item as ItemType = This will determine the item we use as our virtual furnace item. This accepts any item type Skript allows, including items with names, lore, etc.
gui Name = This will be the name that appears in the GUI when the player opens their virtual furnace.
Cook speed multiplier = This optional value will determine the cook speed multiplier for this virtual furnace. Default value = 1.0, meaning it will cook based on your recipes. IF you use a value such as 2.0, the item will cook twice as fast as determined by your recipe.
Fuel speed multiplier = This optional value will determine the fuel speed multiplier for this virtual furnace. Default value = 1.0, meaning the fuel will burn as fast as determined by your registered fuel. IF you use a value such as 2.0, the fuel will burn twice as fast.
Example:

set {_a} to a diamond named "MyPortableFurnace" with lore "Right-Click to access your personal furnace"
set {_b} to a glowing virtual furnace item as {_a} with gui name "Portable Furnace"
set {_c} to a glowing virtual furnace item as {_a} with gui name "Portable Furnace (x2)" with cook speed multiplier 2.0
give player {_b}
give player {_c}
Clone this wiki locally