Is Fuel (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.5.1

Syntax

%itemtypes% (is|are) [furnace] fuel

Description

Checks whether an item can be used as fuel in a furnace.

Examples

on right click on furnace:
	if player's tool is not fuel:
		send "Please hold a valid fuel item in your hand"
		cancel event

View source