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