Module net.minestom.server
Interface ChickenVariant
public sealed interface ChickenVariant
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final 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 TypeMethodDescriptionnet.kyori.adventure.key.Key
assetId()
static ChickenVariant
create
(ChickenVariant.Model model, net.kyori.adventure.key.Key assetId) static DynamicRegistry
<ChickenVariant> Creates a new instance of the "minecraft:chicken_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:chicken_variant" registry containing the vanilla contents.- See Also:
-
model
ChickenVariant.Model model() -
assetId
net.kyori.adventure.key.Key assetId()
-