Interface ChickenVariant
public sealed interface ChickenVariant
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NotNull Codec
<RegistryKey<ChickenVariant>> static final RegistryKey
<ChickenVariant> static final NetworkBuffer.Type
<RegistryKey<ChickenVariant>> static final Codec
<ChickenVariant> static final RegistryKey
<ChickenVariant> static final RegistryKey
<ChickenVariant> -
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.key.Key
assetId()
static @NotNull ChickenVariant
create
(@NotNull ChickenVariant.Model model, @NotNull net.kyori.adventure.key.Key assetId) static DynamicRegistry
<ChickenVariant> Creates a new instance of the "minecraft:chicken_variant" registry containing the vanilla contents.@NotNull ChickenVariant.Model
model()
-
Field Details
-
REGISTRY_CODEC
-
NETWORK_TYPE
-
CODEC
-
WARM
-
COLD
-
TEMPERATE
-
-
Method Details
-
create
@NotNull static @NotNull ChickenVariant create(@NotNull @NotNull ChickenVariant.Model model, @NotNull @NotNull net.kyori.adventure.key.Key assetId) -
createDefaultRegistry
Creates a new instance of the "minecraft:chicken_variant" registry containing the vanilla contents.- See Also:
-
model
-
assetId
@NotNull @NotNull net.kyori.adventure.key.Key assetId()
-