public interface VillagerMeta extends MetadataPart
| Modifier and Type | Interface and Description |
|---|---|
static class |
VillagerMeta.Hat
Represents the hat render mode for villager textures.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull VillagerMeta.Hat |
hat()
Determines how the villager hat should render
("none", "partial", "full")
|
static @NotNull VillagerMeta |
of(@NotNull VillagerMeta.Hat hat)
Deprecated.
Use
villager(Hat) instead |
static @NotNull VillagerMeta |
villager(@NotNull VillagerMeta.Hat hat)
Creates a new
VillagerMeta instance
from the given values |
type@Contract(value="_ -> new") @NotNull static @NotNull VillagerMeta villager(@NotNull @NotNull VillagerMeta.Hat hat)
VillagerMeta instance
from the given valueshat - The hat render modeVillagerMeta@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="2.0.0") @Contract(value="_ -> new") @NotNull static @NotNull VillagerMeta of(@NotNull @NotNull VillagerMeta.Hat hat)
villager(Hat) insteadVillagerMeta instance
from the given valueshat - The hat render modeVillagerMeta@NotNull @NotNull VillagerMeta.Hat hat()