Interface SpawnEggMeta

    • Method Detail

      • getSpawnedType

        @Deprecated
        @Contract("-> fail")
        EntityType getSpawnedType()
        Deprecated.
        different types are different items
        Get the type of entity this egg will spawn.
        Returns:
        The entity type. May be null for implementation specific default.
      • setSpawnedType

        @Deprecated
        @Contract("_ -> fail")
        void setSpawnedType​(EntityType type)
        Deprecated.
        different types are different items
        Set the type of entity this egg will spawn.
        Parameters:
        type - The entity type. May be null for implementation specific default.