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