Bed Rule (Expression) — Skript

Addon: Skript · Category: Expression

Syntax

[new] bed rule with sleep [rule] %bedrulerule% (,|[and] with) [set] spawn [rule] %bedrulerule% [explode:with explosion[s]] [[and] with error [message] %component%]

Description

Creates a bed rule with sleep, spawn, and optional explosion settings.

Examples

set {_rule} to new bed rule with sleep rule monsters and with spawn rule spawn

View source