Villager Type (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.10

Syntax

[the] villager type of %livingentities%

Description

Represents the type of a villager/zombie villager. This usually represents the biome the villager is from.

Examples

set {_type} to villager type of {_villager}
villager type of {_villager} = plains
set villager type of event-entity to plains

View source