Insert Entity Storage (Effect) — Skript

Addon: Skript · Category: Effect · Since: 2.11

Syntax

(add|insert) %livingentities% [in[ ]]to [the] (stored entities|entity storage) of %block%

Description

Add an entity into the entity storage of a block (e.g. beehive). The entity must be of the right type for the block (e.g. bee for beehive). Due to unstable behavior on older versions, adding entities to an entity storage requires Minecraft version 1.21+.

Examples

add last spawned bee into the entity storage of {_beehive}

View source